[08:20] didrocks, hey, could you have a look at https://code.launchpad.net/~aacid/unity8/killqt51/+merge/217055, we're dropping support for Qt < 5.2.1, should we add (>= 5.2.1) to all the qt build deps, even though qt's own deps would force it anyway? [08:24] Saviq: yeah, better to be explicit and have that for all build-deps/deps you depend on Qt [08:25] tsdgeos, ↑ [08:25] ? [08:25] tsdgeos, like qtdeclarative5-private-dev [08:26] ok [08:26] looks a bit unneeded to me tbh [08:26] but ok [08:26] tsdgeos, is just explicit, is all [08:26] man with me adding N/A to packaging :D [08:26] tsdgeos, OTOH we could say we want it only where we really require new Qt [08:26] * tsdgeos hides [08:26] ;D [08:27] i mean i didn't add it to the others since it was just cascading [08:27] tsdgeos, yeah I understand, that's the question I asked to Didier [08:27] you can't have qtbase5-private-dev 5.1 if you have qtbase5-dev (>= 5.2.1) [08:27] tsdgeos, so qtbase5-dev, qtdeclarative5-dev, -private-dev, those are the three we really require atm [08:28] tsdgeos, when we start importing QtQuick 2.2, we'll add it to qtquick2-plugin [08:28] ok [08:29] all the others I think we could still have 5.0, right? [08:29] qtbase5-private-dev, too [08:29] (should be >= 5.2.1 [08:29] ) [08:30] Saviq: i think so, yes [08:30] so yeah, let's be meaningful about it [08:30] pushed [08:30] sure the net result is going to be the same [08:31] tsdgeos, re: import 2.0 vs. 2.2, think importing two different versions of QtQuick will be more costly than just using the same across the board? [08:32] Saviq: don't think so [08:32] it's the same library [08:32] just the interpreter does some "QML symbol" hiding depending of which import you did [08:32] but i don't think that's going to be faster slower if you import one or many [08:35] tsdgeos, right [08:35] k makes sense [08:45] Saviq: just to make sure, at the Card.qml level, template and components are shared by all Cards of the same "parent", it's only cardData that is different [08:45] right? [08:45] tsdgeos, yes [08:45] tsdgeos, template and components are per-category [09:00] didrocks, ACK on packaging changes when you have a moment please https://code.launchpad.net/~aacid/unity8/killqt51/+merge/217055 [09:02] Saviq: done [09:02] didrocks, thanks! [09:32] Cimi, you might want to check your local branches for tags, vrruiz's branch had old ones [09:33] Cimi, as a reminder: http://people.canonical.com/~msawicz/unity8/strip-u8-tags.sh [09:34] Saviq, I did run it, not sure the latests [09:34] Saviq, is there a way to run it locally? [09:35] Saviq, takes ages remotely [09:35] Cimi, I only meant your local branches [09:35] Cimi, so wherever you have the checkouts [09:35] Cimi, so that you don't push them anywhere ;) [09:35] Cimi, only Victor's branch has them from the approved ones currently [09:36] Cimi, but since you reviewed it [09:36] Cimi, you merged it in your branch somewhere, and that could've "infected" you with them [09:36] Saviq, I checked out his branch directly [09:36] didn't merge to mine [09:36] but thanks [09:37] Saviq, is there a command we can use to run inside a branch and check for tags? [09:37] Cimi, so, FYI: when reviewing, you should always merge on trunk ;) [09:37] Cimi, `bzr tags | wc -l`\ [09:37] -\ [09:37] Saviq, I do the opposite [09:37] Saviq, I checkout a branch [09:37] then I merge trunk inside [09:37] it's kinda the same thing [09:37] Cimi, kinda, but reverse to what actually happens when things are landed [09:38] Cimi, probably 0.000001 probability something goes differently [09:38] yes agree but is the same thing [09:38] Saviq, but it has the advantage that I don't have to specify a path when I branch :) [09:38] otherwise "bzr branch lp:unity8" complains I have already a folder unity8 :) [09:39] laziiiiness [09:39] :D [09:40] Cimi, colo branches FTW [09:40] Saviq, what the hell is that, I am googling [09:40] :) [09:42] Cimi, I only have a single folder with a unity8 checkout [09:42] Cimi, and switch between branches with `bzr switch colo:foo` [09:43] git-style [09:43] oh wow cool === _salem is now known as salem_ === salem_ is now known as _salem === alan_g is now known as alan_g|errands [10:23] /food [10:30] ping me when you back Saviq :) [10:41] dednick, you know how to create a snap decision? [10:42] Cimi: i do. [10:42] Cimi: if you're talking about the shutdown dialog, I'm not sure that it should be a snap decision. [10:43] "even though it may look like one at the moment" [10:43] why? [10:44] Cimi: because I think it's a bit insecure. [10:45] dednick, insecure in which meaning? [10:45] Cimi: possibly one of those new fangled SecureDialog that mirco is writing. Or something generated by dbus call which we can secure with apparmor [10:46] Cimi: anything can generate a snap decision. [10:46] dednick, I have the powerd code in front of me [10:46] dednick, basically I need to change the callback [10:47] and it's C!! [10:47] finally I understand :D [10:47] Cimi: i think that the shutdown calls should probably be sent to powerd from unity8. [10:47] dednick, so I can do pretty much everything we want [10:48] haven't played with dbus yet but I think it will be fairly easy to send something [10:48] that we can hook up on the shell [10:48] Saviq: was there ever a consensus on who was responsible for shutdown? [10:48] powerd/systemd/unity8 ? [10:51] dednick, I'd say unity8 or notifications have to confirm shutdown [10:51] so powerd must sends and receive [10:52] I mean emit something and wait something else, securely [10:54] Cimi: this is what I had when i was originally doing this: https://code.launchpad.net/~nick-dedekind/powerd/dbus-shutdown [10:55] oh wow C [10:55] I love C [10:55] Cimi: and https://code.launchpad.net/~nick-dedekind/unity8/powerdown for the dialog [10:55] but it's probably way out of date. [10:59] Cimi: but i don't really like the idea of sending a request from powerd, then a async response from unity8. I think maybe mirco's dialog interface may be a good plan. [11:01] Cimi: it's even possible that unity8 should handle the pwer key event itself. [11:04] Cimi: and now you understand why this hasn't been finished yet :) [11:07] dednick, lightdm as far as I can tell [11:07] Cimi, ↑ [11:07] so unity8 would receive the power button press, display a dialog and tell LightDM to shut down [11:08] which goes in concert with reducing powerd's responsibility to handle input [11:08] I don't think anything external needs to be involved [11:08] Cimi, is there design for the dialog? [11:08] Saviq: ah yeah, lightdm was the one. not systemd. [11:09] Saviq: a very "rudimentary" design. https://launchpadlibrarian.net/158819734/poweroff-buttons.png === alan_g|errands is now known as alan_g [11:10] right, so that does look ~kind of like a snap decision / system dialog [11:11] we should find out whether it's supposed to participate in the usual snap decision flow [11:12] and if it's a final design... [11:13] dont want to do it as a snap and then find out, "oh, it should be full screen" ala pin lock. :) [11:13] Saviq, there is a video [11:14] Cimi: you have a link? [11:16] dednick, I can put it on google docs [11:17] dednick, https://drive.google.com/a/canonical.com/file/d/0B2mvp37s6lHvMWZ5OVFZM2wtbk0/edit?usp=sharing [11:17] Saviq, ^ [11:18] hm. ok, i guess it may be a final design then... [11:18] can't generate a snap decision from unity8 though... [11:19] unless mirco fixed that [11:19] dednick, it was signed off [11:19] there's no QML component that you could with, yet [11:20] Saviq, what? [11:20] dunno much about snap decisions [11:20] Cimi, there's no QML component to generate a snap decision with [11:21] you can't send a snap decision from unity8, even with the C api. something to do with the event loop iirc [11:21] oh [11:21] should be possible to inject without DBus, though [11:22] but might be tricky, too [11:22] yep. [11:22] Cimi, please find out whether the shut down dialog should be a snap decision indeed, as in what happens if you get a call when the dialog is on screen - should the call s-d show up next to it, or maybe shutdown cancelled [11:24] Saviq, shutdown should not cancel if I receive a call while I have the snap decision on [11:24] Saviq, it should queue and show both [11:24] I should be able to shut down the phone and ignore the call [11:24] Cimi, you certain? [11:25] Saviq, it's my common sense [11:25] Cimi, yeah, sorry, not good enough, please confirm the design [11:25] FWIW while any s-d is on screen, you won't be able to interact with the app [11:25] so you'd cancel the shutdown dialog anyway [11:25] Saviq, I am want to switch off the call because I don't want to hear my wife calling me because I am upset, and she stops me from powering off my phone [11:26] Cimi, still, we're not the ones to take this decision [11:26] or different use case [11:26] I am in a meeting, ringtone loud [11:26] or before departure [11:26] on a plane [11:27] Cimi, please confirm with design that the shutdown dialog is really meant to behave like any other s-d [11:27] trying to switch off the phone but somebody calls me and cancels [11:27] with my ringtone ringing in front of Ryanair angry stewart [11:27] I will do now :) [11:28] Saviq, granted that we want this, showing two notifications on screen [11:29] Saviq, shutdown notification and incoming call [11:29] Saviq, what shall we do next? [11:29] Saviq, sending dbus call from powerd? [11:30] Cimi, no, let's not build any more knowledge into powerd, when we want to move it out of there [11:30] ok [11:30] although powerd currently handles long-power-press as power-click anyway [11:30] that's why [11:30] Saviq, https://code.launchpad.net/~nick-dedekind/powerd/dbus-shutdown [11:31] is fairly correct [11:31] in my opinion [11:32] but going in the wrong direction [11:33] we want to move stuff out of powerd, not move more inside it [11:33] there are only issues with the timeout and possible segfaults ibecause we're not handling dispose [11:33] Saviq: what about the power click (screen off) ?? [11:33] g source should be cleared [11:33] on dispose [11:33] dednick, that should ultimately go into unity8 as well [11:33] dednick, same as activity monitoring [11:34] and suppression mechanisms, too [11:35] mmm [11:36] so yeah... that's long-term [11:36] i see heads exploding when putting power management into shell. [11:37] yeah [11:37] I agree [11:38] shell is a shell, should not handle power [11:38] can control power, but not interact with it IMHO [11:38] there should be a service for that [11:38] if shell crashes or hangs, I cannot switch off my phone [11:39] Cimi: well, you cant anyway, because there's no cnfirm :) [11:40] dednick, you can if you leave in powerd [11:40] dednick, one looong press to start shutdown [11:40] dednick, like you did, 20 secs in your branch [11:40] Cimi: i think that's hardwired into android [11:41] dednick, android? [11:41] dednick, you mean the phone? [11:41] motherboard whatever [11:41] whereever [11:41] ok [11:41] got it [11:42] might be right [11:42] but for emergency shutdown [11:42] but, anyway. volume key handling is also in unity8... [11:42] so... [11:42] a 10 or 5 seconds shutdown should be handled by a daemon/service [11:42] dednick, I think is wrong [11:43] dednick, those things should go as services [11:43] for the same reasons about hanging shell [11:43] and whole system collapses [11:44] we took shit for years because when compiz was crashing unity7 was bringing down everything, and viceversa [11:45] we should eventually move all those hardware functionalities in something separate [11:45] so they are guaranteeded to work regardless of the shell running/crashing/slowing down [11:46] that way shell could also suspend itself when I am playing a video or doing something else fullscreen [11:46] I'm not arguing... [11:46] thus saving more battery [11:47] dednick, so let's start by architect the power button better :) [11:48] what does the desktop use? [11:51] woops [11:51] long press power button on desktop shows power dialog. why dont we use the same thing? [11:52] (of course, even after dismissing the dialog, my desktoip got shut down; but that's not the point....) [11:54] ahah [11:54] dednick, I think we use gnome power manager or something for that === dandrader is now known as dandrader|afk [11:56] dednick, and ultimately apparently upower [11:58] Cimi, shell becomes the compositor, display server, if it slows down, you won't be able to do anything anyway, so that's not a valid argument [11:58] i think we use the session indicator [11:59] Cimi, and for battery life - that's exactly why we need to move input handling into the shell, so that powerd does not wake on every event, when the shell already does [11:59] Cimi, and please don't "rearchitect" things, there's other people responsible to do that [12:01] Saviq, those are hardware buttons [12:01] and services [12:01] Cimi, everything is hardware at some point [12:02] and splitting the responsibilities isn't getting you anywhere [12:02] they should be controlled independently from the UI [12:02] no, they should not [12:02] 'cause UI reacts to those hardware buttons [12:03] we want a pre-suspend animation, we need to composite a pre-resume frame, we need to reduce the number of input receivers to a minimum to save power [12:03] Saviq: desktop not runnig a shell. runs a music player in the vterm. presses volume button. what happens? [12:03] dednick, input goes to the music player [12:04] dednick, and it does whatever it wants with it [12:04] why are we trying to treat volume and power buttons different than any other key you have on your keyboard? [12:04] dednick, even now volume and power buttons are handled by unity7 [12:04] Saviq: so every player should be intepretting events then, not the shell. [12:05] dednick, sure, if it reaches the player, it should interpret it, but the shell needs to be able to override behaviour [12:05] dednick, if music player isn't focused, what do you want the volume buttons to do? === alan_g is now known as alan_g|lunch [12:05] if there isn't music played at all, what then? [12:05] Saviq, change master volume [12:06] Cimi, what does that change? [12:06] hardware buttons should change the master volume of my sondcard/output [12:06] not the current player [12:06] mmm [12:06] Cimi, that's really not how it works [12:07] how it should imho [12:07] no, you're not considering a lot of cases [12:07] Saviq, I am happy to understand why it would be better handled in the shell [12:07] when it comes to volume buttons, MeeGo has done the best job there is [12:08] by default, screen off → nothing happens [12:08] by default, screen on → you change profile between loud, quite, muted etc. [12:08] when music plays, screen off → volume changes [12:08] when music plays, screen on → volume changes [12:09] when no music playing, but focused app interprets volume → it does what it wants to [12:09] handling that in "a service" is really going to be a PITA [12:09] for no advantage at all [12:10] if you change your music volume, you don't want that to affect the ringtone volume, so you can't change master volume [12:10] etc. [12:10] so no, I completely disagree, and I'm not the only one, for that matter [12:10] even in unity7 it's the sound indicator I think that grabs volume and media keys [12:11] and tells Pulseaudio to do what it needs to do, which changes current output volume, not master volume [12:11] and talks to apps via MPRIS about media keys [12:11] Saviq, android has separate volumes [12:11] ok, so i get the argument for the volume, but power as well? there's no real intrpetation there is ther? [12:11] Saviq, so probably different audio slots [12:11] you can have a service/deamon adjusting volumes of those slots [12:12] Cimi, and that service needs to know what is in the foreground now [12:12] Cimi, so you get into IPC [12:12] please, let's not [12:12] when a player is connected to the media slot and the screen is off, the audio daemon modifies output volume of this slot [12:12] I am saying is not PITA [12:12] yeah, and now we have 55 services [12:13] every single one waking up on volume button press [12:13] to see if it wants to handle it [12:13] yay for battery life [12:13] mhr3: I found a bug in scope Preview (or so I suspect), but have trouble triaging it. can you help? [12:13] Saviq, why they should react? just the "audio daemon" [12:14] Cimi, they don't want to react, but they will still get the volume button press if they connect directly to the input stream [12:14] I understand this [12:15] but I still think that power button should be handled in the most reliable way [12:15] Cimi, and if there's something that's meant to route the input just to the audio daemon, that thing needs to listen to all input, and wake on every input event, even though the shell needs to, as well, so we at least double the CPU time to handle that event at the lower level === dandrader|afk is now known as dandrader [12:15] dednick, Cimi, as long as it's meant to have a result in the UI (suspend screen, display power off dialog), why not handle it in the UI? [12:15] Cimi, that's different, forced shutdown needs to happen in a lower level indeed [12:16] but anything that's actually supposed to affect the UI relies on the fact that the UI is actually working [12:16] if it's not, how is it better that something lower level will listen to it, if nothing is going to happen anyway? [12:17] Saviq: are we going to have different path for ubuntu desktop? [12:17] dednick, no, why? [12:17] if we dont run unity8 [12:17] dednick, we have the same path we have _now_ in unity7 [12:18] dednick, power button press is handled by your current vt [12:18] dednick, it's just an input event like any other [12:19] mk. thats fine by me. [12:19] yay, pressing power + esc just halted the PC for me :P [12:19] that's lower level for ya! [12:19] :) yeah, it shut me down earlier [12:20] so, all in all, all input needs to go: hw → shell → app → shell [12:20] power is handled by indicator-session on desktop [12:20] so that we can behave smart [12:20] with only power being interpreted by lower level as well to force shutdown [12:20] + a unitydialog/zenity [12:21] yups [12:21] karni, what's the issue? [12:21] Saviq: but where is the button press picked up? unity7? [12:22] dednick, not sure in the unity7 case, it might be LightDM talking to the session [12:22] not sure power is just an X key event under X11, but would expect so [12:23] mhr3: I have a preview with two buttons. Each belongs to separate 'actions' widget. Both launch the same URL, even though preview data returned from smart scope server is correct. [12:23] let me check something [12:23] mhr3: if you could check if two buttons from two separate action widgets properly map to their uri actions, that would be great [12:25] karni, and you adding 'uri' props to the actions? [12:25] s/and/are/ [12:26] dednick, under X it seems somewhat different, if there's no session running / intercepting the power off event, you get shutdown [12:26] * Saviq not sure we're actually getting a PowerOff event on the phone [12:26] Saviq, same thing with ctrl alt del [12:26] mhr3: this is interesting. so, for first one, I have 'uri': result['uri'] , but I just noticed for the second I have 'url': result['foobar_url'] - even if I made a mistake, second button should launch what first button launches [12:26] Cimi, yeah, those are interpreted by the vt probably, since nothing intercepts it [12:26] * karni tries [12:26] Saviq, exact;y [12:27] Cimi, but that's just _fallback_ [12:27] Saviq, we should have something similar [12:27] Saviq, I am not againt handling them in the shell [12:27] karni, can you pastebin the entire json pls? [12:27] Saviq, I am just for having a fallback when shell is not responding [12:27] Cimi, we have something exactly the same, that still means that *if* there's a shell working, you interpret them in the shell [12:27] Cimi, of course, but that's not what you argued [12:27] Cimi, you argued there should be a service regardless of whether shell is working or not [12:28] mhr3: just fixed line 21 (/s/url/uri), testing http://paste.ubuntu.com/7329484/ [12:28] karni, yea, that should work afaict [12:29] Cimi, and power/c+a+d are really a special case, volume isn't [12:29] Cimi, does your volume change when you switch to a VT and press volume up/down buttons? [12:29] karni, and why aren't you defining all the buttons inside a single actions widget? [12:29] mhr3: 1) because I can :D 2) I wanted to have them one under another. Is there another way to achieve this? [12:30] mhr3: so, yeah, /s/url/uri fixed the problem. [12:30] karni, that's against design ;) [12:30] Saviq: oh sh!t :O (/me fixes ;) ) [12:30] karni, ^^ what he said :P [12:30] karni, it's meant to be: [12:30] (primary action) [12:31] mhr3: I suspect PreviewActions was iterating through actions, or something, and assigned the second button action of the first one, because there were 2 buttons, but one proper uri. still, strange. [12:31] (secondary action) (primary action) [12:31] (negative action) (primary action) [12:31] Saviq: thank you [12:31] (combo button) (primary action) [12:31] Saviq: well, we haven't gone through design with this yet, so, that problem would surface :) [12:31] thanks, anyway! [12:31] * karni fixes [12:31] * Saviq wonders if we should limit the number of action widgets to one [12:31] probably not... [12:31] karni, if "uri" is not defined for the button, it falls back to result.uri (as in result for which the preview was requested) [12:32] Saviq: in theory, buttons can be interleaved by other widgets [12:32] karni, yeah, I know [12:32] mhr3: oooh that explains it. pretty smart ;D [12:32] just saying. I know you know :D [12:35] has Ubuntu Palette been updated, and bazillion of 'TODO's by me in unity8 are gone ;D? [12:36] karni, it's not that easy [12:36] I'm sure it's not :) [12:36] karni, it's not about updating the palette, but about extending it - we still need the original palette for the rest of the shell [12:36] right [12:36] karni, but anyway, this will go away with dash becoming an app [12:36] karni, which will have its own theme [12:37] oh cool!! [12:37] Saviq: does that mean we'll allow custom Dash apps? :O [12:37] karni, define custom dash apps? [12:37] Saviq: I write my own Dash. since Canonical's Dash is an app, I can install mine as well? [12:38] s/is/will be [12:38] karni, well, it's going to be a special app [12:38] ;> [12:38] karni, arguably, yes, it would be possible [12:38] karni, it's only gonna be special in the sense that it's not closeable, is respawned, and that some gestures / buttons will take you to it [12:39] Saviq: I see [12:39] so it could be possible to replace that with some other app, as long as it mimics the original dash [12:40] Saviq: I find it amusing that second button from actions widget shows to the left. while this is consistent with what you said about button layout (same as on Android, secondary action | primary action, cancel | confirm), it's somewhat counterintuitive they should up in reverse. [12:40] right [12:41] karni, depends on which paw you use your phone with ;) [12:41] thumb works well with the positive button [12:41] Saviq, it's like running scope-tool in the mir-preview-session [12:41] super confusing [12:41] Saviq: haha. I'm not saying about the palms. I'm saying, in code, I do: actions.append(foo), actions.append(bar), and then I get bar | foo on the phone [12:41] mhr3, lol :D [12:42] mhr3, so that's what you were trying to do? :) [12:42] karni, yeah, they go RTL, since any actions beyond the second will be collapsed into a combo button (at some point at least) [12:42] * karni agrees with the "negative | positive/confirm" layout. I meant how code maps to button layouting [12:42] Saviq, you mean my unity-mir adventures? [12:42] mhr3, yup :) [12:43] Saviq, nope ;) [12:43] * karni noted [12:43] Saviq, i wrote something like android's zygote for qmlscene === alan_g|lunch is now known as alan_g [12:43] mhr3, to speed up launch? [12:43] yep [12:43] what confuses me is, when I launch a browser from a scope result preview, when I swipe the browser to right, I get to "Apps" screen, and not to the scope results I was browsing. [12:44] mhr3: I heard you and Ondrej were working on this. cool. [12:44] karni, right, dash resets by design when you unfocus it [12:44] mhr3, are you putting it under upstart jobs? [12:44] Saviq, but qt is very unfriendly to pre-init stuff without having an actual QCoreApplication, so doesn't help much [12:44] personally, I think it's a wrong decision. but I have nothing to say about this professionally. [12:45] karni, file a bug, this behavior might not be wanted any more [12:45] Saviq, i did it without upstart [12:45] karni, a *lot* has changed [12:45] mhr3, so no lifecycle management :? [12:45] Saviq: ok [12:45] mhr3, we really want all apps to be managed by upstart... [12:45] Saviq, well... i did hook up closing, but if the app forked, noone would know :) [12:45] mhr3, yeah [12:46] Saviq, and i disagree, what upstart does to track forks is stupid [12:46] and we'll get rid of upstart anyway [12:46] Saviq, volume keys in X are input events [12:46] they come from kbd [12:47] Cimi, yes, I know, handled by the shell, not by no service [12:47] not sure on phones [12:47] Cimi, read Shell.qml [12:47] but i was concerned of power button [12:47] mhr3, sure, but we'll replace it with logind or whatever session systemd, same thing - we need everything to under there [12:48] https://bugs.launchpad.net/unity8/+bug/1312707 [12:48] Launchpad bug 1312707 in Unity 8 "Dash should not reset when unfocused" [Undecided,New] [12:49] Saviq, i need to dig into systemd, but i hope it does something more sophisticated than ptracing to track forks [12:49] i think it uses cgroups [12:49] which means you could add arbitrary process to it [12:49] and therefore my zygote would work fine :) [12:50] Saviq, so let me add power button to shell's powerd plugin? [12:50] mhr3, I'm sure it's possible to "inject" a process into a job [12:50] Saviq, not with upstart currently, no [12:50] mhr3, kk [12:50] Cimi, I don't think we should spend time on this task right now [12:51] Cimi, we need to clear up the whole powerd vs. unity8 story [12:51] Cimi, dednick, https://blueprints.launchpad.net/ubuntu/+spec/client-1410-unity-ui-power btw [12:52] Saviq, I was assigned to boot down animation [12:53] Cimi, I understand, but I don't think this task was evaluated enough [12:54] Saviq, anyway, next weekend i'll patch qt to be able to pre-init v4 ;) we'll see how that goes [12:54] still can't find where the desktop power button is being caught. lightdm seems to be doing it's own thing with systemd, the same as the indicator-session is... unity7 guys probably have more info [12:54] dednick, aren't those things handled by gsd? [12:54] mhr3, you talked with mardy on that? [12:55] mhr3, he did mention the MeeGo preloader a few times now [12:55] right [12:55] mardy, input ^^? [12:55] mhr3: gsd? err, gnome-settings-daemon ? [12:56] dednick, yea, seb128 might know [12:56] definitely not xevent [12:56] I ran xev [12:57] pressed power button [12:57] udev [12:57] yeah [12:57] * Cimi looks udev [12:57] well, it's being processed by indicator-session action somehow... [12:57] bregma: ping [12:58] yes? [12:58] bregma: howdy. your team did the unity7 shutdown dialog right? [12:58] certainly [12:58] or at least, one of them [12:58] bregma: you know where the power key event comes from? [12:59] as in, how does it get to indicator-session [12:59] isn't that a logind thing? I really don;t know for sure, it's a maze of twisty little passages, all different [13:00] it could also be gnome-session-daemon, it does things like taht [13:01] unity-settings-daemon does it [13:01] dednick, there's gnome.SessionManager with some methods like that [13:01] ah [13:01] seb128: thanks [13:01] logind handles the power button to shutdown the system [13:01] but the session puts an inhibitor and react to the action by showing a dialog [13:01] dednick, what are you trying to do? [13:02] seb128: just trying to get a handle on how the desktop handles shutdown vs phone. [13:02] I think there needs to be a breakout session on that in Malta [13:02] +1 [13:03] and the whole desktop vs. phone session handling [13:03] amen [13:03] dednick, http://bazaar.launchpad.net/~unity-settings-daemon-team/unity-settings-daemon/trunk/view/head:/plugins/media-keys/gsd-media-keys-manager.c#L2505 [13:03] bregma, you're there second week I hope? [13:03] absolutely [13:03] Saviq, dednick, bregma: let's wait to have systemd in the picture to do session handling, no need to build more on upstart to replace that next cycle [13:04] seb128, well, we need something working for this cycle ;) [13:04] actually, for the last cycle! [13:04] dednick, in unity8 it's likely mir that should grab for those keys and call the handlers [13:04] eek [13:04] Saviq, we have something working? [13:04] don't turn mir into gsd :P [13:05] seb128, shell, that si [13:05] is [13:05] mhr3, ↑ [13:05] not mir itself [13:05] I get the feeling mir is replacing more than X, it's replacing systemd too? [13:05] Saviq, mir/shell are the same thing to me :p [13:05] seb128, well, they're not ;) [13:05] right [13:05] cool guys [13:05] seb128, what we have working is powerd shutting down after 5s or so [13:05] well, key grabbing is not going to be done by some 3rd party daemon [13:05] seb128, but no way to show shutdown dialog et al [13:05] * bregma is going to start a rumour that Canonical wants to replace systemd with mir [13:05] Saviq, 2 [13:05] I think [13:05] :D [13:05] Cimi, 2? feel short === dandrader is now known as dandrader|bbl [13:06] lol [13:06] Saviq, I was speaking about https://code.launchpad.net/~charlesk/indicator-session/lp-1296814-logout-using-unity-session/+merge/215487 [13:06] brb [13:06] Saviq, http://bazaar.launchpad.net/~phablet-team/powerd/trunk/view/head:/src/powerd.cpp#L61 [13:06] seb128, well, yeah, that's short-term [13:06] seb128, so that you can logout at all from unity8 preview [13:06] Saviq, k [13:07] but yeah, agree, that needs discussions [13:07] it's all work for you guys at the end [13:07] unity8 should do the grabbing [13:08] indeed [13:08] Saviq, dednick, bregma: in fact the way keybindings work in trusty (iirc) is that the compiz grabs the keys and calls dbus methods, the actions are done by u-s-d [13:08] we did that the same way GNOME did with gnome-shell [13:08] it means g-s-d/u-s-d stop using xorg [13:08] they just provide dbus interfaces [13:08] the grabbing/callback being done by the shell [13:09] oh yea, we really have unity-settings-daemon now [13:09] when did that happen? :) [13:10] mhr3, this cycle, we also have unity-control-center [13:10] seb128, fwiw me not noticing is a hat off to your work ;) [13:10] mhr3, ;-) [13:12] ok, well now that my head is sufficiently exploded. i shall get back to some real work [13:14] so, in Unity 7, compiz grabs the shutdown key, sends it to u-s-d, which calls indicator-session, which sends to Unity (in compiz), which puts up a dialog, eventually returning the result to indicator-session, which then tells u-s-d to tell logind to shut down? [13:14] is there an autopilot test for that? [13:14] lol [13:15] bregma, I'm not sure about the compiz->shutdown part, I don't think it gets back through u-s-d [13:15] u-s-d is what receives the dbus call from compiz and call the action [13:15] but the action then is directly going to the gnome-session dbus api (I think) [13:15] i vote for the unity8 -> logind option! [13:15] which calls logind [13:15] 2 steps... easy peazy [13:16] mhr3: hi! https://gitorious.org/meegotouch/meegotouch-applauncherd/source/8bbf9aea2586015eb7cdaa7f2d42b4f821b787cf:README [13:16] dednick, that's basically what we have today [13:16] dednick, you need steps in between because you need the session to be able to block logout if there is unsaved work [13:16] seb128: actually, today we have 1 step on phone i thin. powerd = god [13:16] mhr3: that was very smart, you could pre-init lots of different stuff very easily [13:16] dednick, right, which means "if you have unsaved work, sucks to be you" [13:16] seb128: yep :) [13:17] seb128: your fault for pressing power button! [13:17] dednick, I am thankful for that, since the power button tends to be the way to swicth apps much of the time [13:17] ;-) [13:19] mardy, yea, so i implemented something similar [13:19] mardy, i was focusing on qml, but pre-initing enough of qt is an issue [13:20] mardy, basically you need qapplication for everything and you can't pre-init qapplication === alan_g is now known as alan_g|errand === alan_g|errand is now known as alan_g [13:26] mhr3: I got disconnected, I don't know what messages of mine went through, so I'll re-paste them: [13:27] 16:19 < mardy> mhr3: cool! BTW, also sailfish OS has something similar, let me find it... [13:27] 16:22 < mardy> mhr3: https://github.com/nemomobile/mapplauncherd and https://github.com/nemomobile/mapplauncherd-booster-qtcomponents [13:27] 16:23 < mardy> mhr3: the latter is a booster they use to preinitialize all the QML components of their toolkit === alan_g is now known as alan_g|errand [13:36] mardy, hm, that is indeed interesting [14:00] tsdgeos: hi. Your comment about the zooming doesn't work. Does it not zooming at all? [14:01] tsdgeos: I have the zooming worked. But it is a bit strange on central points so I'm debugging it right now. [14:02] paulliu: it did weird things [14:02] mainly moving the image around [14:02] maybe some zooming happened too [14:02] but it was very easy to end up with the image not even visible [14:03] tsdgeos: ok. Let me fix it a bit. === alan_g|errand is now known as alan_g [14:45] bregma: do we need to have some sync time with dandrader|bbl today on bug 1307701 [14:45] bug 1307701 in unity (Ubuntu) "Unity does not get touch events when QML apps running" [High,In progress] https://launchpad.net/bugs/1307701 [14:46] so you can leave and enjoy time off [14:49] kgunn, yes sir [14:51] tsdgeos: https://code.launchpad.net/~paulliu/unity8/zoomImage/+merge/207941 [14:51] tsdgeos: pushed. Should work now. [14:51] paulliu: cool [15:27] Trevinho: hello! [15:28] Trevinho: are you around? I would have some questions regarding the locally integrated menus, and I think you were working on those? [15:29] bregma: who would be the best person to ask about the local menus right now? [15:30] sil2100, Trevinho except he's off today [15:30] Ah... [15:30] bregma: thanks :) [15:33] sil2100, it's national holiday in italy, I hope he is not around :) [15:34] slackers [15:36] just clear up any confusion...not a holiday in the US === dandrader|bbl is now known as dandrader [16:19] bregma, I'm back === gatox is now known as gatox_lunch === jhodapp is now known as jhodapp|walk === gatox_lunch is now known as gatox === jhodapp|walk is now known as jhodapp [17:58] kgunn: can you do me a favor and update silo 002? I want to add lp:~mterry/lightdm/resettable to it (and once that is built, rebuild unity8) [17:59] mterry: ack [17:59] kgunn, this will get us instant lockscreen! (a couple small visual oddities right now, but those should go away with nonblocking Mir) [18:00] yes! [18:09] mterry: if you join #ubuntu-ci-choo-choo i added your name to get pung by the bot [18:09] kgunn, marked as auto-join now [18:09] cool... [18:09] it'll ping all 3 of us... [18:10] i gotta go dark for a bit...saga of replacing the smashed window continues [18:10] but i'll be off and on until ~4pm...then i get to go see Carmack talk [18:12] :) === dandrader is now known as dandrader|afk === dandrader|afk is now known as dandrader === jhodapp is now known as jhodapp|afk