[08:08] <dholbach> good morning
[11:11] <JamesTait> Good morning all; happy Anti-Corruption Day! :-D
[12:24] <boiko> hi guys, is there an API for using to save/restore the application state?
[12:51] <saleniex> Hi all!
[12:52] <saleniex> Does anyone know is there LTE supported in ModemManager using Dbus?
[16:37] <rickspencer3> Kaleo, so, I am not supposed to use ValueSelector because it is deprecated?
[16:39] <Kaleo> rickspencer3, correct
[16:40] <rickspencer3> Kaleo, what should I use instead?
[16:40] <Kaleo> rickspencer3, there are two options
[16:40] <rickspencer3> (no pun intended)
[16:41] <Kaleo> rickspencer3, :) I'm getting the links for you, hang on
[16:42] <Kaleo> rickspencer3, http://developer.ubuntu.com/api/devel/ubuntu-13.10/qml/ui-toolkit/qml-components-components-listitems0-itemselector.html
[16:43] <rickspencer3> Kaleo, hmmm, what namespace is that in?
[16:43] <Kaleo> rickspencer3, ListItems
[16:43] <rickspencer3> ListItem.ItemSelector?
[16:43] <Kaleo> rickspencer3, yes
[16:43] <Kaleo> rickspencer3, the doc has a bug
[16:43] <Kaleo> rickspencer3, import Components.Components.ListItems 0.1 as ListItem
[16:43] <Kaleo> rickspencer3, should be
[16:44] <Kaleo> rickspencer3, import Ubuntu.Components.ListItems 0.1 as ListItem
[16:45] <rickspencer3> thanks Kaleo
[16:46] <untitled1> Hello there any time that I press the qt home button in qtcreator and then press develop it opens like 4 windows. Can I disable this or is it a bug ?
[16:53] <t1mp> rickspencer3: the online doc for that component is not up-to-date. Better check file:///usr/share/ubuntu-ui-toolkit/doc/html/qml-ubuntu-components-listitems0-itemselector.html
[16:54] <nerochiaro> om26er: do you know why when I get a Tabs object in an AP test I can't access its currentTab property ? it's because the property is of type "Tab" (i.e. an object ?)
[16:54] <rickspencer3> thanks t1mp
[16:55] <t1mp> nerochiaro: it is currentPage or selectedTab
[16:55] <t1mp> nerochiaro: ^ yeah not very consistent
[16:55] <nerochiaro> t1mp: selectedTab would be ok, but I can't access it in AP tests
[16:55] <nerochiaro> t1mp: AP tells me the property doesn't exist
[16:56] <t1mp> nerochiaro: is it null, or the property is not defined?
[16:56] <t1mp> nerochiaro: it is defined like this in Tabs:
[16:56] <t1mp>     readonly property Tab selectedTab: (selectedTabIndex < 0) || (tabsModel.count <= selectedTabIndex) ?
[16:56] <t1mp>                                            null : tabsModel.get(selectedTabIndex).tab
[16:57] <t1mp> nerochiaro: how do you get it? MainView.get_tabs from the emulators?
[16:57] <t1mp> nerochiaro: are you sure the result is a proper Tabs component?
[17:00] <nerochiaro> t1mp: no, MainView.select_many("Tabs").selectedTab
[17:00] <nerochiaro> sorry, select_single
[17:01] <nerochiaro> t1mp: the Tabs object I get is <ubuntuuitoolkit.emulators.Tabs object at 0x9cf780c>
[17:01] <nerochiaro> t1mp: so it seems proper
[17:02] <nerochiaro> t1mp: but it fails with this exception when i try to use selectedTab: AttributeError: Class 'Tabs' has no attribute 'selectedTab'.
[17:05] <untitled1> t1mp:  that dont lool right to me the property that is
[17:05] <untitled1> give a id to the Tabs and then use that in your property
[17:06] <t1mp> nerochiaro: I think that select_single will go wrong if there are multiple Tabs components around.
[17:06] <t1mp> nerochiaro: but if you have only one, that's not the problem here
[17:07] <untitled1> t1mp:  pastebin ?
[17:07] <untitled1> hard to read on this IRC client
[17:07] <t1mp> nerochiaro: the property is readonly. you could remove that from Tabs.qml to see if it makes any difference
[17:08] <t1mp> nerochiaro: but if that is the problem and you are not trying to write selectedTab, then its a weird bug.
[17:08] <t1mp> untitled1: are you nerochiaro ?
[17:09] <t1mp> untitled1: I only pasted the definition of selectedTab from Tabs.qml: http://pastebin.ubuntu.com/6546697/
[17:11] <untitled1> t1mp:  no I am not
[17:17] <nerochiaro> t1mp: i'm not untitled1 ;)
[17:17] <t1mp> nerochiaro: I wonder whether ubuntuuitoolkit.emulators.Tabs is the same as the Ubuntu.Components.Tabs instance, and not some python object
[17:17] <nerochiaro> t1mp: it's a problem in AP I guess. I seem to remember it could only serialize properties that are not objects
[17:17] <t1mp> elopio: ^ any ida?
[17:17] <t1mp> *idea
[17:17] <untitled1> nerochiaro:  consider your-self lucky :P
[17:18] <nerochiaro> untitled1: ;)
[17:18] <t1mp> nerochiaro: the same construction seems to work for toolbar tests
[17:18] <nerochiaro> t1mp: hmm, interesting. not really sure, but i worked around it for now. i'll fix it again if any AP experts can help me
[17:19] <t1mp> nerochiaro: can you print("tabs") in your tabs.onCompleted to compare the address?
[17:19] <nerochiaro> t1mp: for some reason i can't see the app's output in AP tests
[17:20] <nerochiaro> t1mp: on desktop
[17:25] <nerochiaro> greyback|london: when i stop an app via the shell, is it any different in terms of things the app will do to cleanup than when i send it a SIGTERM ?
[17:27] <greyback|london> nerochiaro: nothing I am aware of
[17:27] <nerochiaro> greyback|london: the StateSaver doesn't seem to do its job when i do that
[17:27] <nerochiaro> greyback|london: that = SIGTERM
[17:27] <greyback|london> nerochiaro: oops lemme check
[17:27] <untitled1> Hello there any time that I press the qt home button in qtcreator and then press develop it opens like 4 windows. Can I disable this or is it a bug ?
[17:28] <greyback|london> nerochiaro: ok I rely on upstart-app-launch to do the right thing.
[17:28] <untitled1> Or should I build a new creator ?
[17:29] <greyback|london> nerochiaro: did you try "upstart-app-launch <appId>" to start it, and "upstart-app-stop <appId>" ?
[17:29] <nerochiaro> greyback|london: i'm on desktop
[17:29] <untitled1> is the sdk tools still built into the creator (in the src) or is it in its own branch yet ?
[17:29] <greyback|london> nerochiaro: if you kill an app, it has no time to save its state. I doubt SDK has added a signal catch
[17:29] <nerochiaro> greyback|london: running unit tests
[17:29] <nerochiaro> er, AP tsts
[17:30] <nerochiaro> greyback|london: well, i need a way to verify that if i do something that gets saved by StateSaver, when the app comes back it will restore the state. in AP tests.
[17:30] <greyback|london> nerochiaro: ah, the lifecycle signals are sent via Mir, so that won't work on desktop
[17:30] <nerochiaro> greyback|london: what won't work ? not sure what are the lifecycle signals
[17:31] <greyback|london> nerochiaro: app needs time to save it's state. Usually shell sends a signal to the app (via Mir) to inform it "save state now as I'll SIGSTOP you in 3 seconds, and maybe kill you"
[17:31] <nerochiaro> greyback|london: so how do i sent that signal (on device) from an AP test ?
[17:32] <greyback|london> nerochiaro: I dunno. You'll need to ask the SDK guys probably
[17:32] <nerochiaro> t1mp: ^
[17:32] <nerochiaro> om26er: ^
[17:32] <greyback|london> nerochiaro: it's a legit question, sorry but it's not something I've needed to try yet
[17:33] <nerochiaro> greyback|london: no problem. also i think it would be wise for desktop if the SDK catches SIGINT and SIGTERM and goes the same thing as it would do when receiving this MIR signal
[17:35] <greyback|london> nerochiaro: I can't think of any obvious bad consequence to that idea. As long as there's a way to nuke an app (kill it, don't let it save state) then I think it's reasonable
[17:37] <untitled1> nerochiaro:  I would ask anything about AP to Nicholas Skaggs unless... you are him
[17:37] <nerochiaro> greyback|london: SIGKILL no ?
[17:37] <nerochiaro> untitled1: i'm not. what's his nick here ?
[17:37] <greyback|london> nerochiaro: yep
[17:37] <untitled1> nerochiaro:  not sure check on LP
[17:38] <untitled1> nerochiaro:  balloons
[17:38] <nerochiaro> greyback|london: ok, i'll talk to zsombi tomorrow and we'll see
[17:38] <greyback|london> nerochiaro: cool
[17:40]  * balloons hears something
[17:42] <nerochiaro> balloons: do you know if a property that is a QML object can be handled properly by AP ?
[17:44] <t1mp> nerochiaro: you want to send a signal from AP to your app that it's going to be killed?
[17:44] <t1mp> nerochiaro: I have no idea
[17:44] <nerochiaro> t1mp: no, i want to send a signal to my app so that it quits
[17:44] <nerochiaro> t1mp: in a way that StateSaver still does its job
[17:45] <balloons> nerochiaro, you can read properties with AP certainly
[17:45] <balloons> you want to set a property with AP?
[17:45] <nerochiaro> balloons: properties of any type ? or just of primitive types
[17:45] <nerochiaro> ?
[17:45] <t1mp> nerochiaro: best ask zsombi, he wrote the statesaver. but he's eod for today
[17:46] <nerochiaro> t1mp: will do tomorrow
[17:48] <balloons> nerochiaro, I think I may have ran into issues, but it's tough to remember. Easiest thing to do is simply try and see if it falls down.
[17:49] <nerochiaro> balloons: yes, it fails, the property isn't there
[17:49] <balloons> nerochiaro, I will say I just recently added an used a property, but it was a bool
[17:50] <nerochiaro> balloons:  anyways, time for me to EOD, I'll have another look tomorrow
[17:50] <nerochiaro> balloons: thanks for help so far
[17:50] <balloons> nerochiaro, I think you might be correct in that non-primitive types are an issue.
[17:50] <balloons> I have sinking feeling about it now
[17:50] <balloons> nerochiaro, cheers
[17:50] <nerochiaro> balloons: ah, ok. i have a workaround in that case, so no worries
[18:31] <nik90> t1mp: toolbar bug -> https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1256674
[18:31] <ubot2`> Launchpad bug 1256674 in Ubuntu UI Toolkit "Toolbar fades out even if submenu is opened on it" [Undecided,Confirmed]
[18:33] <daker> nik90: i just noticed that a few minutes ago :D
[18:34] <nik90> daker: I noticed that while using a popover on my app, but didnt get around to reporting it. So thanks to the O.
[18:34] <nik90> OP8
[18:34] <nik90> OP*
[19:52] <nik90> Can anyone in the room confirm bug https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1259290
[19:52] <ubot2`> Launchpad bug 1259290 in Ubuntu UI Toolkit "Popover does not autohide automatically when using a delegate" [Undecided,New]
[19:52] <nik90> it is related to the popover in a toolbar
[22:41] <daker> The new MDN looks absolutely amazing https://developer.mozilla.org
[22:56] <nik90> +1