/srv/irclogs.ubuntu.com/2015/01/08/#ubuntu-unity.txt

coltimhi - I'm having an issue with my 14.10 unity and was wondering if this would be an appropriate place to seek assistance01:05
=== duflu_ is now known as duflu
penghuandoes libbamf can be use in python like libwnck08:06
Saviqpenghuan, there's GI bindings for bamf, so you definitely can use it, whether that's "like libwnck" I'm not sure08:26
facubatistaHolas08:57
MacSlowfacubatista, ola08:59
facubatistaMacSlow, hey :)08:59
tsdgeosfacubatista: isn't it early for your daily hola?09:03
facubatistatsdgeos, it is... but couldn't sleep, and took the oportunity to do some work with somebody in opposite timezone :)09:04
tsdgeos:)09:04
tsdgeosit's a good thing we're spread and you can use your sleeplessness09:04
facubatista:D09:04
penghuanSaviq, thanks! gi binding is enough for me09:25
tsdgeosMirv: Saviq: good news \o/10:03
tsdgeosppa5 doesn't have the black screen of death10:03
tsdgeosso it's really the reduce-relocations bug that crept up10:03
tsdgeosnow we need to find someone with ld expertise i guess10:04
Mirvtsdgeos: \o/ so even without qtdeclarative and unity8 rebuild? I did qtdeclarative rebuild 3h ago but because PPA publishings were broken (until now it's slowly getting back working) it didn't get visible10:05
tsdgeosMirv: yep10:05
Mirvtsdgeos: so it's that removing of reduce-relocations, what about the removing of the -Bsymbolic option?10:05
tsdgeosunity8 still doesn't work because needs https://code.launchpad.net/~aacid/unity8/unitySortFilterProxyQML10:05
tsdgeosMirv: reduce relocations does remove the bsymbolic10:05
tsdgeosor the other way around10:06
tsdgeosnot sure10:06
MirvI mean, also that patch enabling bsymbolic on armhf was disabled, in addition to removing reduce-relocations. I'm first to admit I've no idea about your debugging craze in December and how these two things related to each other :) I'm just wondering whether with the patch remaining in use, but reduce-relocations still removed, the result would be the same or if they go hand in hand.10:07
tsdgeosthey are the same thing10:07
tsdgeossee http://paste.ubuntu.com/9692057/10:07
tsdgeosbasically reduce_relocations means using bsymbolic10:08
tsdgeosso if we remove the patch to enable bsymbolic we need to remove the reduce_relocations call too10:08
Mirvthe patch only affects the test http://is.gd/XFELcp - so my understanding would be that with the patch intact, it allows using reduce-relocations on non-x86 (so that it has an effect). so for armhf, same result for armhf could be achieved by keeping reduce-relocations (enable bsymbolic) but removing the patch so that the bsymbolic test would always return fail on armhf10:12
Mirvanyhow, we most of all care about armhf so debugging that so that the feature could be re-enabled would be nice10:12
tsdgeosyou're going to need someone that understands the linker10:13
tsdgeosif you revert http://is.gd/XFELcp but keep the reduce-relocations in configure10:14
tsdgeosthe armhf build fail10:14
tsdgeossaying "-reduce-relocations was requested but this compiler does not support it"10:14
tsdgeosso if you want reduce-relocations on non-arm (which i guess we do) you need two different configure calls, one for arm and the other for non-arm10:15
Mirvoh, ok! thanks for explaining.10:16
Mirvthat's of course probably how I ended up with that patch in the first place in May for 5.3.0... just forgotten about it10:20
=== vrruiz_ is now known as rvr
mzanettihow can I make the tutorial show up at boot?10:53
mzanettiwithout wiping10:53
mzanettiCimi: ^10:53
Saviqmzanetti, phablet-config11:05
mzanettiSaviq: thanks11:06
tsdgeosi cancel a CI job and it appears as failed :/11:47
Saviqtsdgeos, yeah, that's unfortunate11:48
Saviqtsdgeos, filed a bug #140862711:52
ubot5bug 1408627 in Ubuntu CI Services "Cancelling a -ci job should not vote "Needs fixing"" [Undecided,New] https://launchpad.net/bugs/140862711:52
tsdgeosguys do you think something like http://paste.ubuntu.com/9692360/ makes sense?11:54
tsdgeosSaviq: mzanetti: greyback_: ↑↑11:56
mzanettitsdgeos: without this it segfaults, right?11:56
tsdgeosnot sure about no item11:56
tsdgeosbut without the item.visible11:56
tsdgeosit just "clicks there"11:57
tsdgeosclicking potentially somewhere else11:57
mzanettiright. yeah11:57
Saviqtsdgeos, sounds like a good idea to improve failure info11:57
tsdgeoswhich if the item is not visible11:57
tsdgeosit's most likely not what you wanted11:57
mzanettitsdgeos: definitely a +1 on line 9 and 1011:57
greyback_is odd tho, as invisible item still has geometry11:57
mzanettion the invisible one.. not so sure11:57
mzanettiI think I do that intentionally somewhere11:57
mzanettito make sure the click does not trigger anything11:57
tsdgeosmzanetti: you click on something that's not visible?11:57
greyback_but yeah, no point interacting with invisible things11:58
mzanettiyeah well, it's usually visible11:58
tsdgeosseems like abusing mouseClick11:58
tsdgeosmzanetti: well then you do a expectFail11:58
tsdgeosand click11:58
tsdgeosmaybe?11:58
tsdgeosif you want to check that clicking did nothing?11:58
mzanettiI still need to click, no?11:58
mzanettidunno11:58
tsdgeosyeah dunno :D11:59
tsdgeosi realizeed i was clicking on an invisible item on one of my tests11:59
mzanettior maybe you have a stack of mouse areas or something and want to trigger different things on different states of the app11:59
tsdgeosand i would had hoped someone told me11:59
mzanettiso you use the click() still on the topmost mouse area, regardlesss if that one is visible or not11:59
tsdgeosinstead of just going "oh sure i'll click there"12:00
mzanettiI could live with both I guess12:00
=== MacSlow is now known as MacSlow|lunch
=== alan_g is now known as alan_g|lunch
=== MacSlow|lunch is now known as MacSlow
MacSlowSaviq: since when does the run.sh script no longer start unity8 itself, but only the dash?13:38
SaviqMacSlow, since we messed up https://code.launchpad.net/~saviq/unity8/no-sigstop-main/+merge/24575813:39
MacSlowSaviq, ah ok... trying... thanks13:41
=== alan_g|lunch is now known as alan_g
* Cimi lunch14:14
tsdgeosso for those tests i have that mouseClikcs are not being registered14:27
tsdgeosi don't think what daniel did can be the culprit right? that was only for touches, right?14:27
mterrySaviq, there is a (flaky) test failure in my tutorial-new-screens MP that is due to a "libIndicatorsFakeQml.so: undefined symbol: _ZN14UnityMenuModel12setModelDataERK8QVariant" error.  Now...  I've seen this myself locally for any test that loads the Shell, but it's very flaky.  I had mentioned that I see it before, but no one else could verify at the time.  Now that jenkins sees it too, I'm thinking it's a real error and not something my lapto14:39
mterryp just does.  Any clues on why it would happen (and be so flaky?  seems like a race on loading libraries...?)14:39
Saviqtsdgeos, yeah, touches only14:40
Saviqmterry, hmm14:40
Saviqmterry, sounds quite weird14:41
* mterry looks into it14:43
mterrySaviq, ah, I think it's just a missing LD_LIBRARY_PATH pointing at the fake QMenuModel.  I don't know why it would be flaky though, I would expect consistent failure14:54
Saviqmterry, indeed14:55
mterryAnd doesn't explain why I saw that error on normal shell tests either in the past, unless we recently cleaned up that linking situation14:56
Saviqmzanetti, think you could test http://people.canonical.com/~platform/citrain_dashboard/#?distro=ubuntu&q=landing-024 when it builds? I'm testing rtm15:29
Cimimterry, you added both chevron and tick png, but while for tick you used gridUnit, you used pixels for chevron17:51
Cimimterry, are those assets supposed to scale or not?17:51
=== charles_ is now known as charles
kgunnmterry: so rickspencer is testing the proposed fix for "power dialog on resume"....it's in silo3 for rtm19:47
kgunnhowever, he's seeing19:47
mterryuh oh19:47
* mterry gets an rtm device19:47
kgunnit seems like the 3 things in combination that trigger this are:19:47
kgunn 1. you are "roaming" on 2g because you are away from a known AP19:47
kgunn 2. you get an sms when the phone is sleeping19:47
kgunn 3. you try to turn on the phone while still roaming19:47
kgunn though, it could be a fluke that I had the bug with this combination twice in a row19:47
kgunn mterry so he says he was at home on wifi, then left home...so began to roam, dunno i f that matters as a precondition19:48
mterrykgunn, what is the symptom?  (just the power dialog showing, or something worse, like a crash?)19:48
kgunnmterry: correct...nothing other than a laggy startup + the unexpected sight of the power dialog19:49
kgunnalso...19:49
kgunn<rickspencer3> last night, I could not even get into the phone19:49
kgunn the screen kept turning off when I tried to dismiss the dialog19:49
kgunn<kgunn> oh wow...weird19:49
kgunn<rickspencer3> today I just had to dismiss it a bunch of times19:49
rickspencer3o/19:50
mterryrickspencer3, hi!19:50
kgunnmterry: did you have reliable repro steps?19:50
rickspencer3hi mterry19:50
rickspencer3nice to see you again!19:50
rickspencer3it's been a looong time :)19:50
mterryrickspencer3, is the problem that the silo did not improve *anything* or that it got better, but there are still cases where the dialog shows and it shouldn't?19:50
mterryrickspencer3, :)19:50
* rickspencer3 assumes he has some MPs for quickly from mterrt to ack19:50
rickspencer3mterry, hard to say19:50
mterryrickspencer3, I wouldn't be so sure...  ;)19:50
rickspencer3I would say, it didn't get better19:50
rickspencer3though, the impact was way worse last night, so maybe it got better19:51
kgunnrickspencer3: do you seem to see it more than most people?19:51
rickspencer3kgunn, well, I was getting the issue fixed in silo 7 a lot19:51
* kgunn wonders if people are just dismissing, but not complaining19:51
mterryrickspencer3, bummer -- it's a hard bug to reproduce, but my reproduction steps don't look anything like yours19:51
rickspencer3mterry, what are your repro steps?19:51
mterryrickspencer3, usually involve low-memory or high-load or huge background image for the greeter to load.  Basically anything to slow down the shell's ability to load the greeter longer than 2s, which is the threshold for the dialog to appear19:52
mterryrickspencer3, but yours are telephony related19:52
rickspencer3mterry, so, actually that is commiserate with my experience19:52
kgunnhigh cpu load due to telephony?19:53
rickspencer3kgunn, well, first high cpu load due to NM and location-service chatting back and forth19:53
rickspencer3which was fixed in silo 719:53
rickspencer3not, it seems, based on 2 cases, that receiving an sms causes the phone to get busy19:54
rickspencer3though not as busy as the NM/location problem19:54
rickspencer3I came back home and plugged it into my 'puter asap, and top said that message+ was causing dbus daemon to take up 96% of a cpu core19:54
rickspencer3though it quickly died away19:54
kgunnmm19:54
rickspencer3so, my suspicion, which experience suggests is totally wrong ...19:55
rickspencer3is that receiving an sms when the phone is sleeping makes the phone busy when you try to wake it up19:55
rickspencer3mterry, does that sound like it might be similar to your repro steps?19:56
mterryrickspencer3, ok well good.  Sounds like we see high load as a trigger for the bug.  But bummer that the patch doesn't work for you.  I'll try testing the silo on my rtm device and seeing if I can make a better patch19:56
rickspencer3mterry, but it seems like we could easily set up a test to cause high laud on resume, right?19:56
mterryrickspencer3, yeah I'll see if I can make a little busy-wait script for easier reproduction19:57
kgunnload giant image19:57
kgunnor some such19:57
kgunnthanks mterry19:57
mterrykgunn, that was previous repro step, but it wasn't super reliable.  I'll see about loading cpu19:57
rickspencer3now, if receiving an sms while asleep causes a cpu spike, we should also fix that ;)19:58
mterryrickspencer3, either that or there's a weird correlation between sms and power dialog.  Which should also be fixed  :)19:58
kgunnrickspencer3: well...i could see that, you wanna see texts right away...so burn & churn on cpu seems like that'd be a good thing19:59
rickspencer3in any case, obviously the power dialog needs to be robust in the case of a busy CPU :)19:59
kgunnright19:59
rickspencer3kgunn, yeah, maybe you are right19:59
rickspencer3maybe it's not a bug19:59
rickspencer3hi jfunk, you missed all the action19:59
rickspencer3jfunk, so, mterry is going to:19:59
rickspencer31. install silo 3 and see if he can repro the issue himself with it installed19:59
rickspencer32. try to create a test condition where the phone has high cpu load on resume so that we can make an automated test for this condition20:00
mterryrickspencer3, (to be pedantic, the issue is high CPU load on suspend, not resume.   I think)20:01
rickspencer3mterry, oh?20:02
rickspencer3mterry, for me, this is stuff that happens on resume20:02
mterryrickspencer3, well...  that's the issue my patch tries to fix.  But if the patch isn't fixing it...20:02
mterryrickspencer3, well you wouldn't know, would you?  The power dialog just sits there while suspended20:02
rickspencer3mterry, huh20:02
rickspencer3mterry, so, I unplug my phone and put in my pocket20:03
rickspencer3it doesn't know it's roaming until I leave, after it's suspended, right?20:03
mterryrickspencer3, (the greeter is loaded when suspending, but if loading it takes over 2s, the power dialog shows because we never handle the "power button release" event -- that's what I *thought* was the problem.  Again, if the silo doesn't fix it, maybe more is happening20:03
mterryrickspencer3, there could be a similar problem happening on resume with the power button event handle taking too long20:04
mterrySo maybe two bugs here with same symptom, and I only fixed one20:04
rickspencer3mterry, yeah, so ..20:04
rickspencer3this *only* happens to me when I leave my office or my apartment20:04
rickspencer3so it seems like there is no way it could be on suspend20:04
mterryrickspencer3, fair.  Like I said, I'm guessing that it can happen on both, and I've only fixed one side of it20:05
rickspencer3yeah20:05
rickspencer3ok, thanks mterry20:05
kgunnmterry: so i think since it's on suspend....its related to this bug no ? bug https://bugs.launchpad.net/qtmir/+bug/135517320:10
ubot5Launchpad bug 1355173 in unity8 (Ubuntu) "Switching windows with a Trusted Prompt Session active loses the trusted prompt session" [Critical,In progress]20:10
kgunndang it...not that one20:10
mterryphew20:10
mterry:)20:10
kgunnbug 130991520:10
ubot5bug 1309915 in qtmir (Ubuntu RTM) "foreground app should keep wakelock open until actual suspend happens (aka camera takes ~5 seconds to be responsive after waking phone)" [Critical,In progress] https://launchpad.net/bugs/130991520:10
kgunnthat lag happens b/c apps weren't allowed to suspend but began to20:11
mterrykgunn, I'm not sure if it's related to that or not...20:11
* kgunn remains suspicious it's related....20:15
kgunngreyback__: what do you think ^ ? could that be the seed for mterry's bug ?20:15
kgunngreyback__: basicallly, cpu spike causing power dialog to show on resume sometimes and the spike being caused20:16
kgunnby the suspend happening on the resume...cause it didn't have time to do it on shutdown20:16
kgunnsleep rather20:16
mterrykgunn, well I know that CPU spike on suspend can cause it.  I'm not sure what the cause on resume is yet.  It might be triggered by CPU spike or not.  I haven't investigated that side of things yet20:17
jfunkhey mterry, lmk if you need any support from the QA team in terms of AP expertise etc when you've got the steps locked down20:39
mterrykgunn, jfunk: ok....  I can confirm that silo3 fixes the bug I was trying to fix...  "Slow greeter load causing the power dialog to show on suspend".  Of course now it seems there are more ways to trigger that dialog.  Let me get reproduction steps / script for ease of QA.  I think as long as the silo doesn't make anything worse, we should land it while I separately investigate other ways the dialog appears20:41
kgunnmterry: +1 for me20:41
mterryjfunk, kgunn, rickspencer3: https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1383277/comments/18 lists my reproduction steps and a tiny script to load the CPU on a krillin.  jfunk, that script is not perfect for automation yet, it leaves detached CPU bombs hanging around that have to manually be killed.  Maybe that's "good enough" if automation is going to reboot anyway... But let me know if I should work on something more elegant20:55
ubot5Launchpad bug 1383277 in Canonical System Image "Power dialog sometimes shown on resume" [Critical,In progress]20:55
mterryjfunk: are you the QA contact for rtm silo 003 as well?20:57
Saviqmzanetti, messages icon is only getting bright now (i.e. in vivid), no color20:57
mzanettioh20:58
jfunkmterry: no, that would be in #qa just ping 'ops-team'21:03
jfunkmterry: though you need to mark it as ready for QA21:03
jfunkand it would show up automatically on their Qeue21:03
jfunkqueue21:03
mterrykgunn, was this problem blocking silo 003?  Do we need to provide guidance for approving it with the caveat that it won't solve all power dialog problems?21:03
jfunkToyKeeper: can you read mterry's comment above re: script and steps to repro21:05
jfunkToyKeeper: since I suspect you'll be the one running the verification21:05
mterryjfunk, (I don't know where silo 003 was in its landing process yet)21:05
jfunkToyKeeper: if you could distill the steps to repro and evaluate the script for suitability as part of a regression run that would be swell, please email the results of your investigation to the QA team21:06
ToyKeeperjfunk: Sure, I'm just working on silo 7 at the moment.21:06
jfunkToyKeeper: I thought that one was under wraps21:06
jfunkToyKeeper: when I look at the trello it doesn't appear to be in progress21:07
ToyKeeperjfunk: If so, great.  Hardware just showed up for testing it, and I'm getting that set up.21:07
jfunkToyKeeper: I think it's been put to rest, the silo 3 is more "of the essence"21:07
jfunkthough that hardware will come in handy for future regression runs21:07
ToyKeeperAt least, the plan was to add it to regression testing, so I'll need to get it set up within a few days.21:07
jfunkToyKeeper: ack21:08
jfunkToyKeeper: if you could please work with mterry on this silo and help him understand what to do to move it forward21:08
ToyKeeperYup.21:09
ToyKeeperIt'll take a few minutes to get a krillin reflashed.21:11
Saviqmterry, nothing's blocking silo 003 afaict, I just didn't manage to test it yet21:13
mterrySaviq, ok cool -- I was just called in to verify that one of my branches in it did in fact work after a brief scare.  So I just wanted to make sure it's back on track.  Sounds like it's fine, we didn't stop the line for that issue yet21:14
ToyKeepermterry: BTW, what does the background image have to do with the bug?21:14
mterryToyKeeper, the technical cause is that when handling the request to suspend, the shell loads the greeter.  Which includes loading the background image.  While it loads the greeter, it blocks handling the "power button released" event.  So if we take longer than 2s, the shell thinks the user did a long press once it eventually does handle the "release" event.  And so it shows the power dialog21:16
mterryToyKeeper, so if we have a large image and are under load, we can easily take longer than 2s21:16
mterryToyKeeper, the fix I used was to not block handling the "released" event21:16
ToyKeeperMakes sense.  :)21:17
ToyKeeperStill catching up on scrollback.21:17
Saviqmterry, on that note, I think what greyback__'s doing (keeping wakelock while any app's not suspended) will help with that as well21:19
Saviqi.e. bug #130991521:19
ubot5bug 1309915 in qtmir (Ubuntu RTM) "foreground app should keep wakelock open until actual suspend happens (aka camera takes ~5 seconds to be responsive after waking phone)" [Critical,In progress] https://launchpad.net/bugs/130991521:19
mterrySaviq, in the sense of not causing load?  good21:19
Saviqmterry, well, not not causing load, but rather not letting the hw go to low power mode21:21
ToyKeepermterry: Have you also run through the unity8 test plan to check if the change affects anything else?21:36
mterryToyKeeper, no not the whole thing, just played with the greeter21:36
ToyKeeperIt doesn't seem like the change should affect anything else, but the diff seems large enough to need the whole test plan.21:39
SaviqToyKeeper, it's in rtm silo 003 and we will test it tomorrow21:42
ToyKeeperSaviq: Fair enough.  :)21:43
mterryrickspencer3, kgunn: if either of you realizes what steps lead to the power dialog on resume, I'd love it.  I tried to reproduce using phonesim and a *call* while suspended (since calls are easier to fake with phonesim than sms).  But didn't seem to do anything for me21:44
rickspencer3mterry, for me, I have to be away from my home or office AP21:51
mterryrickspencer3, ah right, the roaming bit.  And receive an sms while roaming21:53
mterryor maybe... just not on wifi..21:53
rickspencer3mterry, then you decapitate he chicken and sprinkle the blood in a circle around you21:53
* mterry expenses a chicken21:53
kgunnlol21:53

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