/srv/irclogs.ubuntu.com/2015/10/28/#ubuntu-unity.txt

kgunnSaviq: still rotating & still seeing apps launch as mobile mode with that silo rebuild02:43
=== nudtrobert1 is now known as nudtrobert
=== nudtrobert1 is now known as nudtrobert
=== nudtrobert1 is now known as nudtrobert
tsdgeoscimi: please remember of https://code.launchpad.net/~aacid/unity8/dash_reset_instead_of_fatal/+merge/27436308:39
=== vrruiz_ is now known as rvr
Saviqgreyback__, hey, had to pull Alan's branch from the silo, it doesn't build10:19
greyback__Saviq: conflicts? or ftbfs?10:20
Saviqgreyback__, the latter10:20
=== greyback__ is now known as greyback
greybackok10:20
Saviqah, Alan's just pushed a commit, let's see what ci says10:20
Saviqgreyback, ↑10:21
greybackack10:21
Saviqgreyback, I also had to add --fail-missing back to qtmir-gles, not happy about it but meh, we'd need a custom target to install just the qpa plugin10:24
greybackok10:25
* tsdgeos finds and interesting bug/behaviour regarding bindings and properties10:33
tsdgeoswill put a test up for people to confirm i'm not seeing ghosts in a minute10:33
tsdgeosCan you guys try http://paste.ubuntu.com/12988339/ and confirm that rect2 width is evaluated on every resize10:36
tsdgeosbut that if you change cardWidth from var to real it is not evaluated on every resize anymore?10:36
tsdgeos@unity: ↑10:36
mzanettitsdgeos, confirmed10:38
mzanettidon't ask me why tho10:38
tsdgeosmzanetti: i guess the engine stores var as an object and every "set" is a different object which maens the object changed even if the inner value is the same10:39
tsdgeosrandom guess10:39
tsdgeosthis is good since this fix makes lots of reevaluations on the dash go away10:40
mzanettinice!10:41
mzanettiyes, it does sound like it can't do an optimization with var10:41
mzanettiand iirc I've read somewhere that using property var is said to be slow, likely for this reason10:41
=== nudtrobert1 is now known as nudtrobert
Saviqtsdgeos, nice one10:53
Saviqgreyback, ok, put the test harness back, ci liked it10:56
greybackthanks!10:56
cimimmm am I missing something? I just reinstalled rc-proposed on my krillin, and cannot enable developer mode from the system settings10:57
cimiI tap enable, but if I close and reopen system settings is always off10:58
Saviqcimi, any interesting logs in ~/.cache/upstart/*settings* ?11:01
cimiSaviq, I am flashing with --developer-mode, impatient11:02
Saviqcimi, --developer-mode only enables adb-when-locked, really11:02
cimiah11:03
Saviqso likely won't have any impact11:03
cimiSaviq, it actually enabled adb out of the box11:10
cimiyay \o/11:10
Saviqright11:10
* Saviq loves adt-run11:19
Saviqadt-run unity8 -o vivid --setup-commands "apt install --yes software-properties-common; apt-add-repository --yes --enable-source ppa:ci-train-ppa-service/landing-021; apt update" --- schroot vivid-overlay-amd64-shm11:19
Saviqadt-run unity8 -o xenial --setup-commands "apt install --yes software-properties-common; apt-add-repository --yes --enable-source ppa:ci-train-ppa-service/landing-021; apt update" --- schroot xenial-amd64-shm11:19
Saviqlo and behold, qml tests results from a silo :)11:19
SaviqI only need moar memories11:24
Saviqcimi, om26er just reported adb issues on arale on the phone ML, maybe you can relate?11:33
cimiSaviq, ty11:37
Saviqdandrader, Josh's new-fix-upsidedown needs a re-review after resubmitting, but it seems it also introduces a regression - phone app forces external display to rotate11:49
dandraderSaviq, interesting..11:49
Saviqdandrader, could you please work on a test for this, so we don't miss it?11:50
Saviqor well, you can work on a fix, too, it's ~unity-team by now anyway11:51
dandraderSaviq, Will talk to Josh11:51
Saviqtx11:51
SaviqI'd rather not pull it out of the silo because it's become prereq for others by now11:52
Saviqbut it might happen11:52
Saviq/away11:52
dandraderSaviq, ah, that explains it :)11:53
cimiSaviq, anything in particular to look in silo 21?11:54
cimiI've been testing it around lately, found minor things on my preview branches, but most likely better to fix later separately11:55
=== alan_g is now known as alan_g|lunch
=== dandrader is now known as dandrader|afk
attentegreyback_: hey, have you had a chance to look at https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/141765514:02
ubot5Launchpad bug 1417655 in unity8 (Ubuntu) "Support multiple surface applications" [Medium,Triaged]14:02
=== alan_g|lunch is now known as alan_g
=== dandrader|afk is now known as dandrader
dandraderattente, changes are needed in multiple places for that. for qtubuntu we have this https://code.launchpad.net/~albaguirre/qtubuntu/use-mir-surface-apis/+merge/26722814:16
greyback_attente: hey, we have branches up which add basic support for that. But when I say basic, I mean basic. We need to add more advanced window management yet, which is next thing on my list14:17
attenteok, will it also fix it on the phone? because right now creating a second surface restarts the unity 8 session14:21
dandraderattente, there's https://code.launchpad.net/~dandrader/unity8/multiSurfaceApp/+merge/271613 for that14:22
Saviqcimi, well, any bugs/branches from https://requests.ci-train.ubuntu.com/#/ticket/56414:22
Saviqattente, "fix" in the sense that unity8 won't crash, yes, "supported", no14:23
Saviqattente, phone is supposed to be single surface per app, per design14:23
attenteSaviq: i'm wondering how that's supposed to work with gtk apps which need to be able to pop up menus and dialogs14:28
Saviqattente, not really planned to be supported on the phone, again, per design14:32
Saviqattente, ultimately, when we have the window management code for desktop, we might allow some of that working on the phone, too, but that's definitely not a priority14:35
Saviqattente, apps on phone are meant to be confined to a single, full-screen window, so there's no real reason why they couldn't just render everything internally14:36
attenteSaviq: ok, i guess we'll try to fake it then14:36
Saviqattente, toolkits, if they want to be cross-platform, need ultimately gain a single-surface mode, where they don't split the UI into multiple surfaces, it's not like we're the only mobile platform putting that requirement on apps14:40
attenteSaviq: yeah, that's not unreasonable14:41
attentei'll try to make do14:41
josharensongreyback_: If you have a minute, can you take a look at the changes to ShellApplication.cpp in https://code.launchpad.net/~josharenson/unity8/slim_greeter_real_lightdm and let me know if you think that will present any multi monitor issues?14:53
josharensongreyback_: I know its a hack, but setting fullscreen wasn't working14:54
greyback_josharenson: am curious why fullscreen wouldn't just work15:00
josharensongreyback_: I suppose that is a better question...15:00
kgunnanyone else notice getting bt mouse to connect suddenly got wonky in latest image ?15:07
kgunnor just me15:07
greyback_josharenson: fullscreen should just be reading the geometry of the screen the window is on, and setting the window size to that geometry. As qtmir is the source of the screen geometry, it may have a problem. Can you investigate further?15:08
josharensongreyback_: sure15:08
Saviqmterry, there are DesktopStage failures in silo 21 http://pastebin.ubuntu.com/12990194/15:15
Saviqor mzanetti ↑?15:16
mterryhrm15:16
mterrymight be good to determine which branch did that15:16
kgunnmzanetti: ltinkl ok, the no buttons issue is better...but then i got this (with silo21)15:16
kgunnhttp://www.youtube.com/watch?v=NQi33Jpv3oQ15:16
mzanettimterry, hmm... thsoe are the ones I had after my merge15:17
kgunnmight have been the rotation15:17
mzanettihmm15:17
mzanettikgunn, will look into it... as a temp workaround you probably want to wipe the windowstatestorage15:17
mterrymzanetti, oh shoot, I thought the test failure was in the test added by my merge, so that's all I checked after doing my rebasing15:17
ltinklkgunn, looks like an issue with the spread15:18
ltinklkgunn, can you alt-tab to it?15:18
mzanettiltinkl, no... the spread is fine... the windows is located somewhere outside the screen15:18
mzanetti-s15:18
ltinklmzanetti, aha, so the storage15:18
mterrySaviq, mzanetti: I will look at that test failure today.  I assume it isn't urgent?15:18
kgunnmzanetti: ltinkl where is the storage ? could i inspect ? and confirm it's offscreen ?15:19
mzanettimterry, I thought those were were the ones you added :/ my bad I guess15:19
mzanettikgunn, sqlite3 ~/.cache/unity8/windowstatestorage.sqlite15:19
mzanettikgunn, call, ".tables" to see the available tables15:20
mzanettiand then "select * from <table>"15:20
mzanettinot sure what the name is... I think it's state15:20
ltinklmzanetti, ew, why do we store the config in ~/.cache? :)15:20
Saviqmterry, well, getting a silo in a releasable state is generally urgent, yes ;)15:20
* ltinkl was looking into ~/.config15:20
mzanettiltinkl, because its not a config15:20
ltinklright, you can erase it15:21
=== JMulholland_ is now known as JMulholland
=== JMulholland_ is now known as JMulholland
Saviqjosharenson, dandrader, did you talk about the rotate-external-screen issue?15:29
Saviqkgunn, oh btw, I'm not sure what you meant by "still seeing apps launch as mobile mode"15:29
dandraderSaviq, not yet. think he just got online15:31
kgunnSaviq: well, they launch full screen, and they have no buttons present in the panel - but that seems fixed now15:31
kgunnin silo 2115:31
josharensonSaviq: no, but I was planning on looking into it today. I don't have a BT keyboard/mouse because the post office lost mine and was going to buy one today15:31
Saviqkgunn, right, that might've been due to missing qtmir rebuild15:31
dandraderSaviq, still fighting with my nexus 7. could not reproduce no a laptop with fake orientations15:32
Saviqack15:32
kgunnSaviq: happy to consider that fixed...now just gotta stop that rotation :)15:33
Saviqack15:34
Saviqhmm /me goes to xenial then15:40
kgunnmzanetti: actually it was 'geometry' and curious...15:40
kgunnshould those values change as i click ?15:40
mzanettikgunn, no, only when you close a window15:40
kgunne.g. i can rerun select *15:40
mzanettihad a fight over it with daniel :D I wanted to save them all the time at first, but he didn't approve the branch :D15:41
kgunnmzanetti: fwiw dash showing geom of 0 0 0 015:41
Saviqoups15:41
mzanettiyeah... there's something going on...15:41
Saviqwonder how that happened15:41
mzanettikgunn, if you happen to find a way to reproduce, that'd be great15:41
mzanettiI'll dig into it15:41
kgunnk, will continue to break things15:41
mterrymzanetti, Saviq: looks like lp:~unity-team/unity8/lp1475678.surface-occlude is the branch that broke the DesktopStage tests16:18
kgunnmzanetti: yikes, i delete the windowstorage.sql and i still have no dash16:18
kgunnit's acting the same way16:18
Saviqdednick, ↑16:18
Saviq↑↑rather16:18
dednickmterry: where is it broken? looking at the silo build16:21
mterrydednick, running xvfbtestDesktopStage16:22
Saviq@unity I think I saw someone mention broken kinetic scrolling16:23
Saviqwho was that?16:23
Saviqin spread16:23
kgunnmzanetti: btw, this is odd... http://www.youtube.com/watch?v=yaSekyLd0bk16:24
kgunni see scopes in the top left corner show up, if i kill dash when it's in this state16:24
dandraderSaviq, there's a bug about it16:25
Saviqdandrader, oh good16:25
dandraderSaviq, greyback_ is on it I think16:25
Saviqright16:25
* Saviq thought the touch compression could do it, but doesn't seem like it16:26
greyback_nope, is something else16:26
greyback_dunno what yet16:26
dandraderSaviq, https://bugs.launchpad.net/qtmir/+bug/151057116:26
ubot5Launchpad bug 1510571 in QtMir "[Phone] Kinetic scrolling is broken on the spread" [Undecided,New]16:26
Saviqdandrader, thanks16:26
kgunnok, positive i deleted the windowstorage.sql twice now...on the second time/reboot i now have dash back16:30
kgunnhmmm...clock rotates the shell also16:33
kgunnsilo2116:33
Saviqkgunn, likely same problem16:34
dednickmterry: eh. my branch passes tests, but i guess it's something in the merges16:35
=== dandrader is now known as dandrader|bbl
mterrydednick, I just tried your branch all by itself and it failed tests16:36
mzanettikgunn, right... is that how you reproduce it?16:36
* mzanetti tries16:36
Saviqdednick, mterry, FWIW https://code.launchpad.net/~ci-train-bot/unity8/16:36
mzanettithat totally does look like it's positioning it into 0,0,0,016:36
mterrydednick, try installing the other packages in the silo, they may be affecting you16:36
Saviqand `citrain host-upgrade 21` to get the dependencies (on vivid, or xenial)16:36
mterrySaviq, oh those pre-generated branches are nice16:37
mterrybookmarking16:37
Saviqcourtesy of bug #134853116:38
ubot5bug 1348531 in CI Train [cu2d] "Silo branches should be public" [Medium,Fix released] https://launchpad.net/bugs/134853116:38
greyback_naice16:38
mzanettiSaviq, nope... The issue is happening not only in spread, also in the launcher for example... and I've tried reverting the touch compression thing too. no avail16:40
mzanettiit still seems to work for apps tho... so must be qtmir it seems16:40
dednickmterry: :/ the u8 tests shouldnt be dependent on other packages, but i'll give it a go16:40
mterrydednick, I don't know, I'm just trying to guess why it fails for me but not you16:41
mterrydednick, I'm also on xenial16:41
Saviqmzanetti, yeah indeed16:43
dednickoh. i'm on wily16:44
mzanettigood you found out :)16:44
dednickmterry: ^16:44
dednickSaviq: silos not building branches for wily?16:44
mterrydednick, I don't know if that's THE difference though.  Note that the silo builds on vivid and xenial, but not wily16:44
Saviqdednick, wily is done'n'dusted16:45
dednicksigh. i just upgraded to wily a few weeks ago!16:45
mterrydednick, what took you so long!16:45
mzanettiI'm still on v+o :)16:45
* mterry shakes head16:45
mzanettiSaviq, how's xenial by now?16:45
* Saviq just did `do-release-upgrade -d`, need to reboot16:46
mterryI haven't rebooted yet either  :)16:46
mzanettiok, you guys reboot and I'll do the vivid dance16:46
* Saviq does, will see you on the other side o/16:47
dednick*grumble* /me upgrades16:48
Saviqseems it didn't kill me16:48
Saviqdednick, wily was never really a target for us, just a means to not grow tech debt for when we rebase on 16.0416:49
Saviqaah my terminal has a custom byobu icon now...16:51
dednickwell i guess i'll go eat something while this is happening. happy days16:51
mterrypmcgowan, I can confirm that silo 21 has odd shutdown dialog behavior.  I assume I'm the cause and am looking into it  :)16:56
mterrygreyback_, QInputEvent timestamps on Mir seem... unreliable.  Looks like it's 0 for the power button press that turns off the screen.  And looks like it's overflowing easily17:15
mterryI know there's a mismatch between Mir's 64bits and Qt's ulong17:16
greyback_dandrader|bbl: that mean anything to you ^^17:18
greyback_mterry: can you noticed if the mir input event timestamps are good or not?17:19
greyback_just to identify if the qtmir workaround for the 32/64bit timestamp is broken or not17:19
mterrygreyback_, I haven't checked the timestamps directly, but haven't noticed any odd behavior17:19
mterrygreyback_, the workaround of dividing by 1000000?17:20
greyback_mterry: yeah17:20
mterrygreyback_, Mir is in... nanoseconds?17:21
greyback_mterry: yeah17:21
mterrySo if we are stuffing into 32 bit... we'd only overflow in 2032?17:21
mterryBecause we use ms for Qt17:21
mterrygreyback_, pressing the power button twice in a row gave me timestamps of 345,399,000 and 1,640,287,00017:22
mterryshort delay between17:23
mterry(Qt timestamps) -- unless I'm reading qt timestamps wrong...17:23
greyback_yeah that's wrong17:23
mterryLet me double check my code that grabs the timestamp  :)17:23
greyback_mterry: can you set MIR_CLIENT_INPUT_RECEIVER_REPORT=log and compare the printed mir timestamps with qt's ones17:24
greyback_mterry: also set QT_LOGGING_RULES="qtmir.*.debug=true" to enable qtmir input event logging17:24
mterryk17:24
* greyback_ loves category logging17:25
mterryagreed17:25
mterrygreyback_, here's a log snippet:  this is me pressing the power button a few times, then holding it down: https://pastebin.canonical.com/142915/17:29
mterrygreyback_, the MIKE logs are true/false if it's an autorepeat event, then the next number is the timestamp Qt shows17:29
mterryIf my code isn't mucking it up17:29
greyback_mterry: looks wrong to me17:30
mterrygreyback_, yeah, Qt and Mir aren't increasing at same rate17:31
greyback_timestamps should not be so huge17:31
greyback_I thought the qt timestamps are to start at 0 at program start too17:31
mterrygreyback_, it seems to hit 0 multiple times for me17:32
greyback_mterry: which means we overflowed17:33
mterrygreyback_, well it hits 0 back to back presses at the beginning17:33
greyback_mterry: what you testing on? pc?17:33
mterrygreyback_, mako17:33
mterrygreyback_, I'm not convinced my qt timestamp reporting isn't somehow bogus.  I'm using this code: https://code.launchpad.net/~mterry/unity8/shutdown-dialog-on-resume/+merge/27524017:34
mterrygreyback_, is there an easy way to test this without using a modified u8?17:35
greyback_mterry: yes. If you can print the timestamps in qml, just create a simple qml file which does it. Then "stop unity8" and run that qml file instead of unity8 with MIR_SERVER_NAME=session-0 MIR_SOCKET=/run/mir_socket QT_QPA_PLATFORM=mirserver qmlscene yourQmlFile.qml17:36
mterrygreyback_, the timestamp isn't exported to qml17:37
mterryThat's why I had to export it myself in that branch17:37
greyback_ah boo17:38
greyback_well you can make a simple qml file that just imports that qml plugin17:39
mterrygreyback_, well that doesn't solve my problem of trying to get my code changes out of the way  :)  It might be good if qtmir had a test that confirmed qt timestamps were being exported as expected17:47
mterryJust a future improvement maybe.  I'm going to see if I can workaround needing Qt timestamps for now17:48
mterryElse I'll have to dig deeper17:48
greyback_mterry: we have to fix that, please log qtmir bug17:48
mterrygreyback_, oh for sure, if it's broken now, we have to fix it.  I'm just still trying to confirm it's actually broken17:49
greyback_mterry: the output you supplied has convinced me17:49
mterryYeah but my reporting code could mess it up.  I want a nice tight cpp test or something, without so many layers.  But I can file bug while we investigate17:50
greyback_mterry: we have tests in qtmir for the compression. but something not right17:51
* mterry has to run out for a sec, will file bug and look into cpp test when back17:51
=== alan_g is now known as alan_g|eod
=== dandrader|bbl is now known as dandrader
mterryOk am back18:43
mterrysaviq, fyi my shutdown-dialog branch is problematic / unreliable.  If you're looking to keep silo in releasable state, might make sense to drop that for now.  I'm setting to WIP until I can root-cause it18:47
Saviqmterry, ac19:03
Saviqk19:03
kgunnSaviq: so i just caught (by sight) my n7 reboot19:18
kgunnwhat were some logs beside syslog to look at? or capture19:19
Saviqkgunn, logcat, but not sure how/if it's possible to find the right moment19:38
mterrygreyback_, I think I found a source of timestamp confusion, and a possible fix.  Will file soon19:56
Saviqkgunn, btw, unity8 in silo21 rebuilt a few mins ago, should not rotate any more21:04
kgunnthank goodness21:06
kgunnsuper annoying21:06
=== greyback__ is now known as greyback
Saviqkgunn, those "Browser" and "Scopes" strings are splash screen22:32
Saviqin a 0,0,0,0 window22:33
Saviqspinner, too, just a different version of the splash screen22:33
kgunnfigured as much23:08

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