/srv/irclogs.ubuntu.com/2013/10/01/#ubuntu-unity.txt

Saviqfginther, yeah, that got added in http://bazaar.launchpad.net/~unity-team/libunity/trunk/revision/289?start_revid=29700:02
Saviqfginther, released as 7.1.1+13.10.20130918.1-0ubuntu100:03
Saviqfginther, libunity gets upgraded with unity8 tests 'cause we're requiring > 7.1.1 now, but unity-common does not get upgraded (should be a version dependency on libunity9 maybe?), so it bails out00:04
=== shiznix_ is now known as shiznix
kgunnthomi: sorry for the confusion...sounds like you've got a plan of attack at least00:34
kgunni'll check back in a bit00:34
thomikgunn: maybe. I have very little idea what I'm doing :-/00:34
fgintherSaviq, hey, are you around?01:04
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== jhodapp is now known as jhodapp|afk
tsdgeoswhat happened in CI07:06
tsdgeossuddenly it's all unstable again07:06
om26ertsdgeos, people are working on it07:21
tsdgeosgood :-)07:21
mzanettipaulliu: hi07:40
paulliumzanetti: hi07:41
mzanettipaulliu: I think the previews are mostly done: lp:~unity-team/unity8/fix-genericpreview/07:41
mzanettipaulliu: its all your branches merged together and adjusted07:41
mzanettipaulliu: feel free to give it a try and let me know if you find bugs07:42
paulliumzanetti: ok07:42
mzanettipaulliu: ah, one question: What is the difference between VideoPreviews and MoviePreviews?07:42
paulliumzanetti: VideoPreview is for mockvideo07:43
mzanettipaulliu: afaics we don't use the VideoPreview at all any more07:43
paulliumzanetti: yes.07:43
paulliumzanetti: So I'll fix the moviepreview.07:44
mzanettipaulliu: that's fixed already in that branch07:44
mzanettipaulliu: I'm just thinking about deleting the VideoPreview07:44
paulliumzanetti: also for the playback?07:44
mzanettipaulliu: do you mean inline playback in the preview?07:45
paulliumzanetti: no. brings up the browser or player.07:45
paulliumzanetti: anyway I'll check it.07:45
mzanettipaulliu: that seems to work07:45
mzanettipaulliu: so can I delete the VideoPreview? According to PreviewDelegateMapper.qml it's not used anywhere any more07:46
mzanettinot even for mockvideos07:46
paulliumzanetti: yes. please delete it.07:46
mzanettiack07:46
tsdgeosmzanetti: https://code.launchpad.net/~aacid/unity8/updatepot/+merge/18852407:48
mzanettitsdgeos: why this?07:49
* mzanetti thought this happens automagically07:49
tsdgeosit doesn't afaics07:50
tsdgeosi.e. we've outdated stuff over there and our translators are translating old stuff07:50
mzanettitsdgeos: looking the the commit log there are some autocommits doing this... maybe something broke in that machinery?07:50
tsdgeosi don't see any autocommit doing this07:51
tsdgeoswhich revision?07:51
mzanettitsdgeos: 314 for example07:51
mzanettitsdgeos: but you're right. it didn't happen in quite a while07:51
mzanettitsdgeos: I remember like 2 of those commits a day a month back07:51
tsdgeosmzanetti: 314 is updating the catalan translation07:51
tsdgeosnot the .pot07:52
mzanettimhm... ok07:52
tsdgeosthe translations get autocommited from the launchpad translations thing07:52
tsdgeosthat part is right07:52
tsdgeosmzanetti: bzr qlog po/unity8.pot07:52
mzanettitsdgeos: well, approved then07:53
tsdgeosthankyousir :-)07:54
pete-woodsguys, does anyone know why a directory /var/lib (created by package maintainer scripts) could have changed from being owned by the correct user to being owned by root?07:57
pete-woodsthis is only on some of the images (ones I'm not familiar with, numbered 70, 71, etc, rather than a timestamp)07:58
tsdgeosSaviq: do we have somewhere written that with Mir we seem to lock the screen when we press the button to unlock and with SF it's done on screen blank?08:23
Saviqtsdgeos, that'd be powerd's bug, are you sure that's the case?08:23
tsdgeosi'm sure of the first08:24
Saviqtsdgeos, wait a few seconds after pressing power to blank - there's some lag08:24
tsdgeosSaviq: i've waited like minutes :D08:24
Saviqtsdgeos, and you still saw the greeter coming in on resume?08:24
tsdgeosyep08:24
Saviqtsdgeos, there's "powerConnection" in Shell.qml08:25
tsdgeosi can try again just to confirm08:25
Saviqtsdgeos, can you grab some debugging out of there?08:25
tsdgeossure08:25
Saviqtsdgeos, to see when onDisplayPowerStateChange is fired08:25
SaviqMacSlow, re: API, the shell-facing API changed - the type of the hints property changed from flags to a variant map08:26
SaviqMacSlow, but that's ok, just keep that in mind for later08:26
MacSlowSaviq, right.08:26
SaviqMacSlow, btw, does the spec say that extended snap decisions need longer timeout than standard ones?08:29
MacSlowSaviq, it says nothing about it... but it's a suggested value.08:30
SaviqMacSlow, let's just flatten the logic then? for all snap decisions 60s?08:31
MacSlowSaviq, I'm ok with that08:31
tsdgeosSaviq: so the onDisplayPowerStateChange thing triggers on time08:31
tsdgeoscorrectly08:31
tsdgeosbut i still see the greeter on pressing the button08:32
Saviqtsdgeos, maybe the proximity hint / thingie is not set correctly?08:32
tsdgeosmaybe08:32
tsdgeoslet me print that08:32
MacSlowSaviq, pushed change08:33
SaviqMacSlow, k08:35
SaviqMacSlow, btw v08:36
Saviqhttps://code.launchpad.net/~saviq/unity-notifications/fix-themed-icons/+merge/18848308:36
MacSlowSaviq, talking a look08:37
dpmmorning Saviq, when you've got a minute, do you think you could look at this bug to update the translations template for Unity 8? It should only take a few minutes to fix: http://pad.lv/123237408:47
ubot5Launchpad bug 1232374 in Unity 8 "Please update translations template" [Undecided,New]08:47
Saviqdpm, sure08:48
dpmgreat, thanks :)08:48
larsudoes unity8 still have CI problems on jenkins? I can't see anything wrong in the logs relating to my MR08:49
larsuhttps://code.launchpad.net/~larsu/ubuntu-ui-toolkit/remove-gicon-provider/+merge/18830608:49
Saviqdpm, https://code.launchpad.net/~saviq/unity8/update-pot-file/+merge/18852808:50
tsdgeosSaviq: the signals are correct and we enter the showGreeter part08:52
tsdgeosbut i can still see the greeter coming later08:52
Saviqtsdgeos, ok, so completely our fault08:52
pstolowskiSaviq: I've just finished implementing a scope for popular music results and having a weird issue with icons - http://ubuntuone.com/4bl6mKBlFlHpm2oXcRKzMX08:52
Saviqtsdgeos, file bug for mterry please?08:52
tsdgeosi wonder if it has anything to do with us getting suspended too or something08:52
tsdgeosSaviq: sure08:53
pstolowskiSaviq: happens only on the phone; works for on the desktop with same result set08:53
Saviqpstolowski, you mean they're not loaded?08:53
Saviqpstolowski, how many results are there?08:53
dpmnice one, thanks Saviq08:53
pstolowskiSaviq: yes, but only "left" column08:53
Saviqpstolowski, anything interesting in ~/.cache/upstart/unity8.log ?08:54
pstolowskiSaviq: 20 results08:54
pstolowskiSaviq: ahhh, ssl handlshake failed08:54
pstolowski* handshake08:55
Saviqpstolowski, :)08:55
pstolowskiSaviq: file:///usr/share/unity8/Dash/Music/AlbumTile.qml:35:16: QML QQuickImage: SSL handshake failed08:55
Saviqpstolowski, what's your datetime?08:55
mhr3eh, wifi dropped out and now i see ssl handshake issues08:55
tsdgeosSaviq: https://bugs.launchpad.net/unity8/+bug/123356408:56
mhr3i think i it got connected to a parallel universe08:56
ubot5Ubuntu bug 1233564 in Unity 8 "Greeter is seen animating when pressing the side button to wake up" [Undecided,New]08:56
Saviqtsdgeos, thanks08:56
=== ejat- is now known as ejat
Saviqgreyback, I'll need your input on https://code.launchpad.net/~saviq/unity8/fix-frequent-app-ids/+merge/18853209:00
Saviqgreyback, problem: facebook and gmail in Dash Home doesn't launch, 'cause they've been converted to click apps09:00
pstolowskiSaviq: right, my time setting was incorrect; fixing it didn't help though09:00
Saviqpstolowski, can you wget them?09:01
Saviqgreyback, but we have like 3 places where we parse the application:/// part or something09:01
pstolowskiSaviq: but I'm still getting ssl errors09:01
Saviqpstolowski, can you wget the images?09:01
greybackSaviq: great. Ok, let me see.09:01
dednickCimi: ping09:02
Cimidednick, pong09:03
Saviqgreyback, I'd like to simplify all of that and have just one place where we parse the url09:03
Cimidednick, I'm working on the calendar09:03
Cimidednick, I took the logic from the calendar app, but I discovered there's a bug that's why tests are failing09:04
Cimidednick, I'm trying to see where the logic is broken09:04
dednickCimi: ok. i was thinking we may as well get the MP merged and fix the calendar in a later merge. It's not being used at the moment anyway.09:04
Cimidednick, if Saviq is fine09:05
dednickCimi: then we can get the landing sorted as well.09:05
SaviqCimi, yeah, I'm feeling fine, why?09:05
Cimihah09:05
CimiSaviq, ok to approve a MP that contains tested all commented out because the real code contains a bug?09:06
SaviqCimi, skip() the test, don't comment it out09:06
dednickSaviq: tests for calendar in ubuntu-settings-components fail.09:06
Cimibecause there's a bug on dates09:07
CimiI think it's on the logic that finds the start of the month...09:07
dednickCimi, Saviq: ok, i'll put a skip in09:07
SaviqCimi, dednick, and well, obviously fixing the logic would be best ;)09:07
CimiSaviq, it's what I am doing09:07
CimiSaviq, but at the moment I don't have an ETA09:07
CimiSaviq, this stuff is so confusing :)09:08
Cimibecause you have to deal with all timezones09:08
dednickSaviq: i want get ubuntu-settings-components into archive. But my MP needs to go in first.09:09
Saviqdednick, k09:09
SaviqCimi, is that not a solved problem? i.e. isn't there some library that we could use instead of doing it ourselves?09:09
CimiSaviq, nope… the designs of the calendar app differ so much from the indicators that we decided to go separate09:10
dednickCimi: what does timezone have to do with calendar?09:11
Cimidednick, it needs to display the right month09:11
Cimidednick, if you're in japan you switch to the new month before someone here09:12
dednickCimi: yeah, but if it's based on current time, then TZ should be included09:12
paulliumzanetti: yeah.. almost ok. I'll add some logic in MoviePreview.09:13
dednickCimi: nevermind. i'm sure you know what you're talking about09:13
mzanettipaulliu: ok, cool09:13
mzanettipaulliu: what exactly?09:13
paulliumzanetti: the playback should use previewData.result.uri and base on that, open the browser of player depends on the prefix.09:14
mzanettipaulliu: ah, I see. ok, great09:14
dednickCimi: ok, i've changed the failing test to skip.09:16
paulliumzanetti: btw, do you know if there's any function to get an preview from imageSourceUrl? A image.09:17
mzanettipaulliu: not sure if I understand the question09:17
paulliumzanetti: ok, the preview provides either image or imageSourceUri.09:17
paulliumzanetti: if preview provides iamgeSourceUri, we have to generate an image by ourselves.09:18
mzanettipaulliu: but it's still a url, pointing to a image, no?09:18
paulliumzanetti: No, to mpg or pdf.09:19
paulliumzanetti: so I'm actually asking if we have any functions to get a snapshot of mpg or pdf.09:19
paulliumzanetti: or other file formats.09:19
mzanettipaulliu: oh... hmm. no idea if there is something. I'm not aware of anything09:19
mzanettiSaviq: are you? ^09:19
Saviqpaulliu, we're getting the thumbnailer from Satoris09:20
Saviqmzanetti, ↑09:20
mzanetticool, thanks09:20
Saviqpaulliu, but it probably won't support pdfs initially09:20
Saviqpaulliu, but we don't have support to *display* them anyway09:21
Saviqpaulliu, for movies / videos we'll be good09:21
paulliuok.09:21
Saviqpaulliu, https://code.launchpad.net/~jpakkane/ubuntu-ui-toolkit/thumbnailer/+merge/18773009:22
paulliuSaviq: ah.. thanks..09:22
Cimidednick, found the bugger09:30
Cimidednick, works for me http://paste.ubuntu.com/6178936/09:37
Saviqgrr my manta discharged and doesn't let me build stuff09:40
tsdgeosSaviq: comments really appreciated on https://code.launchpad.net/~aacid/unity8/enable_height_animation_when_visible/+merge/18853609:41
Saviqtsdgeos, was just there ;)09:42
Saviqtsdgeos, 'undefined'?09:43
Saviqtsdgeos, why the quotes?09:43
tsdgeosjavascript for "this thing doesn't exist"09:44
tsdgeosdamn me09:44
tsdgeosi forgot the typeof09:44
tsdgeoswhen reordering the code09:44
Saviqtsdgeos, you can just do blah === undefined09:44
tsdgeoscan i?09:45
Saviqtsdgeos, I believe so09:45
mhr3Saviq, is there a bug about updating the music grid renderer?09:45
tsdgeosafair i tried that and compleined09:45
tsdgeoslet me try again09:45
Saviqmhr3, yes09:45
mhr3i remember one for videos, but not for music09:45
Saviqmhr3, or not09:45
Saviqmhr3, yeah, I think there is none09:45
mhr3the two are actually quite similar09:45
mhr3just one has background09:46
mhr3Saviq, updated https://bugs.launchpad.net/unity8/+bug/123193709:46
ubot5Ubuntu bug 1231937 in Unity 8 "Video & music renderers are not to spec" [High,Triaged]09:47
Saviqmhr3, k09:47
Saviqtsdgeos, https://code.launchpad.net/~aacid/unity8/enable_height_animation_when_visible/+merge/188536/comments/43120109:47
Cimidednick, what shall we do?09:47
dednickCimi: sorry. was just busy with something. will look now.09:48
tsdgeosSaviq: not sure i understand "Should we maybe check if the item has a "culled" property and only set it then?"09:49
tsdgeosyou mean the LVWPH checking the existence of the property and setting it if it's there?09:49
dednickCimi: I can merge that into my changes if you want.09:50
Cimidednick, changes to the dates maybe are not required, was of previous tests09:50
Saviqtsdgeos, yeah09:50
Cimidednick, anyway, what fixes is the changes to midnight prototype09:50
Saviqtsdgeos, so that the item needs to explicitly "want" that set09:50
Cimidednick, it was changing day..09:50
dednickCimi: ok09:50
Saviqtsdgeos, by having that prop, instead of LVWPH adding it regardless09:51
tsdgeosSaviq: it's unfortunately that easy though09:51
dednickCimi: i'll try it with just the midnight/addmonth changes09:51
Saviqtsdgeos, this way the component can work in both a ListView and LVWPH, but not as good09:51
Cimidednick, u can merge09:51
Saviqtsdgeos, :/09:51
tsdgeossince RunningApplicationsGrid is not the item the LVWPH knows about09:51
nic-doffaypete-woods, ping09:51
tsdgeosLVWPH only has ListItems.Base inside09:52
Saviqtsdgeos, ah, the loader?09:52
Cimidednick, test on selectedte has to be removed09:52
tsdgeosand ListItems.Base has loaders inside09:52
Saviqtsdgeos, how about an attached prop?09:52
Saviqtsdgeos, ListViewWithPageHeader.culled?09:52
dednickCimi: ok09:52
tsdgeosSaviq: what i did is an attached prop09:52
tsdgeosah wait not relaly09:52
Saviqtsdgeos, yeah, not really09:53
pete-woodsnic-doffay: hi09:53
tsdgeostbh i find attached props confusing, last time i tried them i discovered they're available for all the items even if they're not in a LVWPH09:53
tsdgeosnot sure what they give us over a context property like this09:53
Saviqtsdgeos, available in what sense?09:57
Saviqtsdgeos, they're only valid on the delegate, though09:58
tsdgeosSaviq: available in the sense that you can use it and the engine won't complain and will be defined09:58
Saviqtsdgeos, true09:58
Saviqtsdgeos, but the value would be invalid (undefined, hopefully)?09:58
dednickCimi: test fails when we dont change the tests09:58
Cimidednick, dates?09:59
dednickCimi: yes, didnt change dates, failed09:59
Cimidednick, so change dates :)09:59
Cimidednick, current date probably needs to be changed09:59
Cimidednick, because otherwise currentDate is todat10:00
Cimi*today10:00
Cimidednick, and tests need to be the same every time10:00
tsdgeosSaviq: i.e. see http://paste.kde.org/~tsdgeos/p573bd894/10:00
tsdgeosit gives you10:00
tsdgeosfalse false10:00
dednickCimi: yeah. you should really be putting the Calendar into a well known state before running a test. Otherwise it depends on the state the previous test left it in. That's what the init function is for. I'll fix that up.10:00
tsdgeosimho that's lame10:00
dednickCimi: if you dont, when somebody adds a test which runs before one of your tests, it will break.10:01
Cimidednick, use init without creating new dates10:01
Cimireuse the same vcariables10:01
Cimidednick, I ihad issues when date() was still creating the dates while the yet was proceeding10:02
Cimidednick, that's why they are at the beginning10:02
dednickCimi: any reason for that?10:02
Cimidednick, dunno10:03
Cimidednick, multithreading?10:03
dednickeh. all the dates should be created in the _data functions. I'll look into it10:03
Saviqnic-doffay, two minor comments https://code.launchpad.net/~nicolas-doffay/unity8/search-indicator/+merge/188008/comments/43121910:07
Saviqtsdgeos, right, well, it's correct isn't it ;D10:07
Saviqtsdgeos, I think that's the idea though - that you should be able to have a component that integrates with a ListView as well as works standalone10:08
tsdgeossure10:09
tsdgeosand it does10:09
tsdgeoswith the check for undefined10:09
Saviqmhr3, pstolowski did you ever get the info you needed re: libunity?10:12
pstolowskiSaviq: I didn't10:12
mhr3nope10:12
Saviqvila, can you help getting the version numbers for libunity9 and libunity-protocol-private0 from the mediumtest runners?10:12
mhr3Saviq, but i'm pretty sure it's that, there was abi break in protocol... and protocol is called -private cause libunity9 wants it always compatible10:13
Saviqmhr3, yeah, so what do we do in debian/control to make it work?10:13
mhr3not enough apparently :)10:14
Saviqmhr3, pfft10:14
tsdgeosSaviq: actually we did something similar for the header cliping10:15
vilaSaviq: may be (doing apt-cache policy XXX on the relevant slaves ?), do you have slave names ?10:15
tsdgeosSaviq: see Base.qml lines 76-7710:15
Saviqtsdgeos, right, that's a poor man's attached prop :D10:16
tsdgeoswell10:16
tsdgeosit's a better one imo10:16
Saviqtsdgeos, the biggest problem I have with that is that we're reaching out of scope to get the heightToClip10:17
tsdgeostbh i remember discussing this when we introduced it10:17
tsdgeosnot sure if it was you i was discussing with though :D10:17
Saviqtsdgeos, as it's set in the Loader's scope10:17
Saviq;)10:17
tsdgeossure10:17
tsdgeosit's set in the context of the parent10:17
tsdgeosand that i don't like10:18
Saviqtsdgeos, yeah, so we should pass it down through props10:18
Saviqtsdgeos, at which point the attached prop has the advantage of being obvious where it comes from10:19
Saviqtsdgeos, instead of "just showing up" in the context10:19
Saviqtsdgeos, because LVWPH puts it there10:19
tsdgeosyou mean like an attached prop :D10:19
tsdgeosanyway10:20
tsdgeosif you want an attached prop10:20
tsdgeosi'll do one10:20
vilaSaviq: hmm, from http://10.97.2.10:8080/job/generic-mediumtests-builder-saucy-amd64/137/console that would be kinnara, but libunity9 is not installed there so that would be in the pbuilder env ?10:20
tsdgeosjust say it :-)10:20
Saviqvila, that's the builder10:20
Saviqvila, we need the runner10:20
Saviqvila, so any of http://s-jenkins:8080/job/autopilot-testrunner-otto-saucy/10:21
Saviqvila, ps-nvidia-gt630||ps-intel-4600||ps-radeon-hd835010:21
tsdgeospstolowski: ok, so waht was the code i had to look at and what was the problem?10:23
Saviqdednick, https://code.launchpad.net/~nick-dedekind/unity8/indicator-titles/+merge/186049/comments/43123310:24
vilaSaviq: otto stuff ? Damn, not up to date with that stuff yet :-/10:27
Saviqvila, k, let's wait for fginther, then10:27
vilaSaviq: yup, sry about that, will try to shadow him to learn10:28
pstolowskitsdgeos: there is the branch that enables reordering: lp:~stolowski/unity8/category-reordering10:29
pstolowskitsdgeos: and remember, before you went on vacation, you said you thought your branches were fixing list view, but then found out you forgot to commit all changes, and it sill wasn't working correctly10:30
tsdgeosi do remember i thought it was fixing everything10:30
pstolowskitsdgeos: what was your last day before vacation? I'll dig in the logs10:30
tsdgeosand you found out not10:30
tsdgeosdon't remember if i was sure to reproduce it not working on my side10:30
=== alan_g is now known as alan_g|afk
=== hikiko is now known as hikiko|lunch
tsdgeospstolowski: can you merge unity8 to your branch?10:33
tsdgeosit doesn't merge cleanly10:33
pstolowskitsdgeos: yup, doing10:34
=== alan_g|afk is now known as alan_g
pstolowskitsdgeos: pushed10:49
tsdgeostx10:49
tsdgeospstolowski: so do you remember the steps to make it fail?10:54
pstolowskitsdgeos: I don't.. let me test it again; all your changes were already merged, right?10:55
tsdgeosyep10:55
tsdgeosall's in10:55
mzanettiSaviq: any idea what the thread named "SignalSender" is?10:57
Saviqmzanetti, nope :/10:57
mhr3clearly it's a thread sending signals :)11:00
mhr3Saviq, i just had indicators hide, is that a new feature? :)11:00
Saviqmhr3, you mean fullscreen?11:00
Saviqmhr3, it's been there since January ;)11:00
mhr3Saviq, no, i was browsing in the dash and they decided to hide11:01
mzanettiyeah, there is something new indeed11:01
mzanettiI remember having reviewed a branch that can do this while saviq was on holiday11:01
om26ermzanetti, any clues what went bad here https://jenkins.qa.ubuntu.com/job/unity8-autolanding/516/console ?11:02
mzanettiom26er: yeah 40411:02
om26ermzanetti, ofcourse but what really ? all the tests passed fine. what was it not able to download ?11:03
om26erartifacts ?11:03
mzanettiom26er: yes... looks like that11:04
mzanettiSaviq: this looks suspicious too: http://paste.kde.org/pf627c745/11:05
mzanettiSaviq: are we actually running the runtimeprofiler in release mode?11:05
=== MacSlow is now known as MacSlow|lunch
Saviqmzanetti, no, in debug11:09
mzanettiSaviq: this is when attaching to the installed unity811:09
Saviqmzanetti, not sure what you mean/11:13
mzanettiSaviq: that stack trace above..11:14
mzanettiSaviq: it shows some runtimeprofilerstuff11:14
Saviqmzanetti, we're not running the profiler unless you pass the argument11:14
Saviqmzanetti, must be something Qt-internal that enables that11:15
mzanettiSaviq: yeah... found a thread of a guys seeing the same in chrome11:15
mzanettiSaviq: starts spinning cpu with same strace output and also this same thread bt11:16
mzanettiSaviq: seems v8 waiting to free up memory. and indeed my device seems to be out of mem right now11:16
Saviqmzanetti, so garbage collector?11:17
mzanettiSaviq: seems so11:17
Saviqyay11:17
mzanettiSaviq: lol... clsoed all apps, unity8 stops spinning the cpu11:18
mzanettiSaviq: which explains why it happens mostly when using the gallery app (the heaviest biest we have)11:19
Saviqmzanetti, yeah11:19
mzanettiso... I'm a little bit lost how to handle this one right now11:19
mzanettianyways... noting down my findings in the bug report11:20
Saviqmzanetti, yeah, "use less memory"....11:20
mzanettihm... now cpu usage went up again11:21
mzanettioh... only 500KB free mem again11:21
Saviqfginther, ping11:21
tsdgeospstolowski: any luck reproducing the problem?11:25
Saviqtsdgeos, so what do we do with the "don't animate if not visible"? attached prop that we pass down through Loader and Base? or do we just say fook it?11:25
tsdgeosSaviq: interesting question, will using the attached prop in RunningApplicationsGrid work? Or that's as unclean as the current solution? And how do we pass it down propetly for the clean solution? We ought to create another "base"  for all the items the loaders load, to make sure it has the property, or otherwise it means another "if culled !== undefined" in the code, just in a different place11:27
Saviqtsdgeos, no, it won't work11:27
Saviqtsdgeos, attached prop is only available on *the* delegate11:27
Saviqtsdgeos, not down the tree11:27
Saviqtsdgeos, so we'd have to pass it through from the Loader11:28
tsdgeoswell, technicaly it's available "everywhere", just the correct value is just on the delegate11:28
Saviqtsdgeos, and yeah, what you say - a LVWPHDelegate base component11:28
Saviqtsdgeos, yes, that11:28
tsdgeospassing it down from the Base to the Loader is ugly unless we create the LVWPHDelegate thing11:28
Saviqtsdgeos, indeed11:28
tsdgeosI can do that if you want, to be honest not sure it's worth the hassle at this point11:28
tsdgeosI'd create a "think the whole thing again"11:29
tsdgeossince for example11:29
Saviqtsdgeos, yeah I agree we should look at this again11:29
tsdgeosComponents/ListItems/Base.qml is only used (and i'd say useful) inside the LVWPH11:29
Saviqtsdgeos, +111:29
tsdgeosso not sure it makes sense to be inside Components11:29
tsdgeosso that could become part of the  LVWPHDelegate thing11:29
tsdgeosotoh if we say "we'll have a look later"11:30
tsdgeosthat later may end up being never11:30
Saviqtsdgeos, btw, do you have in the back of your mind the fact that we should make the header common between lenses at some point? to enable tab-like navigation?11:30
tsdgeosyou know how this works :D11:30
Saviqtsdgeos, yeah, I'm afraid we'll need a look as part of ↑↑ anyway11:30
tsdgeosi had forgotten to be honest11:30
Saviqtsdgeos, so let's just go with what you have now - add a FIXME though, please11:30
tsdgeosok11:31
=== hikiko|lunch is now known as hikiko
Saviqdednick, can you try and track down https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1233245 please?11:34
ubot5Ubuntu bug 1233245 in unity8 (Ubuntu) "Volume up/down keys not working in music-app with Mir" [High,Triaged]11:34
Saviqmzanetti, btw, one thing to mention on the bug - 5.2 comes with v4, which will hopefully be much better, in that it's tailored to QML's needs, not to browsers'11:35
Saviqor "should come"11:36
mzanettiSaviq: oh is that in with 5.2 already?11:36
mzanettithat'd be grand11:36
Saviqmzanetti, I think so11:36
Saviqmzanetti, yup11:36
Saviqmzanetti, http://blog.qt.digia.com/11:36
mzanettiSaviq: altough I had a chat with Lars about this too11:36
mzanettiSaviq: there is a slight chance that it introduces really bad stuff11:36
mzanettiSaviq: for example autmatic type coercion in case of a integer overflow can behave differently :D11:37
mzanettigood luck in hunting those11:37
Saviqmzanetti, not like int overflow is a normal situation, so ;)11:38
mzanettiSaviq: any ideas how to find more about this issue?11:39
Saviqmzanetti, about the CPU hogging you mean?11:39
mzanettiSaviq: yes11:39
Saviqmzanetti, not really, not unless we dig deep into v8 (which I don't think we will...)11:39
tsdgeosSaviq: fixme pushed11:40
Saviqmzanetti, it's something that our app lifecycle should cater for - make sure the shell and focused app(s) have enough memory11:40
Saviqtsdgeos, thanks11:41
tsdgeosmzanetti: that's why someone should start testing our apps with 5.211:41
* tsdgeos hides11:41
Saviq/food11:43
tsdgeosSaviq: the qt guy didn't answer to my review, i've asked around and he seems to be at a Blink meeting or soemthing making him a bit unreliable on reviewing so we may have to just go with the patch in our Qt and adapt later :-/11:44
tsdgeoswhat's your take?11:44
tsdgeosah11:44
tsdgeosenjoy food :)11:44
Saviqtsdgeos, please do11:44
Saviqtsdgeos, just distro-patch our own11:44
tsdgeosok, i'll open a bug and poke Mirv11:45
Mirvpoke poke11:50
mzanettianyone knows there the upstart user services are stored?11:51
Cimimzanetti, help12:10
Cimimzanetti, I fixed a part of the test which was failing12:10
Cimimzanetti, but now it complains randomly of this12:11
Cimihttp://paste.ubuntu.com/6179310/12:11
Cimiand sometimes another test12:11
Cimiif I run the test directly (just that test), no error12:12
mzanettiCimi: well, the app_grid = ... went wrong12:13
Cimimzanetti, yeah12:13
Cimimzanetti, but I didn't change that in my hud tests12:14
Cimimzanetti, maybe we need to add a wait?12:14
mzanettiCimi: isn't there a 40 secs timeout already before selecting the app_grid?12:15
Cimimzanetti, not that I can see in the code12:16
=== jhodapp|afk is now known as jhodapp
Cimimzanetti, just pushed latest fixes lp:~cimi/unity8/unity8.hud-2_hint-reveal-commit12:18
Cimimzanetti, but I have this app grid error12:18
mzanettiCimi: I'm not sure any more if we wouldn't have been faster by writing those 5 tests in qml12:21
Saviqvila, any idea about https://code.launchpad.net/~mzanetti/unity8/launcherbackend-no-more-pinning/+merge/186603/comments/431293 ?12:21
Saviqvila, everything is SUCCESS, but the end result is FAILURE anyway?12:22
mzanettiSaviq: I think that's the one om26er posted before12:22
mzanettiSaviq: collecting artifacts went wrong12:22
Saviqmzanetti, there's more like that I'm afraid12:22
Saviqhttps://code.launchpad.net/~mterry/unity8/skip-intro-chevron/+merge/188182/comments/43125312:22
vilaSaviq: https://jenkins.qa.ubuntu.com/job/unity8-ci/1189/console12:23
Saviqmzanetti, so it's not a one-time failure12:23
mzanettiSaviq: yeah... I assume the otto jobs have some new configuration which prevents just using the VM's as a drop in replacement12:23
kgunnmzanetti: just sent you a mail, on the latest proposed build Mirv is able to get 100% phenomena pretty easily it seems, you 2 might want to connect for some co-debug12:24
Cimimzanetti, with hindsight...12:24
Cimimzanetti, maybe yes maybe not12:24
Cimimzanetti, anyway fix might be easy now, no?12:24
mzanettikgunn: this looks like yet another one :/12:25
pstolowskitsdgeos: it fails for me after typing a few characters; I see reordering for first 1-3 letters, but after a while the Dash becomes empty and doesn't recover12:26
pstolowskitsdgeos: I'm running unity8 on the desktop12:27
mzanettiCimi: I don't know whats happening and I'm sort of not in the mood to waste another 2 hours getting my device into a state where I can execute autopilot tests12:29
mhr3sil2100, thumbnailer in universe? ;)12:31
dednickCimi: I've made some changed the tests/calendat. You may want to look at the changes; I had to make some fairly significant changes in the Calendar population code to fix some bugs I found.12:32
pete-woodsSaviq, nic-doffay: there's a bug in the infographics in unity8, it doesn't handle the colors correctly on the first day of the month (see Greeter/Gradient.js, it doesn't handle the case where total = 0)12:37
mzanettiMirv: do you have a way to reproduce the CPU hogging issue?12:37
pete-woodsnic-doffay: I fixed it like this myself (http://pastebin.ubuntu.com/6179422/)12:40
mzanettidafuq... we have running 32 threads when running with mir12:41
Mirvmzanetti: I basically just boot my device. let me try again, for the last reboots it happened every time.12:41
mzanettiMirv: yeah... I can see it too.. but it seems a different one that the one I was investigating12:42
Mirvmzanetti: you were investigating the blank cpu usage issue?12:42
mzanettiMirv: yeah12:42
Saviqdednick, did you see me asking about tracking down https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1233245 ?12:43
ubot5Ubuntu bug 1233245 in unity8 (Ubuntu) "Volume up/down keys not working in music-app with Mir" [High,Triaged]12:43
dednickSaviq: nope12:44
dednicki do now12:44
dednickSaviq: will take a look after lunch.12:45
Saviqdednick, thanks12:45
mzanettiSaviq: could be the same as the HUD button. (if we have something like inputfilterarea for kbd too)12:47
Saviqmzanetti, it doesn't work when shell's on top either12:48
mzanettiok12:48
Saviqmzanetti, so I'm feeling we don't get VolumeUp/Down from Mir at all12:48
mzanettiyeah, makes sense12:48
mzanettiMirv: this looks a bit suspicious http://paste.kde.org/pf955fae012:49
Saviqtsdgeos, https://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-saucy/1962/testReport/junit/%28root%29/ListViewWithPageHeaderTest/testMaximizeVisibleAreaMoveUpAndShowHeader/ looks familiar, eh?12:50
kgunndandrader: hey check out mzanetti 's pastebin12:54
dandraderkgunn, what about it?12:54
kgunndandrader: just wonder if you might have some thots about it, its cpu pegging...looks android input related12:55
kgunnwondered if you might have thots on it as you've been doing some excavation in that area12:55
dandraderkgunn, you mean mir is consuming 100% of cpu time constantly?12:56
fgintherSaviq, pong12:56
Saviqfginther, sooo....12:57
Saviqfginther, the switch to vm didn't really work :/12:57
Saviqfginther, http://s-jenkins:8080/job/unity8-autolanding/516/console12:57
Saviqfginther, artifact collection failed12:57
dandraderkgunn, mzanetti   that stack trace shows that the dispatcher thread is waiting to be woken up to dispatch the next pending events that came from the InputReader12:57
fgintherSaviq, yeah, I noticed that too. I patched it just a moment ago12:57
fgintherthe current autolanding job should catch the update12:58
Saviqfginther, to fix the runs on otto, we'd just need to upgrade libunity9 there12:58
pete-woodsSaviq, nic-doffay: I raised a ticket for the bug I mentioned earlier (https://bugs.launchpad.net/unity8/+bug/1233657)12:58
Saviqfginther, and well, make mhr3 and/or pstolowski fix the deps on libunity912:58
ubot5Ubuntu bug 1233657 in Unity 8 "[greeter] Infographic colors are black on the first day of the month" [Undecided,New]12:58
fgintherSaviq, would unity need to restart?12:58
fgintherSaviq, unity 7 that is12:58
Saviqfginther, probably12:58
Saviqfginther, but maybe let's fix it properly instead12:58
dandraderkgunn, mzanetti so it's a pretty normal state to have a thread waiting there12:59
Saviqfginther, can you let mhr3 and pstolowski know which versions of libunity9 and libunity-protocol-private0 are installed on there?12:59
fgintherSaviq, sure, one moment12:59
mzanettidandrader: maybe... I just attached gdb while it was spinning cpu and this one looked the most like the one waking up too often12:59
Saviqtsdgeos, https://code.launchpad.net/~aacid/unity8/enable_height_animation_when_visible/+merge/188536/comments/43133513:00
tsdgeosSaviq: damn 0 != almost013:00
Saviqtsdgeos, yeah13:00
fgintherSaviq, pstolowski: http://10.97.2.10:8080/job/autopilot-testrunner-otto-saucy/534/artifact/results/sysinfo/dpkg-l.postsetup/*view*/13:00
dandradermzanetti, it would be pretty easy to check it out. just add a printf there and see if its flooding the terminal13:00
fgintherSaviq, pstolowski, package versions in use at otto run time13:01
tsdgeosSaviq: sure, you can still see the animation if you're unlucky enough that it takes too much to "create" and when created it's already inside the view13:01
Saviqtsdgeos, so I'm unlucky enough to easily trigger that13:02
tsdgeosi guess13:02
tsdgeosnexus4 or galaxynexus?13:02
Saviqtsdgeos, n413:02
Saviqtsdgeos, we could either have the Behavior enabled/disabled, or just have an arbitrary Animation that we trigger on transitions13:02
Saviqtsdgeos, feels like a more robust solution13:02
dandradermzanetti, so, that thread is woken up for two reasons: 1 - new input events coming  2 - some client has sent a reply13:03
tsdgeosSaviq: what do you mean on transitions?13:03
Saviqtsdgeos, onAdd, onRemove13:03
pstolowskifginther, Saviq : thanks. so the versions of libunity and proto are in sync? confused.13:04
Saviqpstolowski, on *start*13:04
Saviqpstolowski, but then http://10.97.2.10:8080/job/autopilot-testrunner-otto-saucy/534/consoleFull13:04
pstolowskiSaviq: aah13:04
Saviqpstolowski, protocol-private gets upgraded to 7.1.1+13.10.20130927-0ubuntu113:04
fgintherpstolowski, sorry, that wasn't the full details, there is more in the console log13:04
Saviqpstolowski, but libunity9 remains13:04
Saviqmhr3, ↑13:04
tsdgeosSaviq: onAdd of what?13:04
Saviqtsdgeos, there are add and remove transitions in RunningApplicationsFilterGrid13:05
Saviqor well, there's a move only13:05
nic-doffaypete-woods, thanks I'll sort that out today.13:05
mzanettipaulliu: hey. what's the status on that movie preview url? can we put the merge up for review?13:06
pstolowskiSaviq: ack13:06
Saviqtsdgeos, what I mean is: we only want the behavior to be active when there are items added or removed to the GridView, right?13:06
pstolowskimhr3: you've a fix for the control file, don't you?13:06
Saviqfginther, can we just dist-upgrade the machines or is that too risky?13:06
Saviqtsdgeos, not even when the whole category gets added/removed, 'cause that transition should be handled by LVWPH for all categories added/removed, right?13:07
tsdgeosLVWPH doesn't do transitions13:08
Saviqtsdgeos, I know, not yet13:08
tsdgeosthat a hell lot of code i did not do13:08
Saviqtsdgeos, so what I mean is we should trigger the animation onCountChanged, effectively13:08
Saviqtsdgeos, and only then13:08
tsdgeosi'm afraid13:08
tsdgeosthat since you're creating it13:08
tsdgeosit'll ahve a count changed13:08
tsdgeosi'll check13:08
Saviqtsdgeos, yeah, just have a look, the current solution isn't working good enough I'm afraid13:09
tsdgeosSaviq: btw are you sure it's animating?13:09
Saviqtsdgeos, yes, can make a video if you want13:09
Saviqtsdgeos, but I can clearly see it uncover the last items13:09
tsdgeoscan you put a onHeightChanged in teh RunningApplicationsGrid.qml ?13:09
Saviqtsdgeos, easiest if you launch at least 4 apps13:10
tsdgeosbecause honestly i don't see how you could be that unlucky that many times easily13:10
fgintherSaviq, that should be ok, otto uses an lxc container, should get a fresh one each time13:10
Saviqfginther, that would solve the issue for us without waiting for the fix in libunity13:11
Saviqfginther, and we could get back to otto mediumtests13:11
tsdgeosok, let's see if i can repro with 4 apps13:11
paulliumzanetti: wait, I'm checking why moviepreview doesn't have any imaegs..13:12
Saviqtsdgeos, http://pastebin.ubuntu.com/6179535/13:12
tsdgeosSaviq: ah13:13
tsdgeosobviously13:13
tsdgeossilly thing that is created small13:13
Saviqtsdgeos, yeah, gets on screen and then animates13:13
tsdgeostogether with unity taking 100%13:14
tsdgeosobviously doesn't help to make stuff smooth13:14
mhr3pstolowski, yea13:14
fgintherSaviq, let me give that a try, just need to make a test job13:14
mhr3pstolowski, so what's the issue?13:14
Saviqfginther, thanks13:14
tsdgeossomeone should investigate why the hell unity+mir takes 100% cpu13:14
=== _salem is now known as salem_
pstolowskimhr3: can you MP it?13:14
Saviqfginther, so you want to dist-upgrade on each job? shouldn't we just dist-upgrade once in a while? like now?13:14
tsdgeosanyhow yes, let me find if using count changed we can do better13:14
tsdgeosSaviq: you on mir or on sf?13:15
Saviqtsdgeos, sf13:15
Saviqmhr3, libunity-protocol-private0 gets upgraded without libunity913:15
tsdgeosok, so can't blame unity taking 100% of cpu, because yours probably isn't :D13:15
Saviqlol13:15
mhr3Saviq, why?13:16
fgintherSaviq, shouldn't it be both? One to update the container each day/week and the one inside the job to update it for each run13:16
Saviqfginther, we shouldn't need the per-job update13:16
Saviqfginther, everything should be handled by deps - and when it isn't (like now)13:17
Saviqfginther, it's a bug13:17
Saviqmhr3, you tell me13:17
fgintherSaviq, ack, that would mask the deb bug13:17
Saviqmhr3, libunity-core pulls in protocol-private? but that doesn't pull in libunity9?13:17
paulliumzanetti: https://code.launchpad.net/~paulliu/unity8/fix-genericpreview-2/+merge/18859413:17
mhr3hmmm... :/13:18
mhr3dunno really13:18
Saviqmhr3, libunity-core-6.0-8 depends on libunity-protocol-private0 (>= 7.1.1+13.10.20130927)13:18
mhr3Saviq, actually... yea, cause libunity is client lib, protocol is protocol13:18
Saviqmhr3, well, *something* is broken, so that we're getting "no such key in gsettings: hidden-scopes"13:19
Saviqmhr3, pstolowski suspected protocl-private013:19
pstolowskiSaviq, mhr3 : yes, because protocol now uses hidden-scopes key (which introduces a dependency on libunity which we didn't have before at all?)13:22
Saviqpstolowski, sounds like a problem13:23
mhr3eeeh :/13:23
mhr3so proper fix is to split out the pkg with the gschema and make the key optional inside protocol13:24
mhr3s/and/or/13:24
pstolowskimhr3: testing your fix13:25
=== MacSlow|lunch is now known as MacSlow
pstolowskitsdgeos: any luck with reproducing reordering issues?13:26
tsdgeospstolowski: got busy again with the stuff i was previously working on, sorry13:27
mhr3pstolowski, i don't it fixes it really13:27
mzanettipaulliu: why the item at the bottom?13:27
paulliumzanetti: it prints out that the item is missing?13:28
paulliumzanetti: is that ok?13:28
mzanettipaulliu: my mistake there. I removed it by now in the main branch13:28
mzanettipaulliu: if you merge with the main branch that message should be gone13:29
paulliumzanetti: ok13:29
pstolowskimhr3: shouldn't protocol depend on libunity?13:29
mhr3pstolowski, no13:29
mzanettipaulliu: so I'd say remove that item again and you can push this change directly to the main branch13:29
mhr3libunity is built on top of protocol, not the other way around13:29
Saviqmzanetti, going into a mtg, won't be there for standup13:29
mzanettiSaviq: ack13:29
nic-doffaySaviq, 359+ pageHeader.triggerSearch()13:30
nic-doffay360+ typeString("test")13:30
nic-doffayWhy is that needed? Shouldn't you triggerSearch before you start testing for visibility altogether?13:30
nic-doffayWhy is what needed exactly? Could you elaborate on this a bit?13:31
Saviqnic-doffay, before .triggerSearch, the search entry is offscreen13:31
mzanettidednick: standup?13:31
Saviqnic-doffay, so feels like you should get it onscreen first13:32
Saviqnic-doffay, but no need to type anything13:32
paulliumzanetti: ok.. pushed.13:32
mhr3pstolowski, updated the branch, has proper fix now13:32
pstolowskimhr3: I know, but this change alone won't trigger update of protocol13:32
mzanettipaulliu: thanks.13:33
mzanettipstolowski: do you think it's good to go now?13:33
mzanettisorry... paulliu ^13:34
paulliumzanetti: yes.13:34
mzanettiperfect, thanks13:34
pstolowskimhr3: the schema *is* installed by an old libunity, so it will still fail on hidden-scopes, no?13:34
nic-doffaySaviq, righto13:35
mhr3pstolowski, well yea13:36
mhr3pstolowski, then we need to make it conflict with old version of libunity i guess13:37
pstolowskimhr3: the problem as I understand it from the logs is: both libunity and protocol are initially in sync, but then an update of unitycore pulls newer protocol which needs hidden-scopes. but this update doesn't pull matching libunity13:37
dandradermzanetti, I wonder if running unity8-mir with perf might help you identifying the hot spot13:38
pstolowskimhr3: yes, conflict rule would do13:38
mzanettidandrader: did you manage to get perf running on the phone?13:39
dandradermzanetti, didn't try yet. was playing with it on my test laptop13:39
dandradermzanetti, it doesn't work on the phone?13:39
mzanettidandrader: I couldn't get it to run there13:39
dandrader:(13:40
mzanettidandrader: well, give it a shot. maybe its just me13:40
mhr3pstolowski, so just a conflicts?13:40
Cimimzanetti, to have assert that to emulators (dash.py), shall I have to write it in try except?13:40
Cimimzanetti, because Hud class doesn't have that function I think13:41
mhr3pstolowski, isn't that usually used with the conflicts+replaces+provides?13:41
pstolowskimhr3: you got me wondering.. would conflicts alone trigger an update of libunity?13:41
mzanettiCimi: hmm... let me have a look13:42
Cimimzanetti, I want to wait there...13:42
Cimiuntil its not none13:42
didrockskgunn: greyback: if you have the fix in trunk before EOD, just ping us, so that we can get it in ASAP13:42
greybackdidrocks: ok13:43
Cimimzanetti, like __init__.py does13:43
kgunndidrocks: much appreciate that offer - thanks for the help13:43
Cimimzanetti,     def get_dash(self):      dash = self._proxy.select_single(Dash)        self.assertThat(dash, NotEquals(None))        return dash13:43
mzanettiCimi: I think you can use someVariable.waitFor(condition)13:43
mzanettiCimi: oh. this won't work13:43
didrocksyw!13:43
mzanettiCimi: you need some lambda function, let me search for an example13:43
=== dandrader is now known as dandrader|afk
mzanettiCimi: try something like this: http://paste.ubuntu.com/6179651/13:46
Saviqdednick, when back - I've actually pushed the bug up to mir, we're not getting the key events at all13:48
pstolowski mhr3 what if protocol recommends libunity=binaryversion ?13:50
mhr3pstolowski, eek, no reverse deps pls13:50
dednickSaviq: yay13:52
Cimimzanetti, wait_for doesn't exist13:52
Cimihttp://paste.ubuntu.com/6179669/13:52
Saviqdednick, lol :D13:52
dednicknow i dont have to figure out how to enable mir13:52
CimiAttributeError: 'function' object has no attribute 'wait_for'13:53
dednickprobably should do that anyway13:53
mzanettiCimi: this is in emulators/hud.py, right?13:53
Cimimzanetti, dash.py13:53
mzanettiCimi: check out hud.py. there are some wait_fors13:53
Cimimzanetti, but those are for properties13:54
Cimimzanetti, not lambda functions13:54
mzanettiCimi: yeah... I hoped it would work13:54
* mzanetti isn't a python expert either13:54
Saviqfginther, whoa, 1:03 for amd64 package build? http://10.97.2.10:8080/job/unity8-saucy-amd64-autolanding/102/13:55
mzanettiCimi: ah.. I think you can use "from testtools.matchers import Equals, Eventually" and then try that with the lambda function13:56
mzanettiCimi: just the assertThat() wouldn't work, but you probably shouldn't use that in emulators anyways13:56
Cimimzanetti, this lambda doesn't work...13:59
tsdgeosSaviq: there?14:00
Saviqtsdgeos, here14:00
Cimimzanetti, or you meant without wait for?14:00
Cimimzanetti, ah use eventually not equals?14:00
tsdgeosSaviq: so i can probably use countChanged, but not for the "creation" scenario (i.e. first app launched) because i don't get a count changed there14:00
tsdgeosare we ok with that regression?14:00
tsdgeosprobably not, right?14:00
=== dandrader|afk is now known as dandrader
Saviqtsdgeos, ideally no, but you should be able to rework it somehow14:01
Saviqtsdgeos, by having the behavior on on creation, and disabling it as soon as it finishes for the first time14:01
Saviqtsdgeos, WDYT?14:01
mzanettiCimi: check out tests/test_notifications.py14:02
tsdgeosSaviq: but next time it'll also be "onCreation"14:02
mzanettiCimi: we use that lambda stuff there14:02
mhr3pstolowski, https://code.launchpad.net/~mhr3/libunity/same-ver-dep/+merge/18859614:02
Saviqtsdgeos, right <facepalm>14:02
tsdgeosthat's what makes it so hard14:02
Cimimzanetti, but with assertThat14:02
Saviqtsdgeos, so we're back to square one...14:03
mzanettiCimi: yeah... doesn't Eventually() work without it?, mabe something like Eventually(get_dash) != NoneType or something like that?14:03
* Cimi tries until it works14:03
fgintherSaviq, that hurts, the builders have just been kept fully loaded the past week. probably doesn't help build times (some help is in the works, but no eta)14:03
Saviqfginther, k14:04
mzanettiCimi: if you can't get it to work you probably can write your own loop14:04
Saviqmzanetti, Cimi what's going on?14:04
tsdgeosSaviq: i guess we somehow need to throw DashApps.qml into the equation14:04
tsdgeossince there the model is being kept all the time14:04
tsdgeosso we know if the change to 1 is coming from 0 or not14:04
tsdgeosbut it's all so decoupled that it's not trivial14:05
CimiSaviq, I don't know :) some autopilot tests fail if you run them in sequence but not if you run them separately14:05
Saviqtsdgeos, or well, how about actually looking at the geometry?14:05
CimiSaviq, might be a race or so, I'm trying to add protections14:05
tsdgeosSaviq: that's the same, there's no difference between creation because you had 0 and now have 114:05
tsdgeosand you had 1 and were out of view and came back14:05
mzanettiCimi: something like this might help: http://paste.ubuntu.com/6179709/14:06
Saviqtsdgeos, yeah, we want transitions in LVWPH don't we ;)14:06
Cimimzanetti, I think i'll do something like that14:06
tsdgeosSaviq: we do :D14:06
Saviqtsdgeos, that would be it - just an add: transition14:07
Saviqtsdgeos, and behavior onCountChanged14:07
Saviqtsdgeos, but yeah, I know...14:07
tsdgeostransitions are ahrd14:07
tsdgeosnot going to happen for this bug14:07
ritz_Hi, wrt https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1051921 . Where did this commit go ?14:08
ubot5Ubuntu bug 1051921 in Unity 5.0 "lens-bar-keynavigation periodically writes to /tmp/wut.png" [Medium,Fix committed]14:08
pstolowskimhr3: top-approving, ok?14:09
mhr3pstolowski, yep, that's why i pinged14:09
ritz_okay, nm. unity uses bzr branch14:12
nic-doffaySaviq, mind taking another look at the search indicator branch?14:14
Saviqnic-doffay, will do14:14
ritz_bregma, hi, https://launchpad.net/unity/+milestone/5.26.0 . when is this scheduled to be publish ?14:15
pstolowskiSaviq, fginther : so the fix for libunity should be merged soon14:16
bregmaritz_, are you looking for when Ubuntu will release a new update for 12.04 LTS?14:16
ritz_yes14:16
Saviqpstolowski, yeah, need to release it first :14:16
Saviqpstolowski, :/14:16
Saviqpstolowski, since we're not in the same stack14:16
ritz_ wrt https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1051921 .14:17
ubot5Ubuntu bug 1051921 in Unity 5.0 "lens-bar-keynavigation periodically writes to /tmp/wut.png" [Medium,Fix committed]14:17
ritz_I see this is marked for 5.26, with fix committed14:17
ritz_I am unable to locate where they are committed14:18
pstolowskimzanetti: ping14:23
mzanettipstolowski: hi14:23
pstolowskimzanetti: forgot yo tell you; my branch with preview cancellation was merged a few days ago; it also adds 2 cancel methods for programatic cancellation of preview and actions from the shell14:24
mzanettipstolowski: ah, cool. will add that14:25
dholbachhiya14:26
dholbachhow much work would it be to offer a unity8 desktop session?14:26
tsdgeosMirv: https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/123370514:28
ubot5Ubuntu bug 1233705 in qtdeclarative-opensource-src (Ubuntu) "Add patch to fix loading of ListView items in some corner cases" [Undecided,New]14:28
vilaSaviq: fginther explained, I can answer now.14:33
vilaSaviq: on the otto job pages, there is an 'artifact' url14:33
vilaSaviq: err, 'Build Artifacts'14:34
vilaSaviq: follow 'results/sysinfo' and you'll find dpkg-l.boot and dpkg-l.possetup14:34
vilaSaviq: that should give you the versions you're searching for14:35
Saviqvila, yeah, fginther pointed us there14:35
vilaSaviq: ha, good ;)14:35
tsdgeospstolowski: ok, on yout bug, need to leave the other one for a while14:35
vilaSaviq: I was making sure the info reached you ;)14:35
tsdgeospstolowski: so what do you search in the home scope, random stuff?14:35
pstolowskitsdgeos: k14:35
tsdgeospstolowski: ok, got it14:36
tsdgeosthis is really weird14:36
tsdgeosand obviously i lost the modelchecker14:36
tsdgeospstolowski: you won't have it around by chance, no?14:37
Cimimzanetti, finally works for me...14:37
Cimimzanetti, pushed14:37
pstolowskitsdgeos: yes, just slowly type >=3 random letters14:37
mzanettiCimi: cool14:38
Cimidednick, I'm back hopefully14:41
Cimidednick, where are the changes?14:41
dednickCimi: ah, forgot to push. it's up now. https://code.launchpad.net/~nick-dedekind/ubuntu-settings-components/pre-archive-fixes/+merge/18828314:43
dednickr58/59 have the changes i made14:43
dednickCimi: ^14:43
Cimidednick, ok14:43
pstolowskitsdgeos: I should have model checker somewhere, let me try to find it14:49
Cimidednick, quick look seems nice14:50
Cimidednick, does it work with infinite loop?14:50
dednickCimi: you mean keep scrolling?14:51
mzanettipstolowski: calling Scope::cancelActiviation() when I close the preview should be enough, right?14:51
Cimidednick, minimum and maximum date could be empty on purpose14:51
dednickCimi: ah, it does, but should probably add a test case for it14:52
pstolowskimzanetti: Scope::cancelActivation will cancel preview request; Preview::cancelAction will cancel any actions; you should call both when closing preview14:53
dednickCimi: done and pushed.14:54
mzanettipstolowski: what does cancel any actions mean? If I start installing an app and close the preview, will that cancel the isntallation too?14:56
nic-doffayAnyone got time for a review? https://code.launchpad.net/~nicolas-doffay/unity8/infographic-colour-fix14:56
pstolowskitsdgeos: your pastebin - http://paste.ubuntu.com/6044489/14:57
pstolowskimzanetti: no it won't14:59
mhr3mzanetti, paulliu, i'm thinking about removing imageSourceUri prop from previews, we'll internally handle it and just return a thumbnailer uri for preview.image15:01
mhr3ok with that?15:01
mzanettifine with me15:01
mzanettimhr3: what does that mean for our branch?15:02
mhr3mzanetti, are you using it?15:02
mhr3cause you shouldn't really15:02
tsdgeospstolowski: great15:02
mzanettimhr3: yeah, paulliu just added that15:02
mhr3mzanetti, remove it then :)15:03
mhr3my original review was already saying that the playable property shouldn't be there15:03
mzanettimhr3: ah no... I was wrong... its just a similar name15:03
=== dandrader is now known as dandrader|lunch
mzanettimhr3: yeah... that's gone15:04
mhr3mzanetti, not pushed?15:04
mhr3still see it in https://code.launchpad.net/~unity-team/unity8/fix-genericpreview/+merge/18835515:04
mzanettimhr3: ah right... there it is still. but we need to know that, no?15:04
mzanettimhr3: we still need to place the play button there15:05
mhr3the play button should be there always15:05
greybackmzanetti: ever seen this error in AP: http://pastebin.ubuntu.com/6179755/15:06
mzanettimhr3: ok. fixing15:06
mzanettigreyback: uh... no, not really15:06
greybackmzanetti: I've seen similar when Qt wasn't finding the path where the QPA plugins are put.15:07
mhr3mzanetti, https://code.launchpad.net/~paulliu/unity8/movie-preview/+merge/181856/comments/42639415:07
mzanettimhr3: cheers. will fix15:07
mhr3thanks15:07
mzanettimhr3: is line 771 here ok? https://code.launchpad.net/~unity-team/unity8/fix-genericpreview/+merge/18835515:11
mhr3mzanetti, the entire block should be just one openUrlExternally()15:12
mhr3no need for those ifs15:12
mzanettiack... sounds sane to me15:13
mzanettimhr3: ok. all fixed15:14
mhr3mzanetti, \o/15:15
mzanettiCimi: added some comments15:31
Cimimzanetti, ok thx15:31
tsdgeosoh man15:38
tsdgeosguess what http://paste.kde.org/~tsdgeos/p8a902715/ returns15:39
Cimimzanetti, so what's the type for pixel value?15:39
Cimimzanetti, thought was double15:40
mzanettiCimi: afaik he didn't invent half pixels yet ;)15:40
mzanettiCimi: I'd say int15:40
Cimimzanetti, well but x and y are real15:40
tsdgeoswell you can use half pixels in x, y and width15:40
Cimiin qml15:40
Cimiiirc15:40
Ciminot int15:41
mzanettiare they?15:41
mzanettihmm.. could be15:41
tsdgeosit just introduces slowlyness and "antialiasing"15:41
tsdgeosto give you half pixel15:41
mzanettitsdgeos: ture, false ?15:42
tsdgeosmzanetti: 'xctily15:43
mzanettitsdgeos: a.value<QIcon>() == b.value<QIcon>() should return true again15:43
tsdgeossure15:43
tsdgeosbut that's the silliness in it15:44
mzanettiheh15:44
tsdgeosi've a variant and i want to compare it15:44
mzanettiwell, it can't automatically convert QIcon15:44
tsdgeossure15:44
tsdgeosthat's why they have that sofisticate method to registerhandlers15:44
tsdgeosjust they decided not to use it15:44
mzanettihah15:44
tsdgeosbecause "who cares"15:44
mterrygreyback, I'm looking at a bug where the greeter pauses in its animation after blanking the screen.  Does Mir or unity-mir put unity8 to sleep somehow when the screen is off?15:50
greybackmterry: I think if screen is blanked, the frame swapper in Mir halts, preventing Qt from rendering new frames15:51
mterrygreyback, ok, makes sense.  I think I can work around the issue by not animating at all15:52
mzanettiCimi: can you help me out with a nice screenshot of QtCreator with the ubuntu integration?15:52
greybackmterry: I'd try the same, yeah15:52
Saviqgreyback, mterry, but that shouldn't impact the animation, should it... the only artifact would be that you might see the old frame and then the new one straight away15:52
Saviqmterry, greyback, the animation itself should pause, should it...15:53
Saviq+not15:53
Cimimzanetti, what you need?15:53
Saviqmterry, but yeah, it should never animate when locking15:53
mzanettiCimi: a few screenshots that highlight the Ubuntu integration in QtCreator15:53
mzanettiCimi: maybe the welcome page, then the device page, or the doc page...15:54
Cimimzanetti, when you need?15:54
mzanettiCimi: asap :/15:54
mzanettiread: now15:54
Cimimzanetti, I can take it in 1366x76815:54
mzanettiCimi: hmm... don't mind the size... make them smaller if possible15:55
mzanettiCimi: they should fit on a presentation15:55
mzanettiso we need to scale them down if they are too large. better resizing the window to only show the relevant content15:55
mzanettiQtCreator looks like crap on my retina screen, that's why I can't make them myself15:56
Cimimzanetti, I am taking them through parallels15:56
Cimimzanetti, so I can decide all the res I want15:56
mzanettiCimi: ah, cool.15:56
greybackracarr: can you confirm? If screen blanked, then all clients are blocked from swapping frames - so if a client was animating, screen blanks, pause, screen unblanks, the client resumes animation from before the blank15:56
mzanettiCimi: well, I'm sure you got the right eye for this ;)15:56
Cimimzanetti, well I'm simply taking screen hot of the out of the box experience15:57
Cimimzanetti, guest15:57
fgintherSaviq, Here's a unity8 test run after dist-upgrade: http://10.97.2.10:8080/job/autopilot-testrunner-otto-saucy-fjg/71/16:01
fgintherSaviq, looks like something is still missing16:02
fgintherSaviq, possibly a unity 7 restart?16:02
Saviqfginther, lookin'16:02
fgintherSaviq, this was a one-off test16:02
Saviqfginther, huh!16:03
Saviqfginther, ah, that's a live dist-upgrade is it?16:03
fgintherSaviq, it was also tested from an MP in progress, not trunk16:03
fgintherSaviq, I did the dist-upgrade as a separate task prior to the test16:04
Saviqfginther, 'cause http://10.97.2.10:8080/job/autopilot-testrunner-otto-saucy-fjg/71/artifact/results/sysinfo/dpkg-l.postsetup/*view*/ says libunity and friends are still at versions from August?16:04
Saviqfginther, then yeah, possible we need a restart of unity7, as the lib is probably not loaded into memory again after being upgraded16:04
Saviqfginther, and then unity8 uses the old version, preloaded by unity716:04
fgintherSaviq, ack, I'll keep working on it16:04
SaviqMacSlow, fginther is on them ↑16:04
mhr3that doesn't sound very likely16:04
Saviqmhr3, what else? still getting "no key hidden-scopes"16:05
mhr3if the pkg was updated, the schema would be as well, it has nothing to do with the libunity .so16:05
MacSlowSaviq, fginther: I see16:05
Saviqmhr3, right...16:06
Saviqfginther, hmm but then... the artifacts still mention August version...16:06
Saviqfginther, where is the dist-upgrade log for that job?16:06
fgintherSaviq, sorry, it's lost16:06
mzanettiSaviq: how is your review load? still high?16:06
MacSlowSaviq, fginther: any well-educated guess how long it'll take until it works again?16:06
mterrygreyback, so do you know what's happening in Qt behind the scenes?  Like, it can't put any more frames into Mir, so it knows to pause all the timers?  I'm testing not doing any animation and when we come back, I still see a frame of the old content, which means Mir is shutting down frames sooner than unity8 responds to the event  :(16:06
Saviqmzanetti, how do you think ;)16:07
Saviqfginther, but if it's *before* that job16:07
Saviqfginther, shouldn't the dpkg log show the status after dist-upgrade?16:07
mzanettiSaviq: dunno... are quite a lot "approved, ready to land" and many are "WIP" still16:07
Saviqmzanetti, wassup?16:07
fgintherSaviq, ah, the dist-upgrade wasn't done as part of the job itself. I can insert one in16:07
mzanettijust wanted to say that the preview branches are both ready for review now.16:08
Saviqfginther, wherever it was made, it doesn't seem to have worked16:08
Saviqmzanetti, yeah, saw that and they're on my queue16:08
fgintherSaviq, hmm, ok I'll see what I can find16:08
greybackmterry: you'll need to talk to some of the mir team for details. I think when screen blanked, the Mir compositor stops. When that happens, clients frame swapping is blocked, as the compositor is not requesting new frames from the client16:09
Saviqfginther, what I mean - http://10.97.2.10:8080/job/autopilot-testrunner-otto-saucy-fjg/71/artifact/results/sysinfo/dpkg-l.postsetup/*view*/ shows versions of libunity from August16:10
kgunnmterry: share that in #ubuntu-mir16:10
mterrykgunn, yup16:10
fgintherSaviq, sorry, I'm not sure what happened, looking more carefully this time16:13
Cimimzanetti, I sent something16:14
Cimimzanetti, not sure you received one or two mails, pick the one with the cropped imaged in case16:14
Saviqmhr3, re: use-thumbnailer - you really think we should be doing this at this level? shouldn't either a) the renderer be able to do its thing or b) the scope be responsible for it?16:14
Saviqmhr3, also, did you decide with Jussi that there's no need for url encoding the path etc? just take file:/// and replace with image://thumbnail/?16:16
mhr3Saviq, no strong preference here, jussi wanted it at this level, i don't see why not, having it this central is quite nice16:17
mhr3Saviq, i have my doubts about the encoding, but apparently i didn't convince him why is it necessary16:18
fgintherMacSlow, I'm shooting for a fix by tomorrow. The fallback to the VM test should work, but I haven't seen a run make it all the way through yet. will keep monitoring16:20
MacSlowfginther, ok thanks16:21
Saviqmhr3, I think there's one ~simple reason - it should (could) support other schemes than just file://16:23
nic-doffaypete-woods, mind reviewing that fix for me?16:23
mhr3Saviq, think i didn't mention that? :P16:23
mhr3Saviq, he's no easy to convince16:23
Saviqmhr3, right16:23
pete-woodsnic-doffay: sure16:28
Cimimzanetti, received the mail?16:33
Cimimzanetti, I quickly tried putting the code of the drag in __init__.py, but it's a lil bit more complicated to me since I never used python and classes are different. I think its simpler to copy the code for now and wait for a rewrite in qml16:34
nic-doffaymzanetti mind top approving this dude? https://code.launchpad.net/~nicolas-doffay/unity8/infographic-colour-fix/+merge/18860516:43
mzanettiCimi: thanks for the screenshots!16:50
karniHey guys, this is my first MR into unity8. Am I missing anything? Not familiar with potential project specific workflows. https://code.launchpad.net/~unity-team/unity8/fix-preview-aspect-ratio/+merge/18865716:51
mzanettiCimi: you can put it in emulators/__init__.py and then access it with self._drag()16:51
mzanettikarni: this is quite an unfortunate time for this merge16:52
karnimzanetti: Oh, why is that?16:52
mzanettikarni: we're reworking that code: https://code.launchpad.net/~unity-team/unity8/fix-genericpreview/+merge/18835516:52
karniaha16:52
* karni looks16:52
Cimimzanetti, ah ok16:53
=== dandrader|lunch is now known as dandrader
Cimimzanetti, but test_hud.py doesn't subclass the emulator16:57
karnimzanetti: Does MoviePreview still use the movie cover for the Image { id: previewImage } ?16:57
Cimimzanetti, not sure I can access it16:57
mzanettikarni: yes16:59
mzanettiCimi: hmm... odd.16:59
Cimimzanetti, what? https://code.launchpad.net/~cimi/unity8/unity8.hud-2_hint-reveal-commit/+merge/187488/comments/43144816:59
mzanettiCimi: just checked the code... it seems that they do inherit emulatorbase16:59
Cimiok17:00
CimiI'll try then17:00
mzanettiCimi: yeah... that's the broken jenkins... I think its fixed by now. just wait for the next run17:00
karnimzanetti: In that case I'm afraid this code will suffer from the same minor problem, but I could propose my changes against your branch, and make your branch prerequisite. How does that sound? (Have you maybe looked at the screenshots I included in my MR?)17:01
karnimfisch: FYI ↑17:01
=== alan_g is now known as alan_g|EOD
Cimimzanetti, ok works in __init__.py17:07
mzanettiCimi: yay :)17:08
* Cimi --> GYM17:08
CimiI pushed17:08
Cimilet's hope jenkins will not complain17:08
Cimiall tests pass on my device17:08
mzanettikarni: yeah, would be great if you could rebase it on my branch17:09
karniyep17:10
mhr3mzanetti, testing the previews branch, i don't see titles for scope previews17:14
mzanettimhr3: good catch... fixing17:15
mhr3mzanetti, shouldn't also all the button be some kind of dropdown?17:15
mhr3buttons*17:15
mzanettimhr3: we don't have those buttons yet. not sure if I should use the OptionSelector17:16
mzanettimhr3: but that's another bigger change I think. making that work with the progressbar and everything17:16
mhr3mzanetti, could you at least make it consistent in app preview?17:16
* mzanetti checks17:16
mhr3mzanetti, cause apps now do two buttons per row17:16
mzanettioh17:17
mhr3mzanetti, i mean generic preview does it right17:17
mzanettimhr3: yeah... got it... make tryAppPreview shows the issue17:18
mhr3i test on the real thing ;P17:18
mzanettimhr3: are you testing it on the phone?17:19
mhr3nah, not that much real :)17:19
mhr3mzanetti,17:20
mhr3file:///tmp/fix-genericpreview/Dash/Generic/GenericPreview.qml:57: TypeError: Cannot read property 'numRatings' of undefined17:20
mhr3file:///tmp/fix-genericpreview/Dash/Generic/GenericPreview.qml:55: TypeError: Cannot read property 'rating' of undefined17:20
mhr3GenericPreview shouldn't touch ratings, it's specific for other preview subclasses17:21
mhr3mzanetti, btw are you ok with this irc review? :)17:21
mzanettimhr3: can you please put this stuff into the merge17:21
mzanettiheh17:21
mhr3yea...17:21
mzanettimhr3: how do you get multiple buttons on the desktop?17:24
mzanettimhr3: installing apps doesn't work for me17:25
mhr3mzanetti, files previews, that uses generic preview17:25
mhr3mzanetti, weird now i get again two buttons per row17:30
mhr3mzanetti, i could swear i was getting just one a while ago17:30
mzanettimhr3: yeah... there was a mess17:30
mzanettimhr3: try pulling now. should be better17:31
mhr3mzanetti, i'm also not getting title on the generic preview from time to time17:33
mzanettimhr3: is there anything special I need to do?17:33
mhr3mzanetti, i don't see any buttons now17:34
mhr3after puling17:34
mzanettihuh?17:34
mhr3no buttons at all17:34
mhr3mzanetti, they do work in apps17:35
mhr3s/work/show up/17:35
mhr3mzanetti,17:36
mhr3file:///tmp/fix-genericpreview/Dash/Generic/GenericPreview.qml:59: ReferenceError: root is not defined17:36
mzanettiI see17:36
=== jhodapp is now known as jhodapp|lunch
mhr3mzanetti, i added a few more to the review17:51
mzanettimhr3: cool, thanks. will try to fix everything today still17:51
mhr3anyway, time for me to go17:51
karnimzanetti: there's no longer the ^ tick at the top to close the preview?17:59
mzanettikarni: nope. that's gone18:00
karnimzanetti: Too bad. I'm quite sure it was design decision, but I personally thing this is much worse UX. I can imagine the transluent "dismiss" area is not immediately noticable for a new user.18:00
karniBut, no change, no progress!18:01
mzanettikarni: well... it's tapping outside the preview basically which I think is a pretty common pattern18:01
karniYes, I just consider it a bit small (perhaps the fact that it is only at the bottom).18:03
karnimzanetti: I'll actually consult now, as my change may not be applicable anymore, as the preview image is no longer cropped :)18:03
karnimzanetti: Do we have ETA when this will land?18:04
mzanettikarni: I'm hoping for tomorrow18:04
karnimzanetti: That would be slick.18:04
karnimzanetti: Ok, cool. I'm deleting my brach, as it no longer applies. The header is gone and preview image of a "poster ratio" fits great by default. Nicely done.18:07
mzanettikarni: thanks18:08
fgintherSaviq, this one passed: http://10.97.2.10:8080/job/autopilot-testrunner-otto-saucy-fjg/74/?18:33
fgintherSaviq, I figured out the problem with the old libunity9 (update was getting lost when the container shutdown)18:34
* greyback offline for a while18:40
=== jhodapp|lunch is now known as jhodapp
Saviqfginther, yeah, thought so18:57
Saviqfginther, so, you switching us back to hardware?18:57
fgintherSaviq, that was my plan.18:59
Saviqfginther, yay, we're backed up pretty badly again...18:59
fgintherSaviq, the big general problem right now is x86 build capacity. thankfully we're getting some help soon there18:59
Saviqfginther, right, it's pretty interesting that armhf overtook x86 ;)19:00
thomikgunn: https://code.launchpad.net/~gerboland/python-ubuntu-platform-api/add-mir-pkg/+merge/18869519:11
thomikgunn: once that merges, We need someone Qt shaped to look into the qt issue Gerry saw. I'll try and look into it on my phone, but I'm no Qt expert19:11
kgunnthomi: crap19:12
thomikgunn: now's not the time, but I really thing someone in your dept should take over the python-ubuntu-platform-api project :)19:12
kgunnSaviq: assuming your still on any recommendations for a more americano time zone helper on Qt ?19:13
Saviqkgunn, some guys on bfiller/Chicken team - boiko, renato, tiagosh19:14
Saviqkgunn, and dandrader (assuming he's not climbing) and mterry of course19:16
dandraderSaviq, I'm here19:16
kgunnso for those guys http://pastebin.ubuntu.com/6179755/  this is what is seen when launching AP on unity8 .... suspect library paths set causing Qt to fail to find where the QPA platform plugins are saved (usually /usr/lib/*/qt5/plugins/platforms)19:16
boikoSaviq: I'm here too19:16
Saviqdandrader, yeah, I'm just not sure you still will when they need you :)19:16
* dandrader reads backlog19:16
kgunnthomi verify this...but, dandrader you should be able to take the latest image, rebuild & adb push the python-ubuntu-platform-api using this branch https://code.launchpad.net/~gerboland/python-ubuntu-platform-api/add-mir-pkg19:18
kgunnthen run AP tests....19:18
kgunnand should get the failure described above19:18
thomikgunn: dandrader: correct. you probably already have this set up, but you'll need to cross-compile, since it's armhf only19:18
thomidandrader: I'm essentially doing the same thing, but I'm not a Qt expert. If you find anything, please let me know, and I'll do likewise.19:19
thomikgunn: dandrader: in case you don't want to build it yourself, get the new hotness here: http://people.canonical.com/~thomir/python-ubuntu-platform-api_1.1daily13.06.13-0ubuntu1_armhf.deb19:23
dandraderthomi, should I flash cdimage-touch or ubuntu-system?19:24
thomidandrader: shouldn't matter. I have ubuntu-system but with a RW root19:24
kgunnagree it shouldn't matter19:24
kgunnmterry: ping19:30
dandraderthomi, is it unity8-mir or unity8-SF?19:32
mzanettimterry: ping19:34
thomidandrader: it should now work on top of both19:36
thomidandrader: the bug was that previously, under unity8-mir, tests would hang19:36
=== dandrader is now known as dandrader|afk
kgunndandrader|afk: sorry yeah...this is all about AP not running on unity-mir, which is blocking mir to be default19:44
=== popey_ is now known as popey
mterrykgunn, mzanetti: hi19:46
mzanettimterry: can you think of anything in the greeter that could cause the cpu spinning?19:47
mterrymzanetti, the edge demo...19:47
mzanettimterry: interesting thing is that it stops when you swipe away the greeter19:47
mzanettiwhen you lock the device again it starts again spinning19:47
mzanettimterry: but the edge demo wouldn't do that when its not shown?19:48
kgunnmterry: i was curious if you could share the latest story on lightdm/greeter landing in touch19:48
mterrymzanetti, it shouldn't.  It's not even created when not in use19:49
kgunnstrehl was asking if we were planning on lightdm being in touch (i think its a must from security)19:49
=== dandrader|afk is now known as dandrader
mterrykgunn, not for v119:49
mterrykgunn, well, to be clear, lightdm is in touch v119:49
mterrykgunn, just not the greeter19:49
kgunnmterry: ack19:50
mterrykgunn, so you're talking post v1?19:50
dandraderkgunn, ah, ok19:50
kgunnstrehl was thinking it makes work for him  on the indicator side, basically channelling those through account service to make them work again19:51
mterrymzanetti, the main culprit would be animations, right?19:51
mzanettimterry: not sure... but yeah, probably19:51
mterrymzanetti, or maybe something in a plugin spinning?  Like lots of dbus traffic or something?19:52
mzanettimterry: no... QtRenderThread19:52
=== kdub is now known as kdublunch
mterrymzanetti, you could try to disable parts of it, like the lockscreen or the infographic19:52
mzanettimterry: yeah, that's what I did now. problem is I need to wait for half a day until it happens again19:52
mterrymzanetti, ?19:52
mzanettithat makes commenting in/out stuff very tricky19:52
mterrymzanetti, hard to reproduce?19:52
mzanettimterry: yeah. I haven't found a way to reproduce19:53
mzanettiit just starts after a couple of hours19:53
greybackmzanetti: the 100% cpu thing has been fixed by ricmm and kdub19:54
mzanettigreyback: thats something else19:54
mterrykgunn, true, it will require some work in indicator side.  I'd have to check, but last thing I remember is that we didn't have final designs from Design for how indicators look in greeter vs session19:54
mzanettigreyback: I have a 40% cpu thing19:54
greybackmzanetti: oh dear19:54
kgunnmterry: i think i'll throw something on the calendar to synch with strehl...get me on the same page also :)19:54
mterrykgunn, OK19:55
mterrymzanetti, that's tough, because if you don't see it, you don't know if you've fixed it or not19:59
kgunnthomi: no problem...just verifying if this is what i'm supposed to see, so i loaded your deb on my nexus 4 (i haven't switched to mir still using sf)19:59
mzanettimterry: exactly19:59
mzanettimterry: so... by now I'm sure that it's the QtRenderThread and it happens only when the greeter is created19:59
kgunnthen i run "phablet-click-test-setup", then "phablt-test-run autopilot"19:59
mzanettimterry: the amount or around 40% cpu kinda indicates an animation too20:00
mterrymzanetti, agreed20:00
mzanettimterry: but I don't see anything running and have put debug prints in all timer's onTriggered and everything20:00
kgunnand i see "ran 0 tests in 0 seconds, OK"....surely this is not ok and i did something wrong ?20:00
thomikgunn: 'autopilot' should be the test id you want to run.. like 'unity8' or 'dropping_letters'20:01
kgunnthomi: thanks...i was just guessing at that...cool...now i got ran 15 tests in 1.7 secs and all failed :)20:02
thomikgunn: yeah, I'm looking into that.20:02
kgunnthomi: so we should tell dandrader if he gets it to that point its a success ?20:04
dandraderkgunn, I'm still downloading&flashing my phone20:04
thomikgunn: I'm not sure of the cause yet, sorry20:04
thomiveebers: perhaps you can lend us your brain for a moment?20:05
veebersthomi: sure thing20:05
mterrymzanetti, I'm assuming you've already racked your brain for things that were different or possible triggers the few times you did see the CPU jump?20:05
thomiveebers: we all get 100% failure rates on the unity8 test suite, using autopilot that's on the imahge20:05
mzanettimterry: yeah... it seems total random. sometimes without apps running, sometimes with many apps running20:05
veebersthomi: jeez, wth.20:06
veebersthomi: flashing now20:06
thomiveebers: yeah - it's making it hard to verify if this python-upa thing is working or not :-/20:07
veebersthomi: ugh I can imagine20:07
thomiveebers: it's not unity8 specific either - I can't get any of the AP tests to pass20:07
thomiseems like the proxy objects returned by launch_test_application are always None20:07
thomiw.t.f?20:07
veebersthomi: I'm just flashing now, should be able to poke around in a couple of minutes20:08
mzanettimterry: well, if you could try to watch "top" on your device every once in a while and maybe try to find some pattern too, that would be great20:10
mterrymzanetti, I will play with it, yeah.  Stock image?  mir enabled?  writable?20:12
mzanettimterry: I'm using SF mostly20:12
mzanettimterry: not sure if its happening with mir. probably it does20:12
mzanettimterry: writable or not shouldn't matter20:12
greybackmzanetti: is the renderer causing it?20:12
mzanettigreyback: yeah20:13
mterrymzanetti, shouldn't, but who knows  :)20:13
mzanettimterry: well, I always make it writable to be able to work with20:13
greybackmzanetti: so QML_RENDERER_TIMING=1 shows output all the time. In that case some rogue animation must be running20:13
mzanettigreyback: interesting20:14
mterrymzanetti, yeah OK.  If it wasn't writable, I could imagine some code having a problem with it, but with writable and seeing it, I'm sure that's not the problem20:14
mzanettigreyback: do you know where to put it for the upstart user job?20:14
mzanettimterry: yeah, I agree20:14
greybackmzanetti: 1 sec20:14
greybackmzanetti: /usr/share/upstart/sessions/unity8.conf20:16
mzanettigreyback: awesome, thanks20:16
greybackmzanetti: you could also "stop unity8" and then run it in your shell20:16
mzanettigreyback: as it happens only after a couple of hours I don't want to rely on an attached shell20:16
mzanettiI could install screen tho20:16
greybackmzanetti: oh that's annoying20:16
greybackmzanetti: unfortunately QML_RENDERER_TIMING=1 won't show you what animation is causing the problem :(20:17
mzanetti:/20:17
mterrymzanetti, which bug number is this again?20:18
kgunnthomi: veebers does the ui have to be in a particular state ?20:18
kgunnif i run unity8 AP locally20:18
mzanettimterry: https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/121987120:18
ubot5`Ubuntu bug 1219871 in unity8 (Ubuntu) "when idle with screen blank, unity8 generates hundreds of context switches per second" [High,Confirmed]20:19
veeberskgunn: we stop unity8 as the tests launch unity with -testability, I guess also that way the shell is in a known state (locked)20:20
kgunnveebers: ok...will let you debug...like thomi said...this is pretty hot, linked to making mir default now20:23
olliveebers, no pressure...20:23
ollinot20:23
dandraderthomi, ok, I got the latest image flashed and your python-... package installed. what's the next step?20:24
* dandrader has never run autopilot tests on his device before20:24
thomiotp, one sec20:25
kgunnrun "phablet-click-test-setup", then "phablt-test-run unity8"20:25
kgunndandrader: ^20:25
kgunndandrader: however, AP running locally just seems flat out broken atm...20:26
kgunndandrader: so veebers is debugging20:26
kgunndandrader: when were you leaving for the day ?20:26
dandraderkgunn, shortly20:26
dandraderkgunn, by "locally" you mean on your desktop/laptop?20:27
kgunndandrader: any freedom to join a bit later?20:27
kgunndandrader: yes locally = run manually on the phone20:27
kgunnvia those phablet commands which are just pumping adb commands to the phone20:27
dandraderkgunn, ah... so I run "phablet-click-test-setup"  and "phablet-test-run unity8"  from my desktop.. ok20:28
kgunndandrader: right with the phone connect20:29
dandraderkgunn, yeah, "phablet-test-run unity8" fails completely here as well20:32
dandraderthomi, "ImportError: No module named gi.repository"20:33
dandraderthomi, are you getting this as well?20:33
=== kdublunch is now known as kdub
* dandrader installs python-git20:34
thomidandrader: yeah - that's one for veebers. veebers - any ideas?20:35
veebersdandrader, thomi: looking20:37
thomiveebers: that's in the unity8 test suite20:38
veebersthomi: aye, I guessed that much :-) I'm looking where it is etc.20:38
veebersright so it's been there for a while20:39
veebersso it appears that the gi.repo stuff isn't included in the image20:40
thomiveebers: ok, lets file a bug and move on - it's clearly not the systematic failure we're looking for20:41
* dandrader installs python3-gi and python-gi20:42
veebersthomi: ok, if I flash using:  `phablet-flash cdimage-touch` the unity8 tests run. But that's not what you are experiencing20:43
thomiveebers: huh, I'm using the ubuntu-system image20:43
veebersthomi: right, I'm just reflashing now20:43
kgunnveebers: i flashed cdimage...it didn't work for me20:43
kgunnaltho...i always wipe20:44
veeberskgunn: oh? oh with -b?20:44
kgunnboth in real life and in flashing phones :)20:44
veeberskgunn: ^_^20:44
kgunnnot -b but --wipe20:44
kgunnalso, i use pending20:44
veeberskgunn: ah ok, trying that now too20:45
kgunndandrader: so when i installed python3-gi it said...already latest, but python-gi it installed python-gi & python-gi-cairo20:46
dandraderok, now I'm past that gi.repo failure20:46
mterrymzanetti, I reproduced!  Following cking's suggestion of 2 photos + gallery + timeout.  After swiping greeter away, the high CPU lasted for quite a few seconds, but then went away20:46
dandraderso now instead of 15 tests run and 15 failed I get 24 run, 24 failed...20:46
kgunndandrader: me too20:47
mzanettimterry: you don't want to know how often I tried that20:47
mterrymzanetti, heh20:47
mzanettimterry: ah no... if it's just there for a few seconds, its not the issue20:47
mzanettimterry: this stays forever20:47
mterrymzanetti, well, it stayed while blank20:47
mterrymzanetti, but after waking and swiping, it stayed for a few seconds20:48
veebersdandrader: could you please run this command and pastebin the output: autopilot run -v unity8.shell.tests.test_hud.TestHud.test_show_hud_appears20:48
mterrymzanetti, I thought you said it went away after swiping too20:48
mzanettimterry: yeah... that's correct, sorry20:48
mzanettiwhy the heck doesn't it happen for me?20:48
mterrymzanetti, just tried it again by just opening the same gallery and waiting20:48
mterrymzanetti, you've got bad luck20:49
dandraderveebers, it's the same error for all other tests as well http://paste.ubuntu.com/6181240/20:49
* mterry will try to confirm percent reliability before he changes anything for testing20:49
mzanettimterry: do you close or minimize the gallery or keep it in foreground?20:49
mterrymzanetti, keep it in foreground (though I note that unity did not have a thumbnail for it in "running apps")20:50
mzanettihmmm20:50
mzanettiall thumbnails here for me20:50
dandraderhmmm but by running autopilot directly instead of through that script I do get that extra line of info20:50
mzanetti(I just tried it again with 2 pictures + gallery - not happening)20:50
dandrader"RuntimeError: Expected library path does not exists: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks"20:51
veebersmzanetti: sorry to interrupt, has the location of the qml mocks moved?20:51
dandraderthomi, where do I get it from? ^^^20:51
mzanettiveebers: not that I know of, no20:51
veebersdandrader: yeah that's a little odd, ah20:51
thomidandrader: that's a question for veebers20:51
veebersdandrader: how did you install the unity8 tests?20:51
mzanettimterry: managed to make the screenshots disappear. waiting...20:51
dandraderveebers, running  phablet-click-test-setup from my desktop20:51
veebersdandrader: ok cheers20:52
mzanettimterry: nope. got the black screenshots now but it's still not happening20:53
veebersthomi: would you happen to know how/if phablet-click-test-setup resolves deps.? I.e. unity8-autopilot requires unity8-fake-env20:53
veebersdandrader: to answer your previous question, unity8-autopilot requires unity8-fake-env too20:53
veebersthat's the package that provides the mocks etc.20:53
thomiveebers: it's supposed to. sergiusens ? ^^20:53
mterrymzanetti, have you ever reproduced it when manually trying to blank?  (I'm wondering if I really need to wait)20:54
veebersthomi: ah ok, I'll bother sergiusens :-)20:54
sergiusensveebers, thomi no, no deps20:54
mzanettimterry: nope, I haven't so far20:54
mterrymzanetti, ah well20:54
sergiusensveebers, is that new?20:54
mzanettimterry: but well, once it happens you can retrigger it with pressing the power button20:54
veeberssergiusens: the dependency? no20:54
mzanettiso might work20:54
thomiOK, so the problem seems to be that any application launched with autopilot on the mir stack is never displayed20:54
thomikgunn: ^^^20:54
sergiusensveebers, is this for running unity8 tests themselves?20:55
veeberssergiusens: correct20:55
thomikgunn: who can we get to help diagnose this problem?20:55
sergiusensveebers, and what is unity8-fake-env ?20:55
kgunnthomi: wait...are you trying to run an application out of shell ??20:56
thomikgunn: yes20:56
sergiusensveebers, I've only worried of click apps now... I don't plan on setting up anything for things that require breaking into rw20:56
veeberssergiusens: (and mzanetti can correct me if I'm wrong) it provides some fake env stuff/mocks so we can test the lock screen etc.20:56
kgunni don't think that's possible at all.... racarr ^20:56
kgunnthomi: you'd have to launch mir just like shell20:57
mzanettiveebers: yep, all correct20:57
kgunnfrom the app or AP or something....20:57
kgunnyou need the shell to do all that mir stuff20:57
veebersmzanetti: for on the device, I guess the only needed mock would be for the lock screen?20:57
thomikgunn: but it should work if I launch it via upstart, right?20:57
mzanettiveebers, sergiusens: it's mostly mocking the stuff that's not working on desktop yet20:57
mzanettiveebers: yes, that would be the best20:58
sergiusensmzanetti, so we don't use it for desktop testing?20:58
dandraderhmm, so I suppose using phablet-click-test-setup is not the way to go for running unity8 autopilot tests as it misses several needed packages (python-gi, unity8-fake-env)20:58
sergiusensoh, mostly20:58
veebersok, but to test the lock screen will still need the mocks20:59
mzanettisergiusens: ideally this should go away in the long run. for now it mocks stuff where the lower system is not set up yet as we'd need it20:59
mzanettisergiusens: i.e. the greeter split into a separate process talking with lightdm20:59
sergiusensmzanetti, veebers well from the looks of it, I can't support it easily with ro images20:59
kgunnthomi: i don't think that would be enough...but i might be wrong21:00
mzanettisergiusens: don't you have to install the autopilot package anyways?21:00
thomikgunn: in that case, (excuse my language), we're kind of fucked21:00
sergiusensmzanetti, it's preinstalled21:00
mzanettioh... do we have that much space?21:00
sergiusensmzanetti, as it is today, the image is perfectly capable of running tests without breaking into rw21:01
thomiwe need to be able to launch applications... otherwise, how are the autopilot tests supposed to launch the application under test?21:01
veeberssergiusens: another related question. the unity8 tests use gi.repository and ubuntu-system image doesn't have that apparently. Where would I file the bug for that?21:01
sergiusensmzanetti, we don't install the tests, just autopilot21:01
mzanettisergiusens: yeah, and how do you install the tests?21:01
sergiusensmzanetti, phablet-click-test-setup21:01
mzanettisergiusens: are all apps now click apps?21:02
mzanettidialer-app etc21:02
dandraderveebers, so that's what I'm getting now21:02
=== davmor2_ is now known as davmor2
dandraderhttp://paste.ubuntu.com/6181279/21:02
dandraderveebers, it seems the --testability is not getting to the place it's intended21:02
sergiusensmzanetti, missing are webbrowser (not going to happen), dialer, messaging and addressbook21:03
sergiusensthey are there, just not installed21:03
mzanettisergiusens: and unity21:03
kgunnthomi: let's make sure we're really f'd first... greyback ^ will we be able to launch apps w/o shell ?21:03
mzanettisergiusens: I really don't think we can package unity stuff in click packages21:03
sergiusensmzanetti, need to wait for usermetrics to get it's apparmor push and camera would be ready21:03
mterrymzanetti, I rebooted and can't reproduce.  I even deleted all photos and tried again.  Have you noticed if it's always after the first boot or not?21:03
sergiusensmzanetti, well, unity8 isn't supposed to be a click package21:03
mzanettisergiusens: but we have to install the autopilot tests package21:04
sergiusensmzanetti, that's a special case for which you need to break into rw21:04
mzanettisergiusens: ok. and you can't include unity8-fake-env in there too?21:04
sergiusensmzanetti, so veebers would have to do the usual phablet-test-run -n unity8-autopilot and that should get him going21:04
dandraderveebers, so "'-testability" is being processed, and rejected, by Mir instead of staying with unity8's main.cpp as it's intended to.21:05
dandraderthomi, ^21:05
dandraderor is it a harmless warning that's been always there21:06
veebersdandrader: no that's a new output/warning21:07
sergiusensmzanetti, you could, or you can  pull-lp-bin it and dpkg-deb -x it and set QML2_IMPORT_PATH (or DIR... I forget) and it should be picked up without breaking confinement21:07
sergiusensveebers, ^^21:07
sergiusensmzanetti, but it seems veebers needs more stuff installed for testing unity821:08
veeberskgunn, mzanetti: this looks like a mir/unity8 issue (-testability argument being rejected )21:08
veeberssergiusens: heh it's not that _I_ need it, it's that the unity8 tests need it ;-)21:09
thomihang on21:09
thomiveebers: on my phone, I see "Loading testability driver."21:09
veebersthomi: dandrader sees something different, which is what I'm referring to21:09
thomierp.21:09
veebersI should have been more specific21:09
mzanettimterry: what do you mean with "after the first boot"?21:10
kgunnthomi: veebers racarr dandrader sergiusens mzanetti ....would a quick hangout be useful ?21:11
greybackkgunn: yes, apps launched with upstart, and apps with the desktop_file_hint will launch and appear in shell. The former is preferred21:12
dandraderso it seems "-testability" should be removed from the args list before it's passed on to createQMirServerApplication....21:12
mterrymzanetti, like, I'm assuming it's not something that just happens after a fresh install21:12
thomikgunn: probably, yes21:12
mzanettimterry: no no. happens all the time21:12
sergiusenskgunn, if you want sure21:12
sergiusensbut need to get some coffee first21:13
thomioooh, can we have a coffee break? hangout in 5 minutes time?21:13
* thomi is jonesing for more caffeine21:13
kgunnthomi: mind hosting the hangout ??...i'm on the mir external engineering call atm21:16
* Saviq feels like there's too many people still here...21:18
mhr3mzanetti, tried your fixes, works pretty great now.. gj ;)21:19
mhr3mzanetti, the only thing i miss is some kind of indication that an image is being loaded :)21:19
Saviqgreyback, mzanetti, veebers, thomi, sergiusens, if you guys need me for anything - I'm a ping away21:20
Saviqmhr3, http://bazaar.launchpad.net/~unity-team/unity8/trunk/revision/35621:20
thomisure21:20
Saviqmhr3, only mzanetti is too lazy to enable it in his rework ;P21:21
Saviqjeez, 8 branches in queue for merging... and each autolanding takes 3 hrs21:21
veebersthomi: I can here the hangout ringing noise, I cant see the popup though21:21
thomihttps://plus.google.com/hangouts/_/16ed3d4ac7bbdd50e109aaabbce63c149b8fb526?authuser=1&hl=en21:21
veebersthomi: cheers21:22
thomiveebers: sergiusens, mzanetti, dandrader ^^21:22
mhr3Saviq, you already made him faith from not sleeping and just writing code :P21:22
Saviqmhr3, I did no such thing - he's just too lazy to get up from his desk21:22
mhr3Saviq, exactly, you need to task him with something super boring so he'd want to run away :)21:23
thomiSaviq: can you join us please?21:24
thomion that link? ^21:24
Saviqthomi, coming21:26
veeberssergiusens: so, just to consolidate re: unity9-fake-env and gi.repository. Are you the guy to bother about that?21:42
mterrymzanetti, odd.  I just got a 7%-10% consistent surfaceflinger, but no unity821:45
=== salem_ is now known as _salem
sergiusensveebers, really depends on what your goal is21:46
sergiusensveebers, if you plan to use apt and make the image rw, then you need to add those as deps to unity8-autopilot21:46
veeberssergiusens: to get the unity tests running on the device flashed with ubuntu-system :-)21:47
sergiusensveebers, ubuntu system can run in rw and ro ;-)21:48
sergiusensveebers, but if ro is the path, I can look into it, but I need to finish the click stuff first (which is sort of a dep for you to run in ro too)21:49
veeberssergiusens: ok, I feel that there should be a consistency for running autopilot tests on the ubuntu-system images (i.e. using phablet-click-test-setup)21:51
Saviqthomi, ok, false alarm21:56
sergiusensveebers, give the the exact name of all the packages you need and I'll look into it (packages plus depends)21:56
Saviqthomi, I can launch:21:56
Saviq$ /usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene /usr/share/calendar-app/calendar.qml --desktop_file_hint=/usr/share/applications/calendar-app.desktop21:56
Saviqthomi, and it works fine21:56
thomiSaviq: hmm, let me try21:57
Saviqthomi, there's some focus weirdness that I believe greyback was fighting21:59
thomiSaviq: yeah, for me too, so the issue appears to be with the test suite21:59
Saviqthomi, yeah, the desktop file needs to be valid21:59
Saviqthomi, and the path correct21:59
thomispecifically, the ubuntuuitoolkit test suite doesn't install all it's dependencies21:59
thomiright21:59
* thomi asks the CI team21:59
veeberssergiusens: awesome, will do. thanks22:01
Saviqnote to self: never look for "large" in images.google.com just to find a large image...22:07
thomiwooooOOOOoooo!22:08
thomigot tests running :)22:08
Saviqthomi, good!22:08
thomijust running the ubuntuuitoolkit test suite for a start22:08
sergiusensSaviq, lol22:13
sergiusensSaviq, not late at night in a dark room either22:13
Saviqsergiusens, never22:13
Saviqsergiusens, things cannot be unseen22:13
olli:)22:22
olliso, thomi, Saviq, conclusion: issue in the actual test suite but not in the execution framework?22:23
Saviqolli, yeah22:23
thomiolli: there are still problems though, we're not out of the woods yet22:23
Saviqolli, we're just more strict now22:23
olliwho is taking the lead to fix the suite and other suites so we can finally get a regression view22:23
olliSaviq, understood22:24
ollithomi, ack22:24
ollikgunn, I guess that's a q for you ^22:25
ollieven though while the suites might not be "ours" (if such a term exists at all) it is in our interest to get them moving asap as they are blocking us22:25
* Saviq waits for a phoronix article...22:26
Saviq5 mins past the announcement, it should be right around the corner22:27
thomiolli: My goal is to make sure that all the test suites run by EOD. I'll propose MPs for any changes I have to make22:30
ollithx thomi22:30
veebersSaviq: hey, following up a comment that may have gotten lost, based on logs from dandrader (http://paste.ubuntu.com/6181279/) it appears the -testability arg is ignored/handled incorrectly22:31
thominw22:31
olliSaviq, yeah, I have 20$ on 10min22:31
Saviqveebers, yeah, bug #122622722:33
ubot5`bug 1226227 in unity8 (Ubuntu) "libmirserver parses arguments and fails if it's not something it understands" [Medium,Fix committed] https://launchpad.net/bugs/122622722:33
veebersSaviq: yeah just found that :-) sweet, thanks22:33
greybackveebers: there's a new release of mir which should fix that. Please dist-upgrade and try again22:33
veebersgreyback: ack, wasn't actually my device. Will attempt to re-flash and reproduce22:34
veeberssergiusens: still around?22:34
kgunnolli: so i see thomi has volunteered for that... thomi do you need any other help ?22:39
sergiusensveebers, leaving for a bit, will be back in 2h22:40
veeberssergiusens: Ack will email :-)22:42
thomikgunn: I'll know more in about 60 seconds...22:42
thomikgunn: so, my problem right now is that when I boot the phone I don't get a shell22:43
thomiis this a known problem?22:43
thomiupstart says unity8 is already running22:43
thomibut I have a blank screen22:43
thomioh wait, it just took *ages* to come up :-/22:44
thomilike... a whole minute or so22:44
kgunnthomi: never had that happen weird22:44
thomikgunn: I'm just flashing latest image to the phone22:45
thomiI should know more in a few minutes time22:45
* kgunn hmmm went from 60 seconds to a few minutes22:46
thomiyeah22:48
thomisoftware development (especially debugging) is like the windows file copy dialog22:48
thomi60 seconds, 2 minutes, 10 seconds, three days....22:49
thomiit would be faster if my Internet was not so terrible22:50
thomikgunn: OK22:53
thomikgunn: the blocker at the moment is that the -testability option doesn't get passed to Qt correctly22:53
veebersthomi: is that related to bug #1226227? If so greyback mentioned there is a mir release that fixed that, a dist-upgrade should sort you out22:54
ubot5`bug 1226227 in unity8 (Ubuntu) "libmirserver parses arguments and fails if it's not something it understands" [Medium,Fix committed] https://launchpad.net/bugs/122622722:54
thomipossibly, let me try that22:54
kgunnthomi: that mir fix should be in the latest image...22:55
kgunnthomi: also...mir literally would crash if you passed it the wrong arg22:56
thomikgunn: hmmm, I don't think this is the same. I don't see how libmirserver would be involved, since i'm just running qmlscene22:56
kgunnright22:56
kgunnshit!22:57
thomiyeah22:58
kgunnthomi: it was this one22:58
kgunnhttps://code.launchpad.net/~mterry/unity8/load-testability/+merge/18806422:58
kgunnit was approved...and should've gone thru...but we got jenkins boned22:58
thomikgunn: that might fix it for unity8, but this is jkust running qmlscene22:59
thomikgunn: essentially, you should be able to run this:23:00
thomi/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene -testability -I/home/modules /usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml --desktop_file_hint=/usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.desktop23:00
thomikgunn: but instead you get this: http://pastebin.ubuntu.com/6181663/23:00
kgunnthomi: so you're saying thats an issue for ui-toolkit ?23:00
thomino, I think it's lower-level than that. Maybe Qt itself? I don't understand how all these things are put together...23:01
thomilet me try some things..23:01
thomiugh. on latest proposed image, unity8 takes *ages* to load... every time23:02
thomikgunn: looks mir related - unity8 log shows this:23:02
thomiterminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >'23:03
thomi  what():  Could not unblank display23:03
thomiand it seems now I have no shell at all23:03
thomiSaviq: still awake?23:03
kgunnkdub: ^ would that make sense with the discussion we had earlier with ricardo23:04
kdubunsure23:04
kdubdefinitely not the cpu usage issue23:05
* thomi reboots the phone23:05
thomikgunn: nope, same thing after a reboot as well.23:07
thomiso now I'm going backwards - no shell at all23:07
kgunnthomi: i don't see how you could ever get a shell with that error...that's in the constructor of the thing in mir that talks to hwc23:09
kgunnwhich would mean...you ain't got no display23:09
kgunnthomi: you on system or cdimage23:10
thomikgunn: system23:10
thomikgunn: I rebooted the phone, and the same thing happens when it reboots23:10
kgunnthomi: ok...gonna flash system here....23:12
kgunnthomi: channel ? default or devel-proposed?23:12
thomidevel-proposed23:12
kgunnexcuse me...meant saucy-proposed23:12
kgunnoh ok23:12
thomiphablet-flash ubuntu-system --channel devel-proposed --no-backup23:12
thomiis what I use23:12
sergiusenskgunn, devel-proposed and saucy-proposed should be the same thing still (aliases)23:14
kgunnright23:14
kgunnrobert_ancell: kdub racarr ...while i'm flashing, have any of you built from trunk (or dev branch) and run on the phone today?23:18
kgunnjust wonder if anyone else saw/sees what thomi sees23:19
kdubhave not, on yesterday's image23:22
greybackkgunn: what does thomi see/23:23
thomigreyback: https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/123390123:23
ubot5`Ubuntu bug 1233901 in unity8 (Ubuntu) "unity8 shell does not start" [Critical,New]23:23
thomijust uploading the logs to that bug now23:24
thomihad hoped that apport would do that for me, I guess not :)23:24
greybackthomi: it's a Mir issue with powerd. powerd blanks the display, Mir can't unblank it. Workaround is to hit the power button and try running shell again23:24
greybackelse unity-mir will need to try something. Agree it's something we need to fix23:25
thomigreyback: I've hit the power button a number of times. does it not retry?23:25
greybackthomi: nope. You might be better off disabling powerd entirely23:25
thomiugh. why does it keep writing to the log file then!??23:25
thomithat makes me think it's trying...23:25
thomiok23:25
greybackthomi: oh, upstart will probably be making it retry23:26
greybackbut unless you press the power button at the right time, it'll keep failing23:26
thomiwell, even with hitting the power button, making sure the screen isn't blanked, I still can't get it to start23:26
thomigreyback: even when I reboot the phone this fails for me23:27
greybackthomi: mind trying something for me? run "stop unity8", and try "QT_QPA_PLATFORM=ubuntumirserver unity8"23:28
Saviqthomi, if it gets prevented to unblank once, it gets into a "Address already in use" thing23:28
Saviqthomi, that only a reboot gets it out of23:28
greybackSaviq: rm /tmp/mir_socket is faster23:29
Saviqgreyback, right, though it'd be something like that ;)23:29
Saviqthomi, but it seemed fine for me when I make sure to have the screen unblanked23:29
thomiahhhhh23:29
thomiso I gotta delete that socket file huh23:29
Saviqthomi, if it fails one, the socket is stale23:29
Saviqthomi, and it will fail subsequently23:30
Saviq*once23:30
thomigreyback: OK, so once I remove the socket file, I can get it to load again23:30
greybackthomi: glad to hear23:30
Saviq/afk23:30
thomibrb23:31
* greyback -> bed23:32
greybacknight all23:32
kgunnrobru: basically....AP on unity-mir still not working....but thomi is trying to help solve that23:33
* thomi is getting increasingly frustrated with the number of things that don't work23:33
thomikgunn: any idea how to disable powerd permenantly?23:34
thomiI'm not spending all my time trying to just start the freaking shell, instead of actually test autopilot :-/23:34
thomiso I'm thinking of the shotgun approach23:34
kgunnthomi: no idea... ricmm_ might have an idea23:34
robruthomi, ok, so your most recent commit on lp:python-ubuntu-platform-api, is that something that is releasable as is, or should I wait for other commits to land on other projects?23:34
thomirobru: that's releasable as-is. It's a nasty nasty hack, but it'll work, and kgunn promises me his team will work on fixing it properly soon ;)23:35
robruthomi, ok, it's in daily ppa now, but I will release it just for you ;-)23:35
kgunnkdub: racarr rsalveti any of you know how to disable powerd to get around the display unblank prob from hwc^23:36
thomips aux | grep unity23:36
thomioops23:36
thomiwrong window23:36
robruphablet   1416  0.3  6.1 262156 61212 ?        Ssl  21:57   0:18 unity823:36
robruphablet   1649  0.0  1.0  99920 10744 ?        Sl   21:58   0:01 /usr/lib/arm-linux-gnueabihf/unity-scope-home/unity-scope-home23:36
robruphablet   1678  0.0  0.9 108172  9860 ?        Sl   21:58   0:03 /usr/bin/unity-scope-loader applications/applications.scope applications/scopes.scope commands.scope applications/runningapps.scope23:36
robruroot      2963  0.0  0.0   1460   508 pts/1    S+   23:36   0:00 grep --color=auto unity23:36
robru;-)23:36
thomisudo rm -rf /23:37
* thomi crosses fingers23:37
robruhey!23:37
robruactually that probably wouldn't be such a big deal on the phablet... could just fix it with phablet-flash ;-)23:38
thomihooray! I got the shell started... it only took an hour23:38
bschaeferthomi, congrats! (im very out of context)23:39
thomikgunn: also, the -testability option earlier is caused by not havign the shell running23:39

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