[04:20] morning! [06:36] Trevinho: morning! I just filed https://bugs.launchpad.net/unity/+bug/1211174 which is blocking releasing at the moment, can you make any sense of it? [06:36] Launchpad bug 1211174 in Unity "unity.tests.test_home_lens failing" [Critical,New] [06:36] andyrock doesn't seem to be here yet [06:39] not sure yet if it's something from the unity stack or if something from the platform stack (where the failing test so far was run) could cause it [07:02] hi sil2100 [07:04] good morning! [07:06] Saviq: hi [07:06] mzanetti, mornin' [07:06] Saviq: any updates I should have? [07:07] mzanetti, nothing major, only thing I think is that Rick has set our priorities for August (see ubuntu-engineering@) [07:07] mzanetti, so we'll need to potentially reshuffle the work and help wherever needed to reach that [07:08] ok [07:08] * mzanetti reads mails [07:08] Saviq: progress on application management? [07:08] mzanetti, there is [07:09] are we using mir on the phone yet? [07:09] mzanetti, not by default, no [07:09] mzanetti, we're hoping for the end of the week [07:09] nice [07:10] I've seen dednick workarounded the CPU battery draining issue [07:10] makes me happy :) [07:12] jamesh: hi! lucene++ is waiting for sponsoring, I think someone should pick it up soon [07:12] jamesh: I'll poke the patch pilot as well [07:12] mzanetti, yeah, unfortunately a temporary and short-lived solution [07:12] Saviq: who's the man for the network indicator service? isn't that larsu? [07:12] maybe we should subscribe him to the bug too [07:13] mzanetti, it's not a service issue [07:13] mzanetti, it's a generic glib vs. Qt one [07:13] well, it seems to crash [07:14] sil2100: okay, thanks [07:15] sil2100: I think jamesh has other requests, I asked him to wait for you being back :) [07:15] the lucene++ one is the main one, so I can clear the merge request queue [07:16] mzanetti, ah, that's the "wrong" indicator backend anyway [07:16] mzanetti, it's chewie-client and not indicator-network that's used, still [07:16] jamesh: \o/ what's the other request? I'm back from holidays now so ready for action [07:17] jamesh: btw. did you send me an e-mail with those media-scanner branches? [07:17] sil2100: I may need a little more help once I've got everything merged and building in Jenkins [07:17] jamesh: or is it just one branch right now? [07:17] Saviq: any pointers where to start fixing this one? https://bugs.launchpad.net/ubuntu-ux/+bug/1210200 [07:17] Ok [07:17] Launchpad bug 1210200 in Ubuntu UX "[osk] OSK overlaps launcher when on an app and then navgiate to launcher" [High,New] [07:18] mzanetti, with Mir [07:18] mzanetti, shell is always just a single surface currently, so there's no way to composite them in the right order yet [07:19] mzanetti, although reaching for the launcher should dismiss the keyboard anyway [07:19] sil2100: https://code.launchpad.net/hollywood/+activereviews has all the pending work. The boost-fixes branch is probably the easiest one to do a test build against, if that's what you're after. [07:19] Saviq: should it?... not sure about that [07:19] Saviq: I wouldn't say so [07:19] sil2100: they all extend the changes in the saucy-fixes branch [07:19] mzanetti, add ubuntu-ux to the bug, then [07:19] mzanetti, I think that's what I heard - and it kinda makes sense [07:20] mzanetti, if you're going for the launcher, most of the time you'll focus another app, so OSK is out of context anyway [07:45] larsu: ping [07:46] MacSlow: veebers: my X crashed... [07:46] anyways, I think we were done, right? [07:46] mzanetti, yup [07:46] mzanetti: d'oh :-\ You didn't miss much, yeah was jsut the wrapup [07:47] dednick: morning [07:52] larsu: good morning! [07:54] larsu: i've proposed a couple of branches to qmenu/unitymenumodel on friday. Has to do with some leaking qobjects caused by glib callbacks issueing calls directly to qt. [07:54] dednick: awesome, I'll have a look in a bit. I fixed the action handling and added the parameter [07:55] dednick: ooh, but I didn't push it yet. Will do now [07:55] larsu: cool. thanks, i'll take a look at that and update unity8 to handle. [07:56] dednick: only use model.action.activate in menu items with a "x-canonical-type". For the normal ones, just call model.activate(). That will handle the parameter for you if the menu item has a target set [07:58] larsu: i'd much prefer if we can always using the action. [08:01] dednick: why? [08:01] larsu: we don't pass the root model around in qml, just the row data. so we don't have access to the model.activate function from outside the list [08:02] model.activate is accessible in every delegate, no? [08:03] there shouldn't be any reason why the menu item components need access to the root model [08:04] larsu: larsu because then they need to know about their own index within the model and such. [08:05] larsu: actually, i may change how they call activate [08:05] dednick: I don't understand. Are you doing something substantailly different from examples/unitymenumodel.qml? [08:05] might be better to signal value changes back to the delegate and let it call activate. [08:05] larsu: it's a hell of a lot bigger. has to be much more modular. [08:06] dednick: of course. I mean structurally. The components inside the delegates can always access all roles of its row, can't they? [08:07] and they should always have the ListView attached property [08:07] larsu: the delegates can, but the delegates arent the menu items. [08:07] larsu: nevermind. i'm going to change it. [08:08] i think it needs to change anyway. [08:08] hm, okay :) [08:19] larsu: actually had a q about thte x-canonical-type. there are some menus (eg mute) which don't set the type [to switch] it but have a bool state parameter. Should i be parsing the type in this case to know it's checkable? [08:20] *parsing the state type [08:20] larsu: unity7 is just a checkable menu type, but in unity8 i'm guessing we want a switch. [08:25] dednick: ah, right. I should be exporting that through the role, you shouldn't need to parse the state [08:26] larsu: ok, so it'll always be in x-canonical-type? [08:26] dednick: thinking about that right now [08:27] dednick: it's not really in the implementation, because x-canonical-type is something we added on top of gmenumodel [08:27] where checks and radios are in gmenumodel itself [08:27] but this will lead to two type systems for you... [08:27] kinda weird [08:28] larsu: hm. the radio is an intersting one. [08:28] dednick: is it easier for you if I consolidate everything into x-canonical-type? [08:28] dednick: usually, checks/radios are handled by the same widget as normal menu items [08:28] i.e., we just draw a check or a radio thing in the margin if gtkmenutracker tells us to [08:29] larsu: i so have a solution in place for the parsing type. [08:29] parsing type? [08:30] larsu: just checking if it's a boolean. if it is, pop a switch in the menu [08:30] dednick: don't do that, switches and checks are separate things [08:31] larsu: er. how so. [08:31] dednick: I'm sure mpt will gladly answer that one ;) [08:32] larsu: i'm pretty sure there are no checks in unity8 [08:32] what do you mean? In the toolkit? [08:33] in the design [08:33] dednick: https://wiki.ubuntu.com/Sound#Phone [08:34] larsu: ahh. hm. ok [08:34] larsu: how do i know it's a check then ? [08:35] dednick: not at all right now, I'm trying to make up my mind about a good solution [08:35] dednick: we have two options: [08:35] (1) consolidate with x-canonical-type [08:35] (2) make a separate thing, as gtkmenutracker does it [08:35] larsu: role in unitymenumodel [08:36] ? [08:36] if you have separate widgets for check and radio menu items, (1) will be easier [08:36] otherwise, (2) will be easier (because all you need is a "Check { visible: model.is_check }" or some such) [08:37] larsu: yes, but i'm guessing we wont be able to render a radio in that case. there's no "group" role is there? [08:37] different'y from a check i mean [08:37] it would be is_check and is_radio [08:37] or a string property that is set to "check" or "radio" [08:38] whatever you prefer :) [08:38] larsu: sep roles probably best. [08:39] now i need to check if we actually do have a checkbox in sdk... [08:39] dednick: okay, so (2) with "is_check" and "is_radio". Coming up. [08:39] larsu: ta. [08:40] oh, isCheck and isRadio, of course [08:40] * larsu always forgets about the camels [08:43] larsu: i removed model.activate when i changed to action.activate. need to put it back? [08:44] dednick: I already did [08:44] larsu: ah. i was just looking at r100 [08:55] dednick: done [08:56] larsu: that was quick. thanks. [08:58] Saviq, ping :) [08:59] Saviq, can you throw me all your ideas about why a signal might not be received externally by what is using a component? [09:03] it's not well connected? the signal is not emitted? [09:05] Cimi, can we see some code? [09:05] Saviq, http://paste.ubuntu.com/5976602/ [09:06] http://paste.ubuntu.com/5976603 [09:06] basically I added a swapped signal [09:06] and in my test case is not sent through :-\ [09:06] not always I mean... [09:06] let me push the code [09:07] Saviq, lp:~unity-team/unity/background-ugly [09:09] Cimi, here's my output when setting my background to an empty string and back to the right path http://pastebin.ubuntu.com/5976613/ [09:09] Saviq, you see it's missing one [09:10] Cimi, it's missing the "swapped" print, that it? [09:10] Saviq, yeah [09:11] the crossfadeimage thing (i.e. receiver) is nto there? [09:13] tsdgeos, I have one onSwapped handler in Shell.qml [09:13] tsdgeos, it's not receiving one [09:13] ah sorry, got confused by the diff then [09:13] which is problem number 1 [09:14] then I have problem number 2 which is understanding why the swapImage() function is not called when crossfading :) [09:14] I think it might be because of the animation [09:15] but that's a different thing ;) [09:16] Cimi, http://paste.ubuntu.com/5976628/ seems to print "received swapped" every time [09:17] Saviq, what did you change? [09:17] Cimi, it's because you have wo handlers [09:17] Saviq, even with one didn't change... [09:18] Cimi, now I added onSwapped: in CrossFadeImage [09:18] Cimi, and indeed I'm not getting the "outside" one [09:19] tsdgeos, when you have Foo.qml: Item { onSomething: }; and then Foo { onSomething: }, would you expect both to be called or just the overridden one? [09:19] Saviq: i think both are called [09:19] s/overridden/overriding/ [09:19] but can't be sure tbh [09:22] tsdgeos, yeah, in a simple example both are [09:24] Cimi, I think your problem is that you're emitting the signal twice in a very small time window [09:24] Cimi, I "reliably" see that the internal onSwapped is called twice [09:24] Saviq, that's why I was trying to put wait(2000) [09:24] Cimi, when the external onSwapped is only used once [09:25] yes [09:26] Cimi, it does feel like a bug, but I can't find an easy way to reproduce [09:26] Saviq, it does feel like a bug to me too [09:26] Saviq, spent hours on friday [09:26] Cimi, either way, do you need the "internal" onSwapped? [09:27] Saviq, I put it to test if it was printing correctly [09:27] Cimi, and why did you go against the Image { } that was just testing whether the image is ok and to check its aspect ratio [09:27] ? [09:28] Saviq, mzanetti removed it [09:28] Saviq, because this simplifies... [09:29] Cimi, yeah, but that means that you would see a flicker in the crossfade, no? [09:29] Cimi, or will the crossfade not happen if the "new" image is wrong? [09:29] Saviq, I wanted to know when crossfadeimage correctly loaded and shown a new image [09:30] if two images are correct, onStatusChanged doesn't change (always "Image.Ready" I think) [09:30] Saviq, onSourceChanged is not enough to use, because it's too early to get the right status [09:30] so was thinking of emitting a signal when the image is correctly loaded, that's why the "Swapped" [09:31] which I could rename to loaded or so.. [09:31] but if it's not reliable I'm doomed [09:32] Cimi, sure, I understand, I just want you to make sure that when you set an invalid background, it goes directly to the default one and not to black and then to the default one [09:33] Saviq, ahh I see [09:33] Saviq, this is a good reason to keep the image loader [09:33] Saviq, crossfadeImage should handle that though [09:40] Saviq, how about adding an image loader in crossfadeimage? [09:40] Saviq, loader/tester [09:41] Cimi, it should already "have" one, i.e. the "next" image - you start loading it and report status updates from that image [09:42] Cimi, so when Image.Error is spat out of it, you know the source that's set is wrong [09:44] Saviq, yes but I want to know the last image that was swapped correctly... [09:44] Cimi, why? [09:44] Saviq, so I can store it [09:44] Saviq, if it fails, it reverts [09:45] Cimi, you don't want to store the "last correct value", though, do you? [09:45] Cimi, we want to fall back to the default [09:45] Saviq, you asked to fallback to the last sane image [09:45] Cimi, not for the default? [09:45] like I have default, I set red, then blue, then wrong [09:46] I want to go back to blue [09:46] Cimi, that could be handled in CFI internally [09:46] Cimi, but anyway I don't think we should just "ignore" the change [09:46] Cimi, but instead go to the default [09:46] Cimi, if I said otherwise, sorry, I'm an a$$ [09:47] no problem [09:47] I discovered the craziness of qml and its signals :O [09:52] dednick: is the qevents branch a temporary workaround for the qt bug? [10:03] larsu: no, dont think qt will do anything about it. [10:03] larsu: that's the impression i got from them anyway [10:04] dednick: bummer. I assume we might hit this in other projects as well. [10:04] larsu: indeed. [10:04] dednick: anyway, I'll merge it, we need to get this rolling ;) [10:10] Cimi, yeah, I think that's the correct thing to do [10:10] Saviq, you mean I should revert to default without overriding the gsettings key? [10:10] Cimi, yes [10:10] Cimi, don't touch gsettings, but display the default [10:11] Saviq, so gsettings will keep the broken image? [10:11] Cimi, yes [10:11] Cimi, that's the correct thing to do [10:11] Cimi, we shouldn't be overwriting someone's settings just because our image failed to load [10:12] Cimi, we don't know the reason why it failed to load [10:12] Cimi, e.g. it might be unavailable right now, but on reboot will be there, for example [10:14] mzanetti: Saviq: so what we do with the ofono branch? [10:14] tsdgeos, let me ping jounih for feedback on it [10:15] Saviq: btw weird thing about the qdbusxml2cpp, we (as with my kde hat) run it on compile time all the time afaik [10:15] but not going to block on that [10:16] maybe we need to change the copyright notice though? or? [10:16] tsdgeos, yeah, was surprised to read that, but it does actually make sense [10:16] tsdgeos, same for qmltypes - we should only generate them on change, not build-time [10:17] (or do it build-time and compare to see if there's a difference and block on that, actually) [10:17] difference between the checked-in one and the generated one, that is [10:22] Saviq: tsdgeos: for the ofono branch we have 2 main questions: [10:23] a) should it be part of unity8 or not (I'd say yes) [10:23] b) some open design figures where I would not block on as it will be refined once designers actually get it on their phones. [10:26] mzanetti: a) looks good to me, but i agree with some of the comments in which i should be able to use my phone even without entering the sim and then i should have some kind of indicator or way to enter it once "running" [10:26] that's how most of the phones i've had work [10:27] tsdgeos: yeah... you can cancel the PIN entry already now [10:27] tsdgeos: the only thing we need to figure is how to enter it at some later point in case it was cancelled. But we have a meeting scheduled for tomorrow for that [10:28] ah good stuff [10:28] dednick: there's a FIXME before you send the datachangeevent, but it seems to work fine. Is that just a left over? [10:29] larsu: yeah. i think i was just tagging code that needed the events put in [10:29] larsu: i'll remove quick. [10:30] dednick: don't worry about it, I'm removing it with the merge [10:30] larsu: ok. thanks [10:31] dednick: your branches are merged. Let me just add a "isToggled" role so that you can find ääout whether to show a check by doing "visible: isChecked && isToggled" [10:31] oh, "isCheck" of course [10:32] larsu: toggle will be stored in state parameter no? [10:33] dednick: only for checks. For radios, you'd need to compare to "target", which "isToggled" does for you [10:33] Saviq: greyback: so how do we fix https://launchpadlibrarian.net/147378097/buildlog_ubuntu-saucy-amd64.platform-api_1%3A0.18.3%2B13.10.20130807-0%2B201308121010~113%2B90~saucy1_FAILEDTOBUILD.txt.gz ? [10:33] larsu: ah. i see. ok [10:33] greyback, any idea why https://code.launchpad.net/~phablet-team/+archive/mir/+sourcepub/3419610/+listing-archive-extra failed, then? and if it's the correct branch anyway? [10:33] greyback, it's built from lp:platform-api via https://code.launchpad.net/~phablet-team/+recipe/platform-api-mir-daily [10:34] dednick: done. It's ready to merge from my side. [10:34] tsdgeos: I'll fix the FTBFS, I understand the Mir change that caused it [10:34] Saviq: ^^ [10:34] awesome :-) [10:34] larsu: cool. thanks for that. i'll check it all out asap [10:35] greyback, cool [10:35] dednick: okay. I'll be gone for the next hour or so. Lunchtime :) [10:35] greyback, let me know, I'll handle the recipes and the rebuilds [10:35] Saviq: ack [10:36] greyback: also was talking about getting a nice autolander and CI for unity-mir, what do you think? is it too soon or can we do that already? [10:39] tsdgeos: I was waiting for sil2100 's go-ahead, he had to block on that for some reason. [10:40] sil2100: can we get auto-landing on unity-mir, pretty please? [10:44] he ran away :D [10:57] sil2100: did you get the "unity-mir autolanding" msg? [10:57] sil2100: it was "can we get auto-landing on unity-mir, pretty please?" [10:58] Saviq: there are rumors that we want to move away from the ./build script. Is that true? [10:59] greyback_: ! [10:59] That's music to my ears [10:59] I missed it, but now I hear it [11:00] greyback_: does it build with everything that's in saucy now? [11:01] sil2100: ah yes, that was why we've to wait. Unfortunately not yet, ricmm has 2 MRs up to fix that [11:01] mzanetti, we already can [11:01] mzanetti, a simple cmake; make [11:01] mzanetti, is all we need [11:01] mzanetti, ./build is just a helper [11:01] Saviq: I know... I used that a lot [11:02] Saviq: still it does some other things too, doesn't it? [11:02] mzanetti, it installs build and runtime deps [11:02] mzanetti, but that can be done manually "the usual way" [11:02] mzanetti, that's ut [11:02] it [11:02] yeah... just wondering as Wellark told me it would be obsolete and will be removed "soon" [11:02] greyback_: since auto-landing requires that we are able to build it without any additional PPAs - if that's possible right now, I can add it tot the config ASAP [11:02] mzanetti, that's probably an incorrect statement [11:03] mzanetti, I don't see a reason to remove it, really [11:03] mzanetti, other than maintainership [11:03] sil2100: not possible yet. When it is, you'll be first to know [11:05] greyback_: awesome, waiting for the signal then ;) [11:05] Wellark, I don't think we'll be removing the build script any time soon, it's just a helper script [11:05] Wellark, it's not needed any more, but speeds up things [11:05] we might remove the mention of it from CODING [11:05] Saviq: is there a solution (e.g. from unity7) how to generate the initial list of apps in the launcher or do we need to figure something ourselves= [11:06] mzanetti, gsettings [11:06] ? [11:06] mzanetti, com.canonical.Unity.Launcher favorites [11:06] mzanetti, we should have an .override for it on the phone, but that's about it [11:06] Saviq: not talking about where to store them. but rather where to get a default list in case the setting is empty [11:06] ↑ [11:07] mzanetti, from gsettings' default [11:07] ok. [11:07] mzanetti, overridden by the .override file that I don't know what we'll ship it with yet [11:07] seb128, larsu, any updates on the "how do we handle settings different between form factors" topic? [11:08] i.e. default launcher favourites, default background and such? [11:09] and whether changing a setting "propagates" to different ffactors? [11:09] Saviq, I've not seen any recent discussion about that, I guess it would make more sense to have the feature build into the stack (e.g having db profiles) rather than having different keys (eg Launcher.
) and have the code bind to the right one [11:10] Saviq: hmm... are QSettings not to be used? [11:11] mzanetti, aren't QSettings being deprecated? [11:11] Saviq: that would be news to me [11:11] Saviq: they were, but they didn't write any replacement, so they undeprecated it :D [11:11] lol [11:12] oh boy... and I know the reason for all this :D [11:12] mzanetti, and anyway - we use gsettings in Ubuntu extensively, so gsettings-qt is the first place to look at [11:12] mzanetti, like we have for the background, for example [11:13] Saviq: not saying I would know better, but does it really make sense to switch away from everything G* while still keeping the settings? [11:13] mzanetti, about that, we had to revert the background stuff - it broke autopilot, 'cause the default background wasn't there (no idea how that got through the upstream merger) [11:13] mzanetti, we're not "switching away from everything G*" [11:14] mzanetti, not where we're using it extensively on the desktop (like for gsettings) [11:14] mzanetti, and where there isn't a real alternative [11:14] hmm... I don't know enough about GSettings to judge that [11:15] just feels weird to completely write Qt apps but then use gsettings instead of QSettings. Thinking about portability of apps for example [11:15] not a real issue with unity, I agree [11:15] Saviq: ok, I will make sure unity8 launcher uses gsettings. I will check out gsettings-qt [11:16] Saviq: is it in main/universe? [11:16] Wellark: we already use it in unity iirc [11:16] anyone know if it's possible to block signals in qml? [11:16] dednick: define "block" signals [11:16] tsdgeos: Saviq: https://code.launchpad.net/~gerboland/unity-mir/fix-FTBFS-mir-951/+merge/179665 [11:17] mzanetti: change in property value causing signal. equiv of QObject::blockSignals [11:17] Saviq: do you have any other technical requirements for the launcher backend? [11:17] 14:06 < Saviq> mzanetti, com.canonical.Unity.Launcher favorites [11:18] Saviq: so, reuse the schema from unity7? [11:18] Wellark, yes [11:18] and paths [11:18] Wellark, wherever it makes sense, we should use the same [11:18] Saviq: do you have a spec for me or is it the old "dig the source, luke" [11:18] Wellark, I have nothing, can't say there is nothing, though [11:18] dednick: what's the issue with QObject::blockSignals [11:19] mzanetti: ? i'm in qml... [11:19] greyback_: shall i "auto-merge" ? [11:19] didrocks, are the unity gsettings schemas documented somewhere? [11:19] dednick: ah... qml. lemme check [11:19] tsdgeos: please [11:20] done [11:20] Wellark, they are effectively documented in the schema itself [11:20] tsdgeos, greyback_I can trigger platform-api build? [11:21] Wellark, http://bazaar.launchpad.net/~unity-team/unity/trunk/view/head:/com.canonical.Unity.gschema.xml [11:21] dednick: can't find anything integrated in QQuickItem. However, I guess you can move the onSignal: methods into a Connections {} item and set that to enabled/disabled === MacSlow is now known as MacSlow|lunch [11:22] Saviq: I don't think they are TBH :/ [11:22] mzanetti: ah. ok, thanks. [11:22] didrocks, the .xml is probably enough, really [11:22] Saviq: ok, thanks! [11:22] greyback_, hmm, the FTBFS was on lp:platform-api, though [11:22] dednick: if there isn't a enabled property there, you can set/unset the target property [11:22] Saviq: seems the schema is installed by libunity-core-6.0-7 [11:22] Saviq: odd, I just checked here and it was fine [11:22] Wellark, yes [11:23] greyback_, https://code.launchpad.net/~phablet-team/+archive/mir/+sourcepub/3419610/+listing-archive-extra [11:24] so, either, we split out the schemas to independent package, or unity8 will depend on unity-core or we do the middle ground: on systems where libunity-core is installed we use that and on systems where there is no unity7 we provide additional package to install the schema [11:25] Wellark, it already depends on unity-core [11:25] Saviq: or will unity8 have it's own unity-core [11:25] Saviq: unity-core does not bring in any unity7 binaries? [11:25] Wellark, no, it's just a utility library for "unity shells" [11:26] Wellark, whether it's unity7, unity-2d or unity8 [11:26] Wellark, but there are plans to split the schemas out anyway, I believe [11:27] Saviq: ok, sweet. I was worried if we run into trouble with pure unity8 systems or unity7/unity8 hybrids [11:27] but it's taken care off [11:36] mzanetti, we use gsettings for system settings, not app settings [11:36] mzanetti, and we are talking about writting a gsettings backend for qgsettings, maybe [11:36] seb128: ah ok [11:36] mzanetti, gsettings has some advantage, those keys are shared being component, not a db specific to an app [11:37] mzanetti, they also need to have system/vendor override and lockdown support [11:37] mzanetti, gsettings gives us all that today [11:37] seb128: sweet :) [11:37] ah, I see. thanks for clarifying [11:37] yw [11:37] seb128, Saviq: how complete is gsettings-qt? [11:37] does it give access to everything we need? [11:37] Wellark, complete enough, with Qt and QML bindings [11:38] Wellark, define "complete", it's working and being used in system settings and phone-app [11:38] Wellark, it has c++ and qml apis [11:38] complete as API parity with the GObject API [11:38] not yet [11:38] but you don't need most of things [11:38] ok. [11:39] Wellark, yeah, so in launcher-backend you'd probably use the c++ api [11:40] Saviq: yeah, AFAIK all I need is a way to write a list of values and read them back [11:40] Wellark, yup, that's what it'll give you [11:40] and get notification if somebody else messes with the list (webapps adding launcher entries, etc) [11:41] gsettings supports multiple writers, right? [11:41] you have read/write/notification on changes [11:55] Saviq, mzanetti: last I heard was that "someone" wanted to write a gsettings backend for qsettings [11:55] for apps [11:56] unity and other desktop components need more flexibility than qsettings, so they use gsettings directly (through a qt wrapper) === tvoss is now known as tvoss|quick_lunc === alan_g is now known as alan_g|lunch === _salem is now known as salem_ [12:20] Saviq: what package is providing the gicon qml loader? [12:20] Wellark, ui toolkit plugin [12:22] Wellark: but but but don't use it. [12:23] lol [12:24] ;) [12:30] larsu: what should be used instead? === MacSlow|lunch is now known as MacSlow [12:31] Wellark: uris. For themed icons, image://theme/ (if someone approved my merge, that is) [12:31] Wellark: what do you need gicon for? [12:32] larsu: well, I've seen it being used to get themed icons, but what I need it for is loading icons for launcher items based on the .desktop file Icon key [12:33] or, more precisely giving mzanetti a icon URL he can load with qml [12:33] what ever providers we have [12:33] Wellark: ya, use image://theme for that. And bother someone to approve https://code.launchpad.net/~larsu/ubuntu-ui-toolkit/add-unity-theme-icon-provider/+merge/179011 [12:33] image://gicon/ seems to do the trick just fine [12:34] mzanetti: ^ [12:34] Wellark: yes it does, but don't use it! [12:34] Wellark: consider it deprecated. [12:34] larsu: that loads also from /usr/share/pixmaps ? [12:34] for some reason gicon loader doesn't do that [12:34] Wellark: why should it? [12:35] well, I was under the impression that pixmaps belongs to the theme spec and gicon would support it :) [12:35] larsu: but as long as your loader supports it I don't care [12:35] it doesn't [12:35] it supports themes as per the themeing spec [12:36] desktop entries may be themed icons or absolute paths [12:36] that means for you: find out if it's an absolute path. If it is, generate a file:/ uri, else use image://theme/ [12:36] or are you using GDesktopAppInfo? [12:36] sounds sane to me ^^ [12:36] larsu: http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#directory_layout [12:37] "and in /usr/share/pixmaps (in that order)" [12:37] firefox and thunderbird install their icons under pixmaps [12:37] Wellark: if it's in the spec, then my loader supports it (unless qt has a bug) [12:38] sweet [12:38] Wellark: interesting, I thought everybody just used hicolor [12:38] oh well, TIL. [12:38] larsu: what about click? I just make sure click icons have absolute paths? [12:38] thanks for pointing me to that, Wellark [12:39] Wellark: yeah, absolute for click sounds fine [12:39] Wellark: either that, or install the icon in a directory that the theming spec mentions [12:39] Wellark: probably we don't even need the clickimageprovider [12:39] mzanetti: ya, that would be wrong. [12:39] Wellark: did you get time to finish the .desktop file parser? [12:40] * larsu acts as if he didn't just read what greyback_ wrote and goes back to hacking [12:40] Wellark: or what would you recommend as best tool to use to read .desktop files then? [12:41] greyback_: https://code.launchpad.net/~kaijanmaki/unity8/launcher-backend/+merge/179663 [12:41] greyback_: we probably need to move it to a library [12:41] mzanetti: +1 [12:42] greyback_: feel free to review the parser part and add that ass a comment [12:42] mzanetti: sure [12:43] larsu: I'm generating some pressure on #sdk to get your MR approved. [12:43] Wellark: thanks! [12:46] Saviq, I find it hard not having a loop here: if the status is Error I have to change the source, but this could create a binding loop [12:46] larsu: please, join #sdk [12:46] Cimi, don't use a binding, then, use signal handlers [12:46] Saviq, I am :-\ [12:46] Saviq, still complains [12:47] http://paste.ubuntu.com/5977163/ [12:47] Cimi, complains how? if there's no binding, how can it complain that there's a binding loop? [12:47] Saviq, onStatusChanged: if status == error -> source = defaultbg [12:48] Saviq, if defaulting is error, it loops maybe [12:48] *defaultbg [12:48] Cimi, well, you do protect against that in the if() [12:49] Cimi, what does it complain about? [12:49] Saviq, indeed, but still complains [12:49] Saviq, QWARN : qmltestrunner::Shell::test_wallpaper_wrong() file:///home/cimi/Development/unity/unity8.fix-wallpaper/Shell.qml:150:9: QML CrossFadeImage: Binding loop detected for property "status" [12:50] Saviq, unless I have a different handler in crossfadeimage [12:50] and they collide [12:50] Cimi, it's difficult to see, push to the branch, please [12:50] ok [12:51] Saviq, pushed in background ugly [12:55] Cimi, it doesn't build/run [12:55] weird [12:55] Saviq, error? build here [12:59] Cimi, tests/mocks/GSettings isn't there [12:59] Cimi, clean build won't work [13:04] Saviq, ouch [13:05] Saviq, pushed [13:08] Cimi, file:///home/michal/dev/canonical/unity8/repo/Shell.qml:123:9: Cannot assign to non-existent property "onPictureUriChanged" [13:08] onPictureUriChanged: backgroundImage.source = pictureUri [13:08] Cimi, there is no "onFooBarChanged" on GSettings [13:08] larsu, right ↑? could there be? [13:09] Saviq: no there isn't, because these properties are loaded at runtime [13:09] Saviq: there's a onChanged(keyname) on a GSettings object [13:09] so I need an extra property for that [13:09] Cimi, ↑ [13:13] Saviq: there? [13:13] tsdgeos, yup [13:13] Saviq: can you add to https://code.launchpad.net/~unity-team/unity8/app-preview-data/+merge/179348 the steps to get the click scope? [13:13] tsdgeos, yeah, doing [13:13] i can't find them (you told them on friday) and i guess they'll be useful to others if they want to give it a look [13:18] larsu: ping [13:19] didrocks, hello! Is there a way to tell what bzr revision was built by a daily release build? [13:19] larsu: should remove theme icon provider from qmenumodel? [13:20] larsu: since you've proposed it to ubuntu-ui-toolkit === alan_g|lunch is now known as alan_g [13:20] fginther: it's in debian/changelog [13:20] you will see it [13:20] as well as when it's merging back [13:20] tsdgeos, added to description [13:20] it's part of the commit message [13:20] awesome [13:20] didrocks, thx [13:21] yw [13:26] dunno [13:29] Saviq, I skip the hangout and keep focusing here... [13:29] Saviq, I don't want to lose the concentraiton [13:29] Cimi, k [13:31] nic-doffay, standup [13:33] mterry, can you hear us? [13:34] is the background property needed or not? [13:34] Saviq, no, hmm [13:35] Saviq, can now [13:39] larsu: also, do we need to bump qmenumodel version? or is that done automatically? [13:43] dednick: I wanted to remove it once it lands in ui-toolkit, but it looks like that won't happen soon, because it misses testing [13:43] dednick: maybe Wellark will write them... [13:44] Saviq: on the app ppreview thing [13:44] it's sloowwwwwwwwwwwwwwww [13:44] tsdgeos, meaning? [13:44] i.e. i click on the "Fake Calculator", wait around 2 seconds, and then the preview opens [13:44] tsdgeos, yeah, we need a spinner [13:44] dednick: good point about the version. I'll bump it. [13:44] is it waiting to fetch all the data for the interwebs? [13:44] tsdgeos, and fix the scope, too [13:44] yeah a spinner would help [13:44] tsdgeos, yeah [13:45] dednick: ugh, how do I even do that? Can't find the proper line in CMakeLists.txt [13:49] larsu: no idea. === dednick is now known as dednick|lunch [13:54] larsu, what version? [13:55] seb128: qmenumodel [13:55] seb128: we want to add unitymenumodel, and unity8 should depend on the version that has it [13:55] larsu, do you want to change the abi version then? [13:57] seb128: no, I don't think that's necessary [13:57] larsu, ok, so just edit unity8's control to version the depends? [13:58] seb128: right, but I can't figure out where cmake sets the dep in qmenumodel [13:58] seb128: s/dep/version [13:58] larsu, just version in the packaging? [13:59] larsu, I'm not sure qml has proper versionning/check of versions [13:59] seb128: hm. Where in the packaging is the version set? [13:59] larsu, out of bumping the abi/import number [14:00] larsu, [14:00] $ grep qmenumodel unity8/debian/control [14:00] ... [14:00] Depends: qmenumodel-qml, [14:00] [14:00] when unity8 starts usuing unitymenumodel change that line in [14:01] Depends: qmenumodel-qml (>> 20130812) [14:01] or whatever is the version that got the feature landed [14:01] seb128: ah! okay. So no changes in qmenumodel needed [14:01] dednick|lunch: ^^ [14:01] seb128: thank you! === salem_ is now known as _salem === _salem is now known as salem_ [14:19] Saviq, I'm doomed, still the binding loop even with the if [14:19] what? [14:19] http://paste.ubuntu.com/5977466/ [14:19] #1 0x49c06090 in OPENSSL_cpuid_setup () from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0 [14:19] tsdgeos, yikes [14:20] ¿? [14:20] mzanetti, can you please help Cimi? [14:20] again! [14:20] sure [14:20] Cimi: what up? [14:20] mzanetti, still the problem with the background fallback [14:20] what's wrong with my libcrypto? :( [14:20] mzanetti, had multiple issues... [14:20] Cimi: ah ok [14:22] Cimi: what's the branch again? [14:22] lp:~unity-team/unity/background-ugly [14:22] tsdgeos: the NSA are after you, run quick! [14:22] * tsdgeos throws the phone out of the window [14:22] mzanetti, I'm going to have lunch, s [14:22] ok [14:22] mzanetti, yes, now... === alan_g is now known as alan_g|tea [14:28] Saviq: mzanetti: greyback_: can you guys do ./run_on_device -g on a Nexus 4 (if you have one)? [14:28] i'm getting that ssl crash [14:28] works without the .g [14:28] * mzanetti tries [14:30] :F [14:31] Cimi: when you're back, let me know what the issues are... === alan_g|tea is now known as alan_g [14:42] tsdgeos, greyback_ yeah we have an image [14:42] Saviq: now to see if it works.. [14:43] good [14:43] * tsdgeos tries === daek_ is now known as daekdroom [14:55] larsu: approved. === dednick|lunch is now known as dednick [14:56] dednick: thanks! [15:06] Trevinho, andyrock: ping [15:09] mzanetti, back [15:11] mzanetti, binding loop first of all [15:11] ... [15:12] sil2100, pong [15:12] sil2100, welcome back! :D [15:12] andyrock: thanks! ;) This week let's take care of the new compiz for saucy - but besides that, do you think you could take a look at an unity test failing? [15:12] AP one [15:14] fginther: ping [15:14] sil2100, sure [15:15] sil2100, have you got a link? [15:15] sil2100, with all the failures? [15:15] andyrock: it's just one failure, let me fetch it [15:15] * andyrock missed the "an" [15:15] :D [15:16] andyrock: for instance here http://10.97.0.1:8080/job/autopilot-saucy-daily_release/927/ [15:17] dednick, otp, I'll be available in a few minutes [15:22] sil2100, fails here too [15:24] andyrock: can you fix it? ;) It's blocking platform even! [15:25] sil2100, i can try... maybe something changed in bamf and wait_utils_application_is_runnig does not work [15:25] Could be! [15:25] didrocks: any idea what this error is? https://jenkins.qa.ubuntu.com/job/qmenumodel-saucy-armhf-autolanding/2/console [15:25] * larsu read daily build and thought of didrocks :) [15:26] as everyone :p [15:26] but I guess this just updated at the wrong time [15:26] between an index refresh [15:26] so no need to bother the QA team, just retry and it should be fine :) [15:26] andyrock: thanks! [15:26] larsu, didrocks: i re-approved already [15:26] np! [15:27] didrocks: thanks! [15:27] larsu: yw ;) [15:35] mzanetti, ? [15:37] Cimi: in a hangout atm [15:37] ok [15:37] Cimi: but I pushed one fix already [15:37] * Cimi looks [15:39] Saviq: greyback_: bad news, still black screen :'( [15:39] tsdgeos: damn. You tested Mir alone, and same problem? [15:40] greyback_: yeah, mir_demo_server + mir_client_accelerated [15:40] tsdgeos: something more fundamental broken so. No messages in stdout/stderr either? [15:40] nothing :-/ [15:51] mzanetti, we still have the loop though :| [15:52] Cimi: I'll check it out after the hangout... [15:56] Saviq: ping [15:56] * dednick has a present for you === andy__ is now known as andyrock [16:06] jamesh: if anything, the new lucene++ is in saucy now [16:06] jamesh: so we can proceed with merging in all the bits and pieces for media-scanner [16:08] larsu, Woot! UMM! :-) [16:08] jamesh: I'm re-running CI for your merge [16:08] dednick, You're now on my harass list :-) [16:08] tedg: ;) [16:11] sil2100, fixed [16:11] sil2100, is there already a bug on lp? [16:11] tedg: lucky me. [16:11] andyrock: let me check if Mirv filled one in [16:11] tedg: is there anything in particular you want to harass me about? :) [16:11] dednick, Just the UMM branch into unity8 trunk. [16:12] andyrock: yes, there seems one! [16:12] andyrock: https://bugs.launchpad.net/unity/+bug/1211174 [16:12] Launchpad bug 1211174 in Unity "test_home_lens.HomeScopeSearchTests.test_quick_run_app failing" [Critical,New] [16:12] andyrock: thanks a lot for fixing! Any branch I could take a look? Where was the problem? [16:12] sil2100: btw, the number of AP tests failing on unity is quite high, but let's see once you have those in [16:12] tedg: i c. waiting on a review. :) need to harass some on from unity8 ui team. [16:12] sil2100: so, I hope you can release this unity easily ;) [16:13] sil2100, Trevinho changed the dbus path [16:13] dednick, Then we need to work on moving the indicators over as we solve integration issues. [16:13] andyrock: can you check if nothing else is impacted? [16:13] dednick, I'd like to figure those out and get those bugs fixed ASAP. But it's going to be harder for us until that lands. [16:13] it was something like that before /Application341234 [16:13] now it's /Application/23424 [16:13] didrocks, sure [16:13] thanks! :) [16:13] dednick, Ah, so I just need to harass someone to review it.... Saviq, do you need me to call anyone to cancel your plans for the evening? ;-) [16:14] \o/ [16:14] sil2100: given that information, I think you can force the publication of platform [16:14] (and everything stuck on it then ;)) [16:16] dednick, pong [16:16] didrocks: hm, can I do it the old way? i.e. run cu2d-platform-head-3.0publish manually first? Since forcing publication would also force it if there were any packaging changes, right? [16:16] sil2100: you can run with auto_publication [16:16] or just the publish step [16:16] right :) [16:16] easier [16:16] fginther: sorry, ment to unping. [16:17] dednick, no worries [16:17] didrocks: if, by any chance, the publish job goes green, will it trigger all the rdeps when I do it by just running the publish job? [16:20] Ok, today is not a good day for me and jenkins [16:20] It's already the second time I double clicked something ;/ [16:21] sil2100, https://code.launchpad.net/~andyrock/autopilot/fix-1211174/+merge/179742 [16:21] sil2100: all the rdepends will run if they were in manual publishing mode [16:22] didrocks: I re-ran the publish job (twice, the second time I hope I aborted in time) ;/ Sorry about that [16:23] sil2100: no worry [16:23] sil2100: seems ati worked that time [16:23] ah, it's still in the apps [16:23] not mirslaves yet [16:28] andyrock: what makes me happy is that it's in autopilot \o/ [16:28] andyrock: so we can get it released much faster! [16:28] sil2100, :D [16:29] didrocks, btw I don't see any other broken things in ap because of that bamf change [16:29] andyrock: ok, so the broken tests are because of something else? [16:29] didrocks, what tests? [16:29] sil2100: ah, it's in AP? nice :) [16:29] didrocks: yes ;) Trevi changed a path in bamf, and AP wasn't changed to fit that [16:30] great ;) [16:34] Cimi: re [16:34] mzanetti, here I am [16:34] Cimi: that was a meeting... [16:34] hah [16:34] Cimi: so... binding loop you said [16:34] lemme check [16:34] mzanetti, if defaultBackground is Image.Error basically... [16:35] but actually not [16:35] andyrock: top approved! [16:35] sil2100, sweet thanks" [16:35] ! [16:37] Cimi: right... I see where it happens [16:37] Cimi: actually I think its a false positive from the QML engine [16:37] hah [16:37] Saviq, I can kill myself [16:37] Saviq, two qml bugs in one day [16:38] because the state changes to Error, then we set another image which triggers the state change again [16:38] if we would continue to set invalid images it'd be a valid loop [16:38] mzanetti, no [16:38] mzanetti, because if it's error the loop stops [16:38] mzanetti, since you set to defaultBg [16:38] mzanetti, at that point it's either image.ready [16:39] mzanetti, or image.error but doesn't go in the loop because there's source != defaultBg [16:39] exactly... so we're not really having a loop because we know we're setting a good one the second time [16:39] Cimi: so I'd say we can either ignore this warning or set the corrected image delayed to get rid of it [16:40] mzanetti, delayed? how? [16:40] mzanetti, with extra prop? [16:40] Cimi: as setting something in a delayed fashion is quite ugly in QML (we'd need a Timer etc) I'd vote for ignoring this warning in this case [16:40] unless Saviq objects ^^ [16:41] mzanetti, Saviq it actually happens only if you set an invalid image [16:41] so it's not like spamming the debug every time... [16:43] hmm... well, let me try something [16:44] Cimi: ok... I just tested what happens in case the defaultBackground would be invalid (e.g. file deleted from disk) [16:44] Cimi: in that case the binding loop detection seems to do the right thing and stops calling everything [16:45] mzanetti, what? :) [16:45] mzanetti, if is invalid, it loops? [16:45] why? [16:46] Cimi: well, in case we get Image.Error we set the defaultBackground [16:46] but after that [16:46] it doesn't proceed [16:46] mzanetti, source will be == defaultBg [16:46] sil2100, didrocks http://10.97.0.1:8080/job/autopilot-saucy-daily_release/920/label=autopilot-ati/testReport/junit/unity.tests.test_command_lens/CommandScopeSearchTests/test_run_before_refresh/ this one should be fixed too now [16:46] Cimi: assuming that would be invalid too (because the user deleted the file) we also get this warning, but in that case its valid and the image stays in Image.Error [16:46] Cimi: so that's good too [16:47] Cimi: and once we are in this state we perfectly recover because when the setting changes, we set source through an assignment (not a binding) and we enable all the stuff again [16:47] Cimi: so I can't see an error right now. [16:48] andyrock: the same issue? [16:49] Cimi: just that warning from QML which is understood and doesn't hurt us. Now its just waiting for Saviq to tell us if he's fine with it or we need to get rid of the warning by using some more stuff (like a Timer to set it delayed or add back the other "useless" image just to check if it can be loaded) [16:50] sil2100, yeah that test is using the same function [16:50] Cimi: were there any other issues? I fixed the one with the empty setting in the beginning [16:52] andyrock: two birds with one stone ;) [16:54] mzanetti, nope, now I need to see if autopilot crashes [16:54] Cimi: huh? why would that happen? [16:54] we can check that early tomorrow when saviq comes back [16:54] we were having autopilot issues with the greeter [16:54] I don't know [16:54] michal knows [17:02] andyrock: ah great! :) === alan_g is now known as alan_g|EOD [17:58] Cimi, not crashes, fails [18:00] dednick, a gift? gimme gimme! :D [18:41] Saviq: is X-Ubuntu-StageHint a list? [18:41] tedg: ^ [18:41] Wellark, Not sure, sorry. Perhaps greyback_ would know. [18:42] greyback_: ^ [18:42] somebody who knows please comment here: https://code.launchpad.net/~kaijanmaki/unity8/launcher-backend/+merge/179663/comments/406052 [18:42] and also provide a list of expected values if possible [18:42] Wellark: I'm not 100%, but I think no. It is a string. [18:43] but best get someone who is definite to say [18:43] tedg: are there any other custom keys for the click .desktop files? [18:44] greyback_, Saviq: or for the unity8 in general? [18:44] greyback_, Is Unity going to register for the name "com.canonical.Unity.WindowStack" ? [18:45] Wellark, Yeah, mostly housekeeping though: http://bazaar.launchpad.net/~indicator-applet-developers/upstart-app-launch/trunk.13.10/view/head:/desktop-hook.c#L198 [18:46] tedg, greyback_, Saviq: all the keys I know about that are currently used in existing .desktop files are here: http://bazaar.launchpad.net/~kaijanmaki/unity8/launcher-backend/view/head:/plugins/Unity/Launcher/backend/desktop-entry.y#L102 [18:46] please, inform me if I'm missing any [18:47] Wellark, Why do we need all of them? [18:47] Wellark, Is there not an keyfile parser in Qt? [18:48] tedg: it can, just need to change the code. [18:48] tedg: because all the keys that we know about are "free" [18:48] greyback_, Thoughts? I was thinking perhaps that way we could move it around if need be. [18:48] tedg: X-Ubuntu-Application-ID was a new one [18:48] tedg: that's the $APP_ID [18:48] ? [18:49] Wellark, Yeah [18:49] tedg: and yes, there is a "ini" file reader in Qt [18:49] but it can't handle the existing .desktop files [18:49] not all of them [18:49] tedg: sorry, I lost you. Move what around? [18:49] some translations get it confused [18:49] greyback_, The window list dbus infomation. We could move it to a different process if it had its own name. [18:50] tedg: what is X-Ubuntu-Old-Path ? [18:50] Wellark, Hmm, okay. I would have suggested using the GLib one then :-) [18:50] Wellark, We override the path variable, so it just puts the value in incase that's useful. [18:50] Wellark, Don't think anyone would use it. [18:51] tedg: it needs to be part of unity, as that's the only process which can know the app & window list. [18:52] greyback_, Well, it needs to be part of the piece of Unity that connects to Mir, but what we call "Unity" may shift over time. [18:52] It may become less... unified... [18:52] [18:54] tedg: gdesktopappinfo does not support custom groups [18:54] nor Action definitions [18:55] Wellark, Sure, but GKeyFile can do the parsing. And the latest version I think does Actions. [18:55] It was on the TODO list, not sure where it is. [18:55] tedg: if that happens, then we'll deal with it. But right now this is the easiest implementation, and it is done. Bring it up on the ML if you want to propose it further, get other people's input [18:55] tedg: and GKeyFile does not do translations [18:56] Wellark, https://developer.gnome.org/glib/2.30/glib-Key-value-file-parser.html#g-key-file-get-locale-string [18:57] tedg: if you know the locale [18:57] Wellark, " If locale is NULL then the current locale is assumed. " [18:58] tedg: that does not handle the in-file translations [18:58] which suck [18:58] greyback_, To be clear, I'm not suggesting changing it today. Just making that possible in future. [18:58] but we have to support them [18:58] Wellark, Hmm, I'm pretty sure it does. We've distro patched it quite a bit there. [18:59] Wellark, I believe it does both language packs and in file. [18:59] and gkeyfile does not know anything about X-[Ubuntu|GNOME]-GettextDomain [18:59] tedg: sure, it's only code, we can always change it :) [18:59] Wellark, Not upstream, we distro patch. [18:59] tedg: can I ask you one thing about https://code.launchpad.net/~ted/upstart-app-launch/libupstart-flesh/+merge/178296/comments/406142 [19:00] NO! [19:00] :-) [19:00] and the last thing: gkeyfile deals with string keys in it's API and thus relies on extensive string comparison [19:00] greyback_, What's up? [19:00] my parser uses bison/flex with zero string comparison for the preknown keys [19:00] tedg: app can launch another PID. That other PID can create create a new Mir Surface. To authorize it, shell needs to know that new process' PID [19:01] tedg: do you need more reasons? :) [19:01] tedg: am I right, or am I missing something? [19:01] Wellark, Eh, I'd take a well worn parser over a faster one :-) [19:01] Wellark, It doesn't matter really. [19:01] greyback_, Sure, I think it probably does need to know that PID, but it will be the same app_id. [19:02] greyback_, We don't have the cgroup stuff setup today, so I don't know exactly how that'll work though. [19:02] greyback_, I think that the cgroup ID will be the PID of the main process. [19:02] tedg: ok, so 1 app_id can have multiple PIDs, and those PIDs can all have individual surfaces if they wanted. [19:02] greyback_, So you'll be able to check the PIDs cgroup. [19:03] greyback_, Yes [19:05] tedg: If one of those PIDs creates a surface, I need to check that the PID belongs to that app_id's cgroup [19:05] Wellark, re: StageHint, I'd say a list, yes [19:05] greyback_, after all apps need to be able to support both stages ↑ [19:05] upstart has all those PIDs internally, no?. Would it be possible to have upstart-app-lib make that easy for me? :) [19:06] Saviq: I thought hint was what was the preferred stage [19:06] ok, I misunderstood [19:06] greyback_, the first one can be the preferred [19:06] Saviq: ok [19:06] greyback_, but if app supports both, we need to know [19:06] as we can only assume that "no hint" == "only main" [19:07] greyback_, In theory, I'm just not sure. We get a set of PIDs but I'm not sure if Upstart will have all or a subset. [19:07] greyback_, But we could put a helper function in the library. And then fix it there. [19:07] greyback_, Something like "pid_in_appid" and we can look. [19:08] greyback_, Then eventually we'll get cgroup support, and it should be transparent for you. [19:08] tedg: yep, that would be perfect [19:08] cool [19:09] greyback_, Does the final comment here work? http://paste.ubuntu.com/5978379/ [19:11] Saviq: can you reply on the MR and provide at least some values we currently know about? [19:11] Wellark, MainStage, SideStage - that's it, for the foreseeable future [19:11] Wellark, with the first one being preferred, if both are given [19:31] Saviq: ping [19:31] greyback_, Hmm, so I was thinking differently. [19:31] greyback_, I did it as you provide the app_id and the PID [19:31] dednick, pong [19:31] greyback_, Would that work? In theory if they're requesting a surface, they give you the app_id, no? [19:32] Saviq: did you have a link to a wiki regarding the lifetime of qml objects? [19:32] greyback_, http://bazaar.launchpad.net/~ted/upstart-app-launch/libupstart-flesh/revision/78 [19:33] dednick, http://qt-project.org/wiki/SharedPointersAndQmlOwnership [19:33] Saviq: thanks [19:36] tedg: all I get from Mir is "hey, I've been asked to create a surface by a process with pid x" [19:41] greyback_, Huh, interesting. [19:42] tedg: yep, it's pretty limiting. But if you don't think my request is possible, I'll see if I can lean on the Mir guys for more info. [19:43] greyback_, It's not as easy... let me investigate a bit. [19:43] tedg: ok [19:43] tedg: I'm going offline now, but catch you tomorrow [19:43] g'night [20:11] dednick, >>= means something else than >= [20:12] Saviq: looked at the debian control spec. didnt seem to be documented. [20:12] >> is scrictly greater [20:12] dednick, hmm indeed [20:12] dednick, you're probably right [20:13] Saviq: whoop. do you think you can take a look at that MP tomorrow? thomas is pretty eager to get it in. [20:13] dednick, about the unitymenumodel one? [20:14] dednick, I think so, yeah [20:14] Saviq: yeah [20:14] Saviq: cool. thanks. it might have to change a bit first though. I htink it's leaking like a sieve. [20:14] lol [20:14] unitymenumodel is anyway [20:15] thanks to my additions :( [20:15] returning new from model::data = bad. [20:26] dednick, yeah, indeed ;) [20:27] dednick, unless there's no parent, in which case the deleted delegate would clean them up (assuming they wont dataChanged() first, which might lead to leaks anyway) [20:28] Saviq: yeah.. i dont think the parent is being set on the objects that i return at all. they're being used like properties rather than objects. [20:29] Saviq: i'm just getting rid of the fancy stuff in unitymenumodel. not really needed anymore anyway [20:29] dednick, k [20:51] dednick, Saviq: sorry I typoed that one, it's either >= or >> ;-) === jhodapp is now known as jhodapp|afk === tvoss is now known as tvoss|eod [22:39] Hi, I'm using Ubuntu 13.04 and if I set up a hotcorner to switch workspaces in Unity Tweak Tool, it doesn't work after I log out and log in again. The settings stays the same in Unity Tweak Tool, but the corner does nothing. Does anyone have a solution? === salem_ is now known as _salem