/srv/irclogs.ubuntu.com/2015/04/22/#ubuntu-unity.txt

=== timchen1` is now known as timchen119
Saviqmzanetti, I'm testing the silo for bug #1444949, why does the second touch even reach the app behind the launcher? it doesn't when you're not dragging?09:02
ubot5bug 1444949 in unity8 (Ubuntu) "Launcher reordering interrupted by second touch causes launcher confusion" [Medium,In progress] https://launchpad.net/bugs/144494909:02
Saviqs/for/wrt/09:02
mzanettiSaviq, yeah... we noticed that too... albert reported a bug for that too already09:02
mzanettinot fixed yet09:02
Saviqok09:03
Saviqit might even be a Qt issue, that touch-to-mouse conversion doesn't work when there's another touch in progress or something09:03
Saviqpstolowski, tsdgeos, any idea where bug #1447056 happens?09:53
ubot5bug 1447056 in unity8 (Ubuntu) "Favourite scopes forcefully refreshed when opened from Manage Dash" [Undecided,New] https://launchpad.net/bugs/144705609:53
tsdgeosSaviq: nope, i'd say scopes-shell since i don't think we have the hability to refresh a scope? unless it's the is the isActive property09:56
pstolowskiSaviq, tsdgeos most likely shell plugin, but i can't see why without further investigation. setActive seems innocent after a brief look09:59
tsdgeoshave i gone too far in the connect+lambda-ing =10:04
tsdgeos?10:04
tsdgeoshttp://paste.ubuntu.com/10865338/10:04
tsdgeosSaviq: mzanetti: ↑↑10:05
tsdgeoshmmm10:06
tsdgeosactually i need to redo those10:07
tsdgeosit's not guaranteed "this" will still be around when all that stuff finishes10:07
mzanettitsdgeos, yeah... careful with this10:08
Saviqtsdgeos, yeah exactly, when lambdas bitten us was because they don't get disconnected10:10
Saviqpstolowski, tsdgeos, FYI: bug #1447074 - dunno, maybe replace a string like CURRENT_QUERY in the canned url...10:30
ubot5bug 1447074 in unity8 (Ubuntu) "Need a way to pass current search query with a URL" [Undecided,New] https://launchpad.net/bugs/144707410:30
pstolowskiSaviq, is this because there is a delay between actually invoking the search after last keystrokes, so you still see old results?10:33
Saviqpstolowski, yeah10:34
Saviqpstolowski, you see the old Store icon, you continue typing, and click the old store icon10:34
pstolowskiack10:35
tsdgeosSaviq: but that's a bit "wrong"10:35
Saviqtsdgeos, what is?10:35
tsdgeoswhat if the new query would make the icon store disappear10:35
tsdgeoswould you still pass the new query to the old item?10:35
tsdgeosit works for the store, but what guarantees it'll work for something else?10:35
Saviqtsdgeos, trueth10:36
pstolowskiyes.. and i think this is really an edge case10:36
Saviqtsdgeos, but then, you're tapping on an item which is there before the new query completed10:36
MacSlowSaviq, the current failures on jenkins for my shell-rotation branch (build-dependencies) are to be expected?10:36
Saviqpstolowski, happens 100% times when I search for an app and go to the store then ;)10:36
tsdgeosotoh i guess the "old" item can be smart enough and do nothing or present a nice "error" if the new query is unprocessable by it10:37
SaviqMacSlow, where could it take the new require unity-api etc. from?10:37
pstolowskiSaviq, yeah, sure, i'm just saying it's not something that negatively impacts experience. and it reminds me of the idea we discussed long time ago about graying results out until search completes10:38
Saviqpstolowski, well, it does negatively impact my user experience because I have to re-type the last two characters ;)10:39
Saviqpstolowski, but agreed this is not a show-stopper10:39
MacSlowSaviq, hm...10:40
SaviqMacSlow, we've no support in CI for dependency chains10:41
SaviqMacSlow, and there's new unity-api required in the branch prerequisite to yours10:41
Saviqdednick, I have bug #1446846 to you since two of those are indicators, and you looked at the autopilot stability in any case10:46
ubot5bug 1446846 in unity8 (Ubuntu) "Three consistent autopilot test failures" [High,Triaged] https://launchpad.net/bugs/144684610:46
mhall119Saviq: wouldyou like me to create blueprints for these UOS sessions so that you can use them to track work items?10:47
mhall119or just add them to summit.u.c10:47
Saviqmhall119, I think pads will be enough10:48
mhall119ok10:48
mhall119Saviq: greyback can you register as attending the UOS so I can add you to these meetings?10:54
greybackok10:54
dandraderSaviq, you there?10:54
Saviqdandrader, yup10:54
Saviqmhall119, doing10:54
dandraderSaviq, When I press my kdb's left "windows/start" key, Qt gets Qt::Key_Meta10:54
dandraderSaviq, not Super_L10:55
greybackmhall119: done10:55
dednickSaviq: ok10:55
dandraderSaviq, btw, what key should generate Qt::Key_Super_L, if any?10:56
Saviqmhall119, done10:56
mhall119thanks guys10:56
Saviqdandrader, windoze10:56
dandraderSaviq, !?10:57
Saviqdandrader, but on desktop it's taken over by unity10:57
Saviqdandrader, the one with the windows logo10:57
Saviqdandrader, http://en.wikipedia.org/wiki/Super_key_%28keyboard_button%2910:57
dandraderSaviq, ah, so Unity7 maps Super_L to Meta?10:57
Saviqdoes it?10:57
MacSlowSaviq, how "libunity-api-dev (>= 7.97)" managed to get in there I don't know 7.96 works just fine. But that's just part of the problem.10:58
greybackSaviq: dandrader: on my mac, the left apple key is Super_L10:58
SaviqMacSlow, it should not work fine, there's new API in there10:58
Saviqgreyback, yeah, left Windows key is Super_L here, too10:59
greybackdandrader: sure you're not doing some xmodmap key re-mapping?10:59
SaviqMacSlow, https://code.launchpad.net/~dandrader/unity-api/shellRotation/+merge/24221211:00
SaviqMacSlow, `apt-cache policy libunity-api-dev` ?11:00
MacSlowSaviq, *sigh* I've been using build.sh for too long11:00
Saviqdoesn't really matter11:00
Saviqbuild.sh manages that11:00
Saviqyou likely have the correct version from the demo-shell ppa11:01
Saviqmhall119, done11:01
MacSlowSaviq, apt-cache reports none installed and install-candidate 7.97+bzr168+1~ubuntu15.04.1 ... I thought I installed everything via .debs on the device11:02
SaviqMacSlow, that version is from demo-stuff PPA11:03
SaviqMacSlow, but it's only a build-depend11:03
Saviqso it won't be on your phone unless you build on it11:04
dandradergreyback, Saviq, I have a stock unity711:04
Saviqdandrader, why do you say "maps Super_L to Meta"?11:05
greybackdandrader: as a test, run "xev | grep -A 2 KeyPress" in a terminal, then tap your Windows key and see what it prints11:06
MacSlowSaviq, so what's the release-plan for libunity-api then... I don't think I can use the demo-stuff-ppa as a build-dependency :)11:06
greybackdandrader: that will at least show it is X which is munging your keys, not unity11:06
SaviqMacSlow, as every time in the past year, it will get released along unity8 in the same silo11:06
Saviqalong with qtmir, qtubuntu, ubuntu-keyboard, ubuntu-ui-toolkit, which are all interdependent11:07
MacSlowSaviq, so the jenkins failure of my branch is something I've to accept for the time being?!11:08
SaviqMacSlow, yes11:10
willcookeYou know how the Automatic mode for U8 is based on # of kbs, # of mice etc - and it's hard coded in the QML11:13
Saviq???11:13
willcooke:D11:13
Saviqmzanetti, ↑11:14
Saviqyeah what about it?11:14
willcookeWhat would be super nice is if those numbers are moved from hard coded values to settings11:14
* mzanetti nods11:14
mzanettiurgent?11:14
willcookeDo I propose a new User Story and get it in your backlog11:14
willcookemzanetti, nahhh11:14
Saviqwillcooke, mzanetti, waiteth11:14
willcookejust want to know how I go about formally requesting it11:15
dandradergreyback, it does say Super_L11:15
Saviqit's going to be the scenario selector's responsibility11:15
mzanettiwillcooke, Saviq: ack. will do that when I prepare that branch for landing into trunk11:15
mzanettiSaviq, there's a card for that inputinfo stuff already11:15
Saviqno point in making it a setting?11:16
Saviqdandrader, I see you put the fake timers inside the test itself, I thought you'd put it in a shared bit in tests/utils for future use?11:16
willcookeso, end goal here is that the new snappy desktop could be installed on that x86 tablet Ive got for demos and it would switch with no hacks required from me11:16
dandraderSaviq, can be moved to separate files when needed11:16
Saviqdandrader, k11:16
Saviqunless we forget ;)11:16
willcookethe issue is that, because it's stupid, we can't say kbds > 0 because in their wisdom, they made the power button and the vol up/down button an entire keyboard11:17
willcookeya rly11:17
Saviqyeah, obviously our decision making will need to be smarter11:17
Saviq(hint hint: it should be based off of mice, not keyboards)11:18
Saviq(isn't it?)11:18
greybackdandrader: hmm, then something higher than x remapping that key. not sure what that might be tbh11:19
willcookeSaviq, good call11:19
willcookeoh11:19
dandradergreyback, Saviq, Qt itself is doing it: "Qt::Key_Meta -> On OS X, this corresponds to the Control keys. On Windows keyboards, this key is mapped to the Windows key."11:19
willcookeI wonder...11:19
Saviqgreyback, didn't he just say it *does* say Super_L?11:19
Saviqdandrader, well, yeah, Meta is a catch-all likely11:20
dandraderSaviq, that was with "xev | grep -A 2 KeyPress"11:20
Saviqdandrader, yes, and I get a Super_L there, too, where do you get Meta for it?11:20
greybackSaviq: yeah, but he was reporting Qt said Meta key was pressed.11:20
Saviqah11:20
dandraderSaviq, so Qt gets a native Super_L event and send a Qt::Key_Meta to the application11:21
Saviqdandrader, interestingly I used Super_L when testing the new kernel with the new keycode, and that worked?11:21
greybackand in the xcb plugin, XC_Super_L maps straight to Qt's SuperL11:21
Saviqdandrader, does it send just the Meta or both Meta and Super_L?11:21
Saviqbecause for sure Super_L worked for me on the phone at least11:22
dandradergreyback, Saviq, http://paste.ubuntu.com/10865549/11:23
dandradergreyback, Saviq, that's ./plugins/platforms/xcb/qxcbkeyboard.cpp11:23
Saviqok so it's xcb11:23
greybackdandrader: yuk11:23
dandraderSaviq, no, it sends only Meta11:23
Saviqyeah, yuk11:23
Saviqbut11:24
Saviqwhat is rmod_masks.meta11:24
greybackdandrader: sure that code path being hit? That's only if super used as meta modifier, which is language/settings specific11:24
Saviqlooks kinda configurable11:24
Saviqyeah, /me remembers a whole set of options in the keyboard settings panel, not there now11:25
dandradergreyback, no, but that's the only place I found where you have Meta and Super_L together11:26
Saviqdandrader, yeah, that's a configurable bit, you (a user) can decide to have it mapped to Meta11:26
greybackSaviq: yep, I'm struggling to find it. There was definitely an option to remap super key to a meta key something11:26
=== MacSlow is now known as MacSlow|lunch
Saviqdandrader, there was a menu like so before http://askubuntu.com/questions/19558/what-are-the-meta-super-and-hyper-keys11:28
Saviqnot sure where it's gone11:28
mhall119mzanetti: can you register as attending the UOS too so I can make you the host of http://summit.ubuntu.com/uos-1505/meeting/22440/demo-unity-8-in-desktop-mode/ ?11:33
Saviq/food11:38
mzanettimhall119, takes a bit until it accepts that I've registered to UOS11:39
mhall119mzanetti: if you registered for the sprint in LP yes, it has to wait for the cron job to import it11:50
mhall119mzanetti: but you're all set now, thanks11:50
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== MacSlow|lunch is now known as MacSlow
Saviqdandrader, you need to fix your editor to strip trailing whitespace on save ;)13:21
dandraderyeha13:23
tsdgeosSaviq: mzanetti: greyback: hmmmm, so i am doing the "show splashscreen without spinner if on spread but not running and no screenshot" part and realized for that i need to have a property that tells me "this is fake" which we don't have as a state, we have starting, running, suspended, stopped. I could easily add a new state to those but those live in qtmir and means deciding we'll inject the "fake" apps at the qtmir level now instead of when doing the13:40
tsdgeoswork, alternatively i can put it in unity8 with a comment saying to decide it later or i can "abuse/reuse"  the stopped state. Opinion?13:40
mzanettiI think stopped is what it ism no?13:42
mzanettis/ism/is,/13:42
Saviqyeah that's what "I ran the app but it died" means13:42
SaviqI think13:43
mzanettiyes13:43
greybackyeah, stopped means the app's process was OOM killed13:43
mzanetti"I haven't ran the app" is, it doesn't exist in the AppMan model13:43
Saviqyup13:43
Saviqtsdgeos, ↑13:43
greybackone could abuse the "stopped" state to cover those not-yet-started apps13:44
mzanettigreyback, IMO that's not even abusing it13:44
mzanettiit's exactly what it is is for13:44
tsdgeoswell13:44
tsdgeosit is and it is not _:D13:45
tsdgeosthe docu says13:45
tsdgeosit was OOM killed and stuff13:45
tsdgeosin this case it would be13:45
tsdgeosi rebooted and has not even started13:45
tsdgeosbut ok, i'll use that one13:45
mzanettiok. should be "it was killed by OOM or a reboot"13:45
greybackmzanetti: yeah, I debated writing "abuse"13:45
greybackit wasn't the initial intention anyway13:46
greybackand a "stopped" state does imply it was once running13:46
Saviqdoes it13:46
mzanettiyeah.13:46
Saviqit's a state, it's stopped13:46
mzanetti:D13:46
Saviqyou could very well say "notRunning"13:46
greybackstopped != "not running"13:46
* Saviq disagrees13:47
mzanettianyhow... we agree that tsdgeos can go ahead with the stopped one :D13:47
Saviq;)13:47
SaviqCyanogen in "strategic partnership" with Microsoft...13:48
tsdgeosyep13:49
tsdgeosthey're going to ship all the apps13:49
seb128hey there14:16
seb128how would things like changing user fonts work under unity8?14:17
seb128is that something worked on?14:17
seb128or having a bug/blueprint for tracking purpose?14:17
seb128(on X for e.g GTK there is a xsettings set that GTK reads)14:18
Saviqseb128, more of a UITK question14:26
Saviqseb128, if not a Mir one, even, depending if they want it there14:26
Saviqor both..14:27
Saviqdefinitely worth talking about14:27
greybackseb128: yeah would need some replacement for xsettings. gtk on wayland will have the same problem, so they must have a solution made somehow14:29
mterryMacSlow, do you have an encrypted home dir?14:37
MacSlowmterry, not anymore14:38
mterryMacSlow, excellent.  Then one option for you if you have down time is investigate bug 143536414:38
ubot5bug 1435364 in unity8 (Ubuntu) "Lockscreen unresponsive after starting app from QtC or cmdline" [High,Triaged] https://launchpad.net/bugs/143536414:38
dandraderMacSlow, if you're looking for reviews: https://code.launchpad.net/~dandrader/unity8/autoInstallTouchRegistry/+merge/25672614:38
dandraderMacSlow, would offload tsdgeos14:38
tsdgeosdandrader: isn't it crashing?14:38
dandradertsdgeos, that branch?14:39
tsdgeosi think that's what qmluitests said14:39
tsdgeoslet me check14:39
tsdgeosyeah https://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-vivid/736/console14:40
tsdgeosQWARN  : tst_TouchRegistry::removeOldUndecidedCandidates() [TouchRegistry] Candidate for touch 0 defaulted!14:40
tsdgeosQFATAL : tst_TouchRegistry::removeOldUndecidedCandidates() Received signal 1114:40
tsdgeosFAIL!  : tst_TouchRegistry::removeOldUndecidedCandidates() Received a fatal error.14:40
dandradertsdgeos, yeah, just saw that.14:40
MacSlowmterry, dandrader: I'll look at dandrader's branch first... since the QtCreator mount issue seems to need some preparation setup to reproduce14:56
mterryMacSlow, yeah no worries14:56
mterryMacSlow, I won't assume you're looking into it until you tell me so  :)  Thanks for consideringn it14:57
MacSlowmterry, sure14:58
sidi_What exactly does plugins/unityshell/ contain?15:15
=== dandrader is now known as dandrader|afk
sidi_is it the UI with a search bar on the top left corner?15:18
Saviqsidi_, I'm not familiar with the unity codebase, but yes, the dash (press super/windows key), launcher, the top panel with indicators etc., all that is a compiz plugin15:37
seb128Saviq, greyback, thanks15:39
Saviqgreyback, got a pointer to scancode → qt key mappings?16:03
greybackSaviq: qtbase/src/plugins/platforms/xcb/qxcbkeyboard.cpp if you're talking X1116:05
Saviqyeah good enough16:05
Saviqtx16:05
greybacknp16:05
Saviqok this is bad/weird16:07
* Saviq getting some crazy key code ;(16:08
Saviqdandrader|afk, we seem to have a problem, silo 25 has your branch built, but I'm getting some crazy key id (269025111, correct would be 16777299), even though native scan code looks correct - 133 for Super_L...)16:13
* Saviq flashing from scratch16:13
Saviqgreyback, any idea ↑?16:21
greybackSaviq: not a clue16:24
Saviqthe bad value is like an order of magnitude wrong...16:26
=== dandrader|afk is now known as dandrader
dandraderSaviq, should have stayed with the Home_Key... :)16:36
dandraderSaviq, 269025111 doesn't map to any key at all I think16:37
dandraderSaviq, should I start debugging or are you on it already?16:38
Saviqdandrader, couldn't stay with Home unless we ate that key, and then people connecting keyboards would lose Home16:39
greybackSaviq: maybe MIR_CLIENT_INPUT_RECEIVER_REPORT=log will output the raw key events that unity8 sees16:39
Saviqdandrader, evdev says: key event at 1429720683.794992, 133 (KEY_COPY), up16:39
Saviqgreyback, thanks, helpful16:39
Saviqdandrader, greyback, http://pastebin.ubuntu.com/10866894/16:41
Saviqthat looks fine, doesn't it...16:42
greybackSaviq: isn't 269025111 the bad value?16:42
Saviqgreyback, ah hmm, so maybe it's just a case that this is a not-mapped key_code16:43
Saviqsince power is   key_code: 26902506616:43
Saviq  scan_code: 11616:43
dandraderahh, 269025111 is an XKB value...16:44
Saviqin any case, evdev says it's key_copy, which is likely not mapped16:44
greybackSaviq: think mir uses this table: 3rd_party/android-deps/android/keycodes.h16:44
dandradergreyback, Saviq, there's a table in qtmir that maps XKB to Qt key codes16:45
dandraderin qteventfeeder.cpp16:45
SaviqETOOMANYTABLE16:46
SaviqS16:46
greybackdandrader: true, but something has to map raw events to xkb, and I think that's mir's job16:47
dandradergreyback, yes16:47
SaviqXKB_KEY_XF86Copy16:47
Saviqok there's nothing to say, I'm just getting some weird key code that's all16:48
Saviqdandrader, greyback, thanks, we're handling it in phablet16:49
Saviqdandrader, greyback, FYI: super in Mir == KEY_LEFTMETA17:08
Saviqor rather in raw events17:08
Saviqi.e. it's X11 that maps it to Super_L17:08
greybackSaviq: sounds wrong, isn't alt the meta key?17:08
Saviqgreyback, alt is alt17:09
greybackSaviq: yeah, ignore me17:09
Saviqdandrader, seems we forgot about distinguishing between tap vs. long press18:23
Saviq<om26er> Saviq, if i slowly swipe from the bottom dash is reset first and then the bottom edge works.18:24
Saviqdandrader, ↑18:24
dandraderSaviq, it's like its light. it blinks on press, not only after you release it18:25
Saviqom26er, ↑18:28
SaviqI'm not sure, could go for either18:29
om26erdandrader, aah, so we have to stick to this behavior done? unless something on the kernel is changed ?18:29
Saviqom26er, no, we could do what you say, dandrader's just making the point that it behaves like the light, you pressed it, so it acts18:30
Saviqom26er, and I get that argument, we'd need a designer here who actually thought this through18:31
Saviqboth make some sense18:31
om26erSaviq, yeah, I think we need an agreement on how the functionality is supposed to be.18:33
Saviqom26er, there's very little detail on that tbh18:34
Saviqom26er, there's nothing planned for long press for the button for now18:34
Saviqom26er, and I agree with Daniel that it follows the HW behaviour18:34
Saviqom26er, so I'd say we should go for what it does now and once we have someone that actually thinks this through UX/design wise, we'll revisit18:35
om26erSaviq, hmm, ok. I'll go with that.18:36
om26erSaviq,18:36
om26eroops18:36
om26erSaviq, whats the regression potential of this change, I see it barely changes any old code.18:40
om26erexcept for random crashes :)18:40
om26erSaviq, totally irrelevant: whats the progress on "scopes in right edge switcher" thing ?18:48
Saviqom26er, under design proto + testing18:51
Saviqom26er, very little, it really could only affect bottom edge in apps, but even that's very unlikely since we're only monitoring events and not accepting them18:52
om26erSaviq, ok. btw the bottom edge behavior is very annoying inside apps as well, a lazy drag is now very likely to bring back dash.18:59
om26eralso I have been just told that silos can land tomorrow as well. So probably would make sense to run this through design and if needed iterate on it tomorrow ?19:00
Saviqom26er, I see what you mean, we'll get on it straight away in the morning19:25

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!