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

=== _morphis is now known as morphis
mzanettipstolowski, hey ho08:45
pstolowskimzanetti, hi!08:45
mzanettipstolowski, before our holidays, alecu said something that you were reworking some bits in the scopes middleware08:46
mzanettipstolowski, to allow updating single entries, or add/remove stuff without doing a full refresh08:46
mzanettidid I understand that correctly?08:46
pstolowskimzanetti, yes. i've a rotting branch to do that for results (for in-card +1 actions that were paused for a while); i've fresh branch that does that for preview widgets - it's MP'ed08:48
mzanettipstolowski, cool. just saw a mail on the ubuntu-phone list. people asking if we could update the calendar/clock icons to reflect current date/time08:49
mzanettiwondering what else is missing08:49
pstolowskimzanetti, what calendar/clock icons?08:49
mzanettiin the apps scope08:49
pstolowskimzanetti, what i implemented is meant for updates triggered by user activity08:50
pstolowskimzanetti, e.g. user hits a button in the preview, scope does something and updates that button or another widget in the preview08:51
pstolowskimzanetti, or user taps a small +1 button in the card (result), and we update this result08:51
pstolowskimzanetti, for continuous updates we would need some sort of backend that triggers them08:52
mzanettiyeah...08:54
mzanettipstolowski, can we then also remove a single app when uninstalling (without refreshing the whole scope)?08:54
pstolowskimzanetti, nope, the protocol for this enhancement allows updates only. should be relatively easy to support delete, but is it worth it?08:55
mzanettipstolowski, definitely... also for adding08:56
mzanettithe fact that the full scope refreshes all the time is hugely annoying08:56
pstolowskimzanetti, i think adding is a bit tricky for scope author. he would need to specify where to insert the new item08:57
mzanettiwe should try to diff the content as much as possible and only do full refreshes when there's really no other way out08:57
pstolowskimzanetti, you're right.. update/add should be handled by model diffs08:58
pstolowskimzanetti, sorry - del/add08:58
pstolowskimzanetti, update too though. the update mechanism i implemented is for very specific use case (actions), not for general search08:59
=== vesar is now known as vesar-lunch
=== vesar-lunch is now known as vesar
=== MacSlow is now known as MacSlow|lunch
=== om26er_ is now known as om26er
=== alan_g is now known as alan_g|lunch
=== MacSlow|lunch is now known as MacSlow
ChrisTownsendgreyback_: Hey!  Is qtmir-desktop a part of the gcc5 transition?  I ask because the Unity 8 desktop is crashing when trying to start with the following: http://pastebin.ubuntu.com/12107481/12:35
ChrisTownsendgreyback_: And qtmir-desktop looks like the only package that has not been updated.12:35
yecril71plNautilus caches the user name that it displays in Permissions.12:55
yecril71plThe cache is not cleared after I have deleted the user.12:56
=== alan_g|lunch is now known as alan_g
=== om26er_ is now known as om26er
=== charles_ is now known as chalres
=== chalres is now known as charles
=== dandrader is now known as dandrader|lunch
=== dandrader|lunch is now known as dandrader
Saviqandyrock, hey, do you remember if there's a bug filed about changing screens when suspended? very often when I resume after having connected my external screen, the lockscreen seems to get stuck mid-way when applying the change and I can't unlock15:20
Saviqit doesn't crash, but it deadlocks15:20
ChrisTownsendgreyback_: I updated that bug with the requested info:)15:27
greyback_ChrisTownsend: thanks15:27
ChrisTownsendgreyback_: Sure and thank you15:28
andyrockSaviq: please fill a bug15:42
Saviqandyrock, think SIGABRTing it in that case might get you anything useful?15:43
Saviqthrough apport?15:43
andyrocknope15:44
ChrisTownsendgreyback_: I'm pretty sure qtmir needs rebuilding due to the recent gcc5 rebuild for Mir.15:52
greyback_ChrisTownsend: I thought it was already done tho15:53
ChrisTownsendgreyback_: This is what is on my system:15:54
ChrisTownsend$ dpkg -l | grep qtmir15:54
ChrisTownsendii  qtdeclarative5-qtmir-plugin:amd64                    0.4.5+15.10.20150728-0ubuntu1                         amd64        Qt plugin for Unity specific Mir APIs15:54
ChrisTownsendii  qtmir-desktop:amd64                                  0.4.5+15.10.20150728-0ubuntu1                         amd64        Qt platform abstraction (QPA) plugin for a Mir server (desktop)15:54
ChrisTownsendOld versions.  And I looked at wily-proposed and did not see any qtmir packages there, although I might have overlooked it.15:54
greyback_ChrisTownsend: I see a newer version of qtmir released in wily:  0.4.5+15.10.20150804.1-0ubuntu115:56
greyback_https://launchpad.net/qtmir/+packages15:56
greyback_sure you've updated? Is something holding back qtmir update maybe?15:57
ChrisTownsendgreyback_: wtf?  I updated a few hours ago.  I'll try it again right now.15:58
ChrisTownsendgreyback_: Ok, still no update to it.  It must be something holding it back.  I wonder what though...15:59
Saviqandyrock, fyi: bug #148566215:59
ubot5bug 1485662 in unity (Ubuntu) "Lockscreen deadlocks when resuming with modified screen set" [Undecided,New] https://launchpad.net/bugs/148566215:59
greyback_ChrisTownsend: you tried dist-upgrade?15:59
ChrisTownsendgreyback_: Yep:)15:59
greyback_ChrisTownsend: apt install qtmir-desktop=0.4.5+15.10.20150804.1-0ubuntu116:00
ChrisTownsendgreyback_: It doesn't find that version.16:00
greyback_ChrisTownsend: well LP thinks there's a newer version available. Lemme try my wily box16:01
ChrisTownsendgreyback_: Ok.16:01
ChrisTownsendgreyback_: It's still stuck in the proposed pocket for some reason: https://launchpad.net/ubuntu/+source/qtmir/0.4.5+15.10.20150804.1-0ubuntu116:02
greyback_aha16:02
ChrisTownsendgreyback_: I wonder what's keeping it there though?16:03
greyback_ChrisTownsend: http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#qtmir16:03
greyback_boottest fail16:04
ChrisTownsendgreyback_: Great, so how it that get fixed/addressed?16:04
andyrockSaviq: maybe you can try to debug it using gdb16:05
greyback_ChrisTownsend: dunno, will have to poke train people16:05
andyrockjust attach gdb to compiz16:06
andyrockthen try to reproduce the bug16:06
andyrockand see what's going on more or less16:06
greyback_ChrisTownsend: if wily phone failing to boot, that'll hold qtmir up16:06
andyrockshould be better than SIGABRTing compiz16:06
ChrisTownsendgreyback_: Ok, thanks.  So you'll follow up on that>16:07
ChrisTownsendgreyback_: If you haven't guessed already, I'm kind of needing a Unity 8 desktop session:)16:07
greyback_ChrisTownsend: sure, but I'm not really focused on wily these days16:08
greyback_I'll try get things moving there16:08
ChrisTownsendgreyback_: Ok.  I guess Vivid+overlay is not affected by this.16:08
greyback_ChrisTownsend: correct16:08
ChrisTownsendgreyback_: Ok.  The thing is, I need to test some ubuntu-app-launch changes in a silo that are going to be needed for Vivid+overlay.16:09
ChrisTownsendAnd the silo is wily based of course.16:10
greyback_ChrisTownsend: I imagine this will happen again & again! My solution: 2 machines :)16:10
ChrisTownsendgreyback_: So any help you can give to get the wily qtmir unblocked would be great.16:11
ChrisTownsendgreyback_: Thanks again for looking at this.16:11
dandradermzanetti, what's Qt::Key_Backtab?17:00
mzanettidandrader, shift+tab17:00
dandradermzanetti, weird. is this documented anywhere?17:00
dandraderdon't go!17:01
mzanettiwhy is that weird?17:01
dandradermzanetti, I find it weird that a key is actually a key combination17:02
mzanettidandrader, I think there have been typewriters with this key some 20 years ago :D17:02
mzanettiand some keyboards actually still print the icon for backtab17:03
mzanettihttp://doc.qt.io/qt-5/qt.html#Key-enum17:03
mzanettiif you search for backtab in that page it is mentioned quite often (focus-reason etc)17:03
davmor2dandrader: alt+ ` is the key that flick between instances of applications just press the windows key and view the keyboard layout for documentation ;)17:04
mzanettidandrader, also, if you watch "xev" while pressing keys, you'll notice that for instance "ctrl+tab" prints "Control_L and Tab"17:06
mzanettidandrader, while pressing shift+tab prints "ISO_Left_Tab" instead of Tab17:06
=== alan_g is now known as alan_g|EOD
dandradermzanetti, interesting.17:06
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== karni is now known as karni-away
dandradermzanetti, slight change of channel18:54
dandradermzanetti, do you think we should be fowarding key events to the app while you're on the desktop spread?18:54
mzanettihmm... probably not...18:54
dandradermzanetti, eg: tab key presses, arrow presses18:54
mzanettidandrader, are they forwarded right now?18:55
mzanettiI don't think that makes sense18:55
dandradermzanetti, yeah. doing a bigger clean up / refactoring in https://code.launchpad.net/~dandrader/unity8/removeForceActiveFocus/+merge/26702018:55
dandradermzanetti, will poke you for a review once it's updated18:55
mzanettidandrader, thanks a lot18:56
dandradermzanetti, https://code.launchpad.net/~dandrader/unity8/removeForceActiveFocus/+merge/267020 should be good to go now. will give it final look tomorrow morning to make sure19:35
kgunnted: hey i was just reading thru bug 1478853 again20:30
ubot5bug 1478853 in ubuntu-app-launch (Ubuntu) "OOM scoring kills the browser's render process while the browser is running" [Critical,Confirmed] https://launchpad.net/bugs/147885320:30
kgunnted: is gerry correct in that we use "default kernel OOM killer"20:30
tedkgunn, I believe that it is the "android default" which is slightly different than "linux kernel default" bug generally yes.20:31
tedkgunn, I think that ogra had some tuning ideas for that though.20:31
kgunnted: ok, i think gerry's question/statement isn't quite accurate then20:32
tedkgunn, So I think that we can make it better, but what we probably need is to look at finding someone to build our own OOM killer that understands our apps.20:33
kgunn:) sounds simple20:33
tedkgunn, As we move to systemd they'll be very much the same as systemd apps, so we might find friends there.20:33
tedkgunn, I'm sure they'll want the same thing.20:33
tedIt isn't generally hard, it's just all heuristic based. So it'll never be perfect. Tests for the cases you care about and be happy :-)20:35
greybackwell my source was https://lwn.net/Articles/317814/ which says android has a "lowmemory" driver. Since the usual oom knobs work, I assumed we weren't using lowmemory20:37
tedWonder if it's different based on the different kernels as well.20:43
tedFor instance krillin vs. arale is 3.4 vs. 3.10. Probably wildly different.20:45
greybackthis immediate line of questioninng justifies my comments on the bug! We need somebody to understand this20:45
greybackI think rumour had it that ricmm or rsalveti was looking into the custom oom killer20:46
greybackbut I do think something wrong with our current OOM killing technique20:46
greybackif I set something compiling on the device, when memory runs low, dash (foreground app) gets killed first! Why not my thing being compiled? Then unity8 gets killed. My compile continues20:47
tedSilly greyback phones are not for compiling ;-)20:48
tedThat's because the thing being compiled is a 020:48
tedIf we want to worry about that we should really pull unity and others < 020:48
greybackand we don't do that because?20:49
tedNo reason. Apps on the command line haven't really been a use-case.20:49
tedBut as we go for personal that could make more sense.20:49
tedShift everything so that the focused app is 020:50
greybackted: so that means, if any background process (i.e. not in container) has a memory leak, apps & shell are the first to die21:02
greybackted: it does appear that the android lowmemory oom killer is on the arale at least, I see it in /sys/module/lowmemorykiller21:04
greybackI wonder if that's "helping"21:05
tedgreyback, It won't kill the shell as it is zero, it's that their memory sizes will be ranked the same. So if it leaked less memory than the size of the shell but was causing OOM killer to reach the shell could be killed. So it'd have to be a very specific leak. If they went crazy that process would get killed.21:11
tedgreyback, I see the bug on arale, not sure if it is better or worse than on krillin.21:12
=== karni-away is now known as karni
a1fahello, is there a way to rotate the launcher to the bottom?23:57

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