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

=== marcusto_ is now known as marcustomlinson
=== marcusto_ is now known as marcustomlinson
Saviqdednick, can you please resubmit unity8 laggy backends on top of lp:~dandrader/unity8/mouseClickSwitchesSurfaceFocus, there's a conflict in the Utils plugin09:13
dednickSaviq: ok09:26
=== greyback__ is now known as greyback
dednickSaviq: done10:33
dednickCimi: resubmitted laggy backend branch.10:36
Cimidednick, o10:44
Cimik10:44
Saviqdednick, tx11:03
pete-woodsSaviq: hi. do you know if the unity application stack will tell me if the dash app is foremost even when the screen is locked?11:55
pete-woodsmy problem is basically this11:55
pete-woodsI want the scopes to be active when both the screen is on, and the dash is the foremost app11:56
pete-woodsunfortunately Qt.application.active (correctly) only tells me when the app is actually visible11:56
pete-woodsso this works for when the user is operating the phone11:56
pete-woodsbe we really want the scopes to start being active as soon as the screen comes on, and we know that the scopes will be visible as soon as they have finished swiping11:57
pete-woods*but11:57
Saviqpete-woods, so you'd want to be told you're active before the phone is unlocked? that feels weird, what if the user actually launches an app from the launcher...12:01
pete-woodsSaviq: then as soon as they do that, the scopes become inactive, and GPS goes off12:01
pete-woodsthe current behaviour we have is that the scopes are always active when the screen is on12:02
pete-woodswhich works well for user experience12:02
pete-woodsbut it leaves the GPS running when you have another app in the foreground12:02
pete-woods(and the scope you have selected uses location)12:02
pete-woodsit's important to get the scope queries running early for us12:03
pete-woodsas it means the user doesn't have to see the scope results popping in12:03
SaviqI've a weird feeling about this, we should be treating all apps the same way in this case12:04
Saviqnothing special about the dash there12:04
=== alan_g is now known as alan_g|lunch
pete-woodsthe dash is already sorta special in that it never gets suspended12:05
pete-woodsas it has to do this sort of trickery to get good performance12:05
pete-woodsgiven it basically hosts about 30 "apps" inside of itself12:05
Saviqnot true, it's not getting suspended because the middleware couldn't handle it12:06
pete-woodsthat's a fair point. but it still feels like it's special because it basically hosts all these other apps12:07
pete-woodswe can just use the qt.active property, but then the user will see results popup after they unlock12:07
Saviqif we think that we need to pre-wake apps that "might soon be" on screen, then we should apply that to all the apps, not make dash special12:07
pete-woodssure, but this is a specific battery-use bug we have right now12:08
Saviqyeah but what if they just wake the screen to see the clock, or interact with notifications12:08
pete-woodsI'd be very happy to move to a proper system later12:08
Saviqyou'll waste battery this way to fetch results that the user might never see12:08
pete-woodsthat's a very good point12:09
dandradertsdgeos, are you looking for tasks?12:09
pete-woodshmm12:09
pete-woodsmaybe I should just do the simple solution, and see if anyone complains :p12:09
Saviqpete-woods, we need to improve the refresh UX, that would help with "results popping up"12:09
pete-woodsvery true12:10
Saviqbut for now I believe we just need to do with what we have12:10
Saviqand scopes should only wake up when the dash is focused12:11
Saviqpete-woods, screen gets on on incoming text, too, even worse to wake scopes up then12:12
pete-woodsSaviq: thinking about it more, the scopes only actually *do* something if they have "dirty" results12:13
pete-woodsbut the GPS would come on for 20 seconds or so12:13
pete-woodsI think you've convinced me to do the "wait til after unlock" solution12:13
Saviqsure, but they might get dirty every hour or whatnot12:13
Saviqall other apps have to deal with only getting woken up when the user focused it, I'm sure we can deal with that ourselves :)12:13
Saviqs/it/them/12:14
Saviqdednick, should there not be a bumped dependency between unity8 and system components for laggy backends?12:17
Saviqs/system/settings/12:17
Saviqlooks like it12:19
=== MacSlow is now known as MacSlow|lunch
tsdgeosdandrader: i am reviewing one branch from mterry but after that i'm quite idle yeah12:30
dandradertsdgeos, this one next, please! -> https://code.launchpad.net/~dandrader/unity8/ddaImprovements/+merge/25496412:31
tsdgeosdandrader: sure12:32
dandradertsdgeos, great, thanks!!12:32
=== dandrader is now known as dandrader|afk
=== alan_g|lunch is now known as alan_g
Saviqtsdgeos, to clarify: it will only trigger the refresh on focus if the scope is dirty12:44
tsdgeosSaviq: and previously didn't12:44
tsdgeosi'm asking if we're fine with that12:44
Saviqtsdgeos, previously it did on screen wake up12:44
tsdgeosbecause scope rebuilding is a bit unsettling tbh12:44
Saviqor on you switching to the dirty scope, for that matter12:45
tsdgeosSaviq: yeah but you have the greeter and maybe the locker12:45
Saviqtsdgeos, yeah, and that wasted power12:45
Saviqtsdgeos, sure, we need to fix the UX of scope refresh12:45
tsdgeosSaviq: i'm not against it, i'm just saying we need to take into account that it's not only fixing a bug12:45
tsdgeosbut changing the behaviour12:45
tsdgeostoo12:45
tsdgeossightly sure12:45
Saviqdepends on the definition of fixing a bug, when the behaviour was wrong before ;)12:46
tsdgeosi will take that as a "yes we're aware it's changing behaviour and we're fine with it"12:47
Saviqyes :)12:48
dednickSaviq: ya, i've just left it so we get the debs for testing. will update.12:48
Saviqdandrader|afk, people have confirmed the tap-indicator issue on RTM where we don't have the MouseArea, so unlikely that's the cause12:52
Mirvtsdgeos: I marked 018 finally as tested... phew.13:03
tsdgeosMirv: :)13:03
=== dandrader|afk is now known as dandrader
josharensontedg: do you know where dbus-display-manager.h is located (regarding indicator-session). It seems that it is included and called, but I cannot find it.13:07
tsdgeosjosharenson: is it autogenerated?13:09
* josharenson does a build13:10
josharensontsdgeos: yup, thanks...13:10
tsdgeosjosharenson: no worries13:10
=== MacSlow|lunch is now known as MacSlow
tedgjosharenson, It is generated, but in the src/backend-dbus/ directory13:26
josharensontedg: got it, thanks13:27
tedgnp13:29
Mirvtsdgeos: thought: can you check plasma5 with silo 018?13:35
tsdgeosMirv: i guess i can yes, the only thing in there is qtbus right?13:36
Mirvtsdgeos: yes13:36
tsdgeosi mean not sure what to test13:36
tsdgeosbut i guess i can install it and see if something immediately blows up or not13:36
Mirvwell basic operation, I'd guess you're using KDE more than me13:36
tsdgeosand use it a bit13:36
Mirvthanks13:37
tsdgeosMirv: wops, good call13:52
tsdgeoseverything exploded13:52
tsdgeosi'll comment on both our and upstream13:54
Mirvtsdgeos: aargh.. even though good call. I should probably cancel the QA signoff process?13:55
tsdgeosMirv: guess so, trace looks genuine bug in Qt and not a misused API on the kde side13:56
dandraderSaviq, should be something else there then. because I just verified that the bug is indeed caused by that MouseArea for desktop interaction14:00
Saviqdandrader, could be, or popey used a different steps to repro14:01
popeyhmm?14:01
Saviqpopey, bug #143931814:02
ubot5bug 1439318 in unity8 (Ubuntu) "Tapping the top edge shows the indicators panel when in fullscreen mode" [High,In progress] https://launchpad.net/bugs/143931814:02
Saviqpopey, we've got an obvious explanation for vivid, but you confirmed for rtm too14:02
popeyah okay.14:03
popeyi just opened the game and stabbed near the bottom left (which is top left of the phone) and the indicator messages flew down to the top14:03
Saviqyeah it could actually be we have two bugs there14:04
popeywant a video of it?14:07
Saviqpopey, no need, if the steps to repro are the same14:15
MacSlowSaviq, ever seen this when trying to compile unity8 -> http://pastebin.ubuntu.com/10724501 ?14:59
MacSlowSaviq, never mind... solved15:12
=== dandrader is now known as dandrader|afk
josharensonI have some debug code in lightdm.c inside handle_seat_call that prints the GDbusMethodInvocation method name... when I run dm-tool, I get expected results. However, when locking or logging out, etc from indicator session, I don't see any calls made (obviously the device still locks). Anyone know whats going on here?16:42
josharensonmterry: so I still can't see any dbus calls from indicator-session to lightdm. I have debug code in lightdm that gets hit when I run things manually, but never gets hit when I do the same things via indicator-session... Is it possible that something other than lightdm is being used? (I don't have gdm installed, and lightdm is running, I just can't figure out whats happening)17:18
mterryjosharenson, this is unity7 or unity8?17:19
josharensonunity717:19
josharensonmterry:  should have clarified that17:19
mterryjosharenson, so I think with the first time you use that indicator-session button "lock screen" it uses an internal lockscreen just inside unity717:20
mterryjosharenson, from that lockscreen, if you press that button again, you go down the lightdm route17:20
=== alan_g is now known as alan_g|EOW
josharensonmterry: I'll just assume there is a good reason for that and take a look at unity7 code. thanks17:21
mterryjosharenson, there were technical reasons why it was hard to use the greeter as a simple session lockscreen at the time17:22
mterryjosharenson, I think robert ancell solved most of them?  But not sure the state of play there17:22
mterryjosharenson, but anyway, that's why there's a separate session lockscreen inside unity717:22
=== dandrader|afk is now known as dandrader
seb128hum18:06
seb128my bq rtm stops asking for the pincode to unlock18:06
seb128but I had it configured on pin (I think) and that's what settings is listing as current config18:07
mterryI flashed my krillin and didn't see the location screen in the wizard...  Do I have to do something special to get the HERE stuff?18:31
mterryseb128, knock it off  :(18:31
mterryseb128, it's just slide to unlock for you now?18:31
mterryseb128, is your user somehow in the nopasswdlogin group?18:32
=== om26er_ is now known as om26er
seb128mterry, yeah, slide to unlock, and yes it's in nopasswdlogin (not sure why/how)19:20
mterryseb128, that's crazy town19:20
mterryseb128, did you mount stuff as rw like /etc/group?19:21
mterryseb128, accountsservice does normally try to add the user to the group but normally fails19:21
seb128I've the image as r/w yes19:21
mterryseb128, because that isn't writable19:21
seb128like the usual  /userdata/.writable_image19:21
mterryseb128, but if it's writable, I'd expect it to also be able to remove you from that group19:22
mterryseb128, well I think that situation isn't normal for a customer at least...  But still not great that we got out of sync19:22
seb128yeah, unsure how I changed it/added it to the group19:22
=== ssweeny` is now known as ssweeny
=== alexabreu is now known as alex-abreu|off

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