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

=== handsome_feng is now known as Orz
=== Orz is now known as handsome_feng
tsdgeosSaviq: 2 days left, do https://code.launchpad.net/~aacid/unity8/suspend_screenshoting/+merge/257119 !08:49
Saviqtsdgeos, actually flashing my mako now to test08:49
tsdgeos\o/08:49
Saviqtsdgeos, SessionGrabber::screenshotGrabbed, don't want ::grabbed?08:50
Saviqtsdgeos, and re: shared ptr, yeah for the watcher08:51
tsdgeosSaviq: i think i prefer the extra verbosity there tbh08:53
Saviqtsdgeos, ah and now I get it I think, the watcher likely registers itself with the future that's on the other thread?08:54
tsdgeosSaviq: tbh i don't think i need a shared pointer in there08:55
tsdgeosi can just use a raw pointer as well08:55
Saviqtsdgeos, /me just looked at the whole .reset() logic and thought it maybe unnecessarily complex08:56
tsdgeosi just did it because the evil unity-api people created noise on my head about how raw pointers are evil08:56
tsdgeoslet me turn it into a raw pointer08:57
Saviq:D08:57
tsdgeosSaviq: pushed09:03
Saviqtsdgeos, tx, btw, you being in BlueFin it'd make sense to grab someone from design and show them this, ask if maybe they'd like some visual treatment09:12
Saviqtsdgeos, noticed a visual issue: splash → screenshot has no transition09:12
tsdgeoshmmm09:13
tsdgeosSaviq: what transition would you like there09:19
Saviqtsdgeos, I think we need a fade-in09:19
tsdgeosSaviq:  "Yeah, but at least it writes in ~/.cache/*unity8*/, not in ~/.cache/ directly ;)"09:20
tsdgeoswell the trello card said to write in .cache directly09:20
tsdgeosthus is what i did09:20
Saviqtsdgeos, I don't think the trello card went to such detail :)09:20
Saviqtsdgeos, so: show splash → fade screenshot in → drop splash → fade app in → drop screenshot09:20
tsdgeosoh it did09:20
tsdgeos"Screenshots should be stored on suspend, removed on user-close, in $cacheDir/app_shots/$app_id.png, and loaded from there by the Shell if app has not drawn to a surface yet."09:21
tsdgeosi guess you can argue that $cacheDir should be .cache/unity809:21
tsdgeostbh i don't care09:21
tsdgeosi'm just following wht other places of the code want09:21
tsdgeosif you want me to use QStandardDirs09:21
tsdgeosi'll do that09:21
Saviqtsdgeos, I just don't want to pollute ~/.cache/*09:22
Saviqgreyback, https://code.launchpad.net/~unity-team/qtmir/add-qpa-version-depends/+merge/25786609:44
greybacklooks reasonable, testing..09:46
dandraderSaviq, that's new. adding the ppa and doing dist upgrade always worked10:38
Saviq<Saviq> dandrader, sure, because dist-upgrade upgrades everything10:42
Saviq dandrader, but if you `apt-get install unity8`, it will only upgrade unity8 and explicit deps10:42
Saviqdandrader, without those explicit deps we might end up in a situation where, say, ubuntu-keyboard gets released into distro, but unity8 is held back for whatever reason10:43
Saviqand people will dist-upgrade ubuntu-keyboard and find stuff broken10:44
Saviqdandrader, so we really need to remember to encode real dependencies between packages10:47
dandraderSaviq, and what dependency tree (or mesh) do you suggest?10:49
Saviqdandrader, depends on what reality is10:49
Saviqdandrader, if qtubuntu breaks unity8, it should say so, same for ubuntu-keyboard, if either unity8 or qtubuntu breaks it, it should have a Breaks10:50
Saviqor10:50
Saviqif ubuntu-keyboard depends on qtubuntu or unity8 at certain versions10:50
Saviqthen u-k should have a Depends10:50
dandraderSaviq, so you wanna make ubuntu-keyboard depend on unity8?10:51
Saviqdandrader, no, but unity8 might Breaks: ubuntu-keyboard (<< foo)10:52
dandraderSaviq, unity8 will break the current dialer-app as it will be rotated to landscape and look horrible. should unity8 package also have Breaks: dialer-app << foo?10:53
dandraderSaviq, I'm not sure we should go down that road...10:54
Saviqdandrader, "look horrible" is ~fine10:54
Saviqdandrader, I'm talking about real breakage, like stuff won't boot / work10:55
Saviqdandrader, you can fix dialer by rotating to portrait, you can't fix a keyboard that doesn't launch10:55
dandraderSaviq, in that case I don't think there's a need to tie unity8 with ubuntu-keyboard10:56
Saviqdandrader, sure, I'm not saying there is, I'm just asking to consider it10:56
Saviqdandrader, basically what I'm saying is, consider what would be the impact of only intalling ubuntu-keyboard or only unity8, or only qtubuntu, or any two of those10:58
Saviqdandrader, and if in some case stuff gets really broken, we need to prevent it from happening10:58
dandraderSaviq, but how realistic are those scenarios?11:00
Saviqdandrader, quite11:00
Saviqdandrader, when publishing stuff from a silo, they land together in proposed11:00
Saviqdandrader, then, DEP-8 tests are run on them all11:00
dandraderSaviq, what's DEP-8?11:00
Saviqdandrader, autopkgtest11:02
Saviqdandrader, http://packaging.ubuntu.com/html/auto-pkg-test.html11:02
Saviqdandrader, if one of the DEP-8 tests fails for whatever reason, the rest of the packages will still migrate to the main archive11:03
Saviqdandrader, an image can be built in that situation and break people's phones11:03
Saviqdandrader, doesn't really matter what the reason might be for the migration to be delayed, it might even just be a test suite taking longer11:04
Saviqand appropriate dependencies are the only way to prevent that11:05
=== MacSlow is now known as MacSlow|lunch
tsdgeos@unity: what do you guys think about https://code.launchpad.net/~aacid/unity8/add_override/+merge/257865 ?11:46
sidihmkay so, my unity started playing up and crashing on start for no apparent reason (literally I just changed a static string I use for debug). I reverted my change, and it would then refuse to compile because of an alleged missing type in tests/gnome-session-manager.c (which I've obviously never touched). It would compile if I removed the tests/ subdir but immediately crash on launch. --advanced-debug showed various "graceful" shutdowns, sigaborts, si11:46
sidigsegvs, usually when the GMainLoop starts or CompWindow code is touched. Then, I reverted *all* my code back to the original lp branch you guys maintain. I removed my ~/staging dir. I purged /usr/local just in case. I reinstalled compiz and unity from the package manager. I even grepped for "staging" in /usr/bin in case the unity script still refers to something long gone. It still crashes every time i try to log in. What can that be?11:46
greybacktsdgeos: a +1 from me. I didn't know clang could do that12:05
tsdgeosgreyback: yeah it's great, it has some other stuff12:31
tsdgeoslike turning the correct 0 to nullptr12:31
tsdgeosand some other stuff12:32
greybacknice12:32
tsdgeosbut i find the override one to be most usefull really12:32
tsdgeossince 0 to nullptr is "mostly" "stylistic"12:32
tsdgeosand the override stuff is actually helping if stuff chnges12:32
=== MacSlow|lunch is now known as MacSlow
dandraderSaviq, so qtubuntu/shellRotation is backwards compatible12:39
=== dandrader is now known as dandrader|afk
SaviqMacSlow, saw my comment on your shellRotation MP?12:41
MacSlowSaviq, have not looked at shellRotation today... but will do later today12:41
Saviqk12:41
MacSlowSaviq, hm... that's odd... this missing _ for get_unity_pid() I did fix... I'll sort it out before my EOD12:43
=== dandrader|afk is now known as dandrader
Saviqmzanetti, tsdgeos, I'm not sure https://code.launchpad.net/~aacid/unity8/fixruntests/+merge/257745 is right... it means that a failed test will result in FAILURE, not UNSTABLE as today13:10
tsdgeosSaviq: it does, yes13:11
Saviqand so the job won't even collect the test results13:11
Saviqso we basically lose a state, we're only left with SUCCESS and FAILURE13:11
tsdgeosthat's right13:12
tsdgeosdidn't realize we were losing test results13:12
tsdgeosSaviq: it's a bit ugly though, it will help us when things go bad like now where we were not running the dbus-launch tests13:13
tsdgeosand it was all green13:13
tsdgeosi'm open to another sugestion on how to fix that if you have one13:13
tsdgeosor i can try to be smarter and see if it's xvfb-run failing or make failing13:14
tsdgeosand then return an error or not13:14
Saviqtsdgeos, we need to speak with fginther on what's the right approach there13:15
tsdgeosnot sure how fragile that is13:15
Saviqand what can jenkins do for us13:15
Saviqtsdgeos, so that's where the ~100 new tests come from?13:17
tsdgeosi guess13:17
tsdgeoswe had a dbus-launch'ed tests that just didn't happen13:18
tsdgeosswitched them to dbus-test-runner13:18
Saviqhttps://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-vivid/test/13:18
Saviqtsdgeos, yeah, on that note, I just dropped it all in the qmltest refactor...13:18
tsdgeosdropped what?13:18
Saviqtsdgeos, well, refactored QmlTest.cmake13:18
tsdgeosk13:19
tsdgeosi'll have a look13:19
Saviqtsdgeos, so your change from dbus-launch to dbus-test-runner died (but I did make the dbus tests work)13:19
tsdgeosSaviq: ok13:30
tsdgeosSaviq: pushed QStandardPaths stuff13:41
Saviqtsdgeos, tx13:42
=== dandrader is now known as dandrader|lunch
tsdgeosmterry_: is there a test we could add for https://code.launchpad.net/~unity-team/qmenumodel/nullify-state-variant/+merge/257902 ?15:41
tsdgeoslarsu: can you quick review https://code.launchpad.net/~unity-team/qmenumodel/nullify-state-variant/+merge/257902 ?15:49
larsutsdgeos: done. obivous. thanks.15:52
larsu*obvious15:52
tsdgeoslarsu: thanks :)15:57
tsdgeosSaviq: if you have some extra 5 minutes, maybe try https://code.launchpad.net/~mterry/unity8/cancel-pam-harder/+merge/251174 ?16:03
mterry_tsdgeos, sorry, was afk16:09
tsdgeosmterry_: no worries, we've already top approved it :D16:09
mterry_tsdgeos, yeah ok  :)16:10
tsdgeosmterry_: now we need someone to launch it though16:10
mterry_tsdgeos, it was a simple fix, barely test worthy16:10
tsdgeosmterry_: don't know, sure the fix is obvious, but having a test exercising the function may still be worth in case it breaks somewhere else, but yeah16:10
tsdgeosdon't worry16:10
tsdgeosjust get someone to silo it :D16:11
mterry_tsdgeos, fair16:11
mterry_tsdgeos, the interaction was complicated, I didn't track down the exact repo steps that a test would need16:11
mterry_tsdgeos, eh, it will get rolled up in the next qmenumodel release, eh?16:11
tsdgeosunderstand16:11
mterry_or do other teams not do release days like unity8?16:11
tsdgeosmterry_: i don't think qmenumodel release will happen unless we make it happen D16:12
tsdgeoslike last release is from 3 months ago16:12
tsdgeoshttp://bazaar.launchpad.net/~indicator-applet-developers/qmenumodel/trunk/changes/116?start_revid=11616:12
tsdgeosand it just had 1 change16:12
mterry_fair16:12
tsdgeosso i think we need to find someone to do it or do it ourselves16:12
=== dandrader|lunch is now known as dandrader
tsdgeosgreyback: dednick: https://bugs.launchpad.net/ubuntu/+source/qtmir/+bug/1450377 any idea?16:36
ubot5Ubuntu bug 1450377 in qtmir (Ubuntu) "can't load app purchase UI without a U1 account" [Undecided,Confirmed]16:36
dednicktsdgeos: not off-hand. would need to look into it16:38
Saviqtsdgeos, hehe fun, I managed to suspend browser before it drawn, so I had an appshot of the splash screen ;)16:52
tsdgeoslol16:52
Saviqtsdgeos, only issue I can see is activity indicator moving up'n'down between splashscreen and screenshot, but I won't block on that16:53
tsdgeosyeah i didn't really love that either, hard to fix though tbh16:53
tsdgeossince the activity indicator of the splash can be in various places16:54
tsdgeosthe other thing about the screenshot is weird16:54
Saviqwell, we tell it where to be, so in theory we could tell it over splash screen too16:54
tsdgeossince  property bool needToTakeScreenshot: has  sessionContainer.surface && d.surfaceInitialized16:54
Saviqs/splash screen/screenshot/16:54
Saviqtsdgeos, hmm, could it be that surface was initialized but not drawn to?16:56
tsdgeosmay be, not really deep on qtmir's knowledge at that level tbh16:57
Saviqgreyback, ↑?16:57
Saviqtsdgeos, I think we'll later need to tweak it so that if splash screen is shown at all (well, it will always be shown, right?) it will be shown for at least 200ms or something16:58
Saviqtsdgeos, because now the splash screen shows but is covered by screenshot before it reaches the screen16:59
Saviqbut again, not a blocker16:59
tsdgeosmakes sense16:59
* greyback back, was chatting17:03
greybackSaviq: tsdgeos: surface (i.e. the mirsurfaceitem) will only appear in qml when it has the first frame drawn17:05
Saviqwierd17:05
greybackbut it may be that the first frame mir gives us is not the frame the app drew17:06
greybackthat is a theory I have had for while now17:06
=== alan_g is now known as alan_g|EOD
greybackso I think there's a delaying timer before we hide the screenshot/splashscreen17:07
=== dandrader is now known as dandrader|afk
=== Malsasa is now known as Guest56336
=== Malsasa_ is now known as Malsasa
=== dandrader|afk is now known as dandrader
=== irsol_ is now known as irsol
=== davmor2_ is now known as davmor2
=== rsalveti_ is now known as rsalveti
mhall119Saviq: mzanetti: can one of you help answer http://askubuntu.com/questions/615917/unity8-development-install-troubleshooting/616561#61656120:58
=== \b is now known as benonsoftware

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