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