[01:58] some one here?? [11:28] mhall119: It seems that the theme manager doesn't seem to work with Ubuntu.Components 1.2 without restarting the app. Are you seeing this issue on your end? [12:04] hi ho [12:05] DF__, ho ha [12:06] akiva-thinkpad, at least today some one is here [12:11] nik90: hey o/ have you ever had any luck getting the qml profiler to work when running on device. I've been pulling my hair out over it for a few hours now [12:12] ^^ or anyone else :) [12:13] DF__, It is sunday~ [12:14] DanChapman, have you tried disabling the JIT cache by putting this in your /etc/environment and restarting? QV4_NO_JIT_CACHE=1 [12:15] (on device that is) [12:15] ahayzen: I have not tried that! :-) lets see............ [12:32] DanChapman, ahayzen: Yeah the qml profiler works for me without any additional arguments required [12:33] I haven't tried disabling the JIT cache yet [12:34] nik90, yours worked on device straight away? [12:34] ahayzen: assuming we both are referring to the qml profiler in qtc, then yes..it works on the device straight away [12:35] nik90, interesting, before when i last tried it you had to disable JIT to get it working, maybe something has changed in vivid [12:35] ahayzen: \o/ it worked thanks alot. Just out of curiosity is that env change actually documetned anywhere? [12:35] ahayzen: could be since I only tried this using the 15.04 chroot on devel-proposed images [12:36] DanChapman, erm i don't think it was on the web as me and Florian kept forgetting what it was so i eventually wrote it down lol [12:37] lol ok then. Best make a note of it myself then :-D [12:38] :) [12:38] nik90, you appear to be right with a 1504 chroot and vivid-proposed it appears to work [12:39] DanChapman, i assume your not on 15.04 then? [12:40] ahayzen: may be its the sdk dev elves at work ... (yes bzoltan I know u r reading this ;D ) [12:40] nik90, hopefully it just sets it for you when you hit the button now :) (thats what it seems anyway) [12:44] ahayzen: no rtm r21 trying to get to get some benchmarks from krillin to solve some poor listview performance problems. [12:44] that makes sense then :) [12:45] * ahayzen is just porting music to the 'new' listitems \o/ [12:53] ahayzen: so much code removal with the new listitems since all features are provided by the sdk itself..I ported podbird yesterday to the new listitems and is much better as a result in terms of the listview performance [12:54] nik90, yeah its looking pretty good so far...minimal changes lots of code removal :) haven't noticed much performance gain/loss yet but haven't really checked that part totally out [12:57] nik90, for the trailing actions do you get a white background when you drag too far? [12:58] ...and is there any way of changing that colour without putting a big box somewhere lol .. i want it to all be the same colour like the leading actions [13:00] ahayzen: yes I notice that..I changed the box color to green or red and still notice the white color when pulling it too much [13:00] :/ [13:00] ahayzen: zsombi would be the best person to ask that ^^ [13:01] * ahayzen senses a bug report [13:01] does some one know how to install org.qtproject.examples.calendar 1.0?? [13:01] nik90, i also assume the leading actions would be the same just it happens i want them to be the red they are already set to :) [13:01] ahayzen: I think so...I only tested it for the trailing edge [13:02] ahayzen: but to be honest, it looks like the default behavior is to show only negative actions on the leading edge [13:02] yeah but i guess there should be a way of changing that 'background' colour to the overflow of the actions [13:03] ahayzen: may be its possible using Ubuntu.Styles for ListItemActions..although there isn't a stable API released for that [13:04] yeah that'll probably be the answer :) [13:16] guys can some one help me ?? [13:17] i have a problem here, the compiler says that he doesnt recognize page [13:23] DF__, hmmmm? Do you have a screenshot? [13:25] i can send you the code if you want [13:25] DF__, sudo apt-get install shutter [13:26] you can use that program to export screenshots directly to imgur, and it gives you a link that is easy to share [13:26] http://pastebin.ubuntu.com/10977454/ [13:31] DF__, [13:31] okay [13:31] do you know what a component is? [13:32] no pm's please [13:32] kind off [13:32] okay, here is a component [13:32] Item { } [13:32] Notice how it is capitalized [13:32] yea, i understand that [13:32] okay [13:32] yep [13:32] now do you know what a property is? [13:32] i have that with the page that i'm calling in main [13:32] Yes [13:33] you have many Components [13:33] Tab {} is a component [13:33] yes i see [13:33] so is Page{}, Rectangle{}, etc [13:34] now, do you know what a property is? [13:34] the thing is that yesterday befor i made changes to the code it worked well [13:34] kind off [13:34] okay [13:34] Does Rectangle {} have properties? [13:35] yes width [13:35] color etc. [13:35] yes [13:35] Does it have a property, "model:"? [13:36] or for that matter, a property, "bacon:"? [13:36] nope [13:36] How do you know, or how can you figure out, without using google? [13:37] i always use google to find those things [13:37] DF__, okay then I'll teach you a trick [13:37] create a Tab {} componenent, make a new line within that component [13:38] then hold and press [13:38] yes [13:38] and then [13:38] and then a box should appear [13:38] i know crtrl and spacebar thats what i use to make code faster [13:39] a menu with a list of valid properties is displayed [13:40] yes i see [13:40] DF__, http://i.imgur.com/3Dk0iej.png [13:41] I type "pag" for "page:", and nothing showed up [13:41] meaning that "page:" is not a valid property of "Tab {}" [13:42] which puts this error into context [13:42] file:///home/akiva/Programming/_tmp/QML_App_with_Simple_UI_qmlproject/Main.qml:19 Cannot assign to non-existent property "page" [13:42] "Cannot assign to -----Non-existent-property------ "page" [13:42] thats strange, i must have done something so that he could not find it [13:43] yesterday it workd very well [13:43] DF__, are you sure that the Tab {} component has that property? [13:44] DF__, mmmm I see... [13:44] see http://imgur.com/zuatFsy [13:45] that was yesterday [13:46] DF__, hmmm you may have found a bug... [13:47] yep [13:47] i jujst wanted the tabs to work that way and then i had this error [13:50] DF__, http://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Components.Tabs/ [13:50] try the example [13:50] it works [13:50] you must of did something [13:54] yep i was looking that right now [13:54] good luck [13:54] ty [13:54] btw do you know how to implement a calendar?? [13:55] DF__, bzr branch lp:ubuntu-calendar-app [13:55] ;) [13:57] ty akiva :) [13:58] DF__, np good luck! [13:58] :) === Alexander is now known as Guest82819 [14:46] nik90: Of course I do read it :) [14:55] bzoltan, are you aware of the issue/behaviour we described? [14:55] ahayzen: I have not read yet back all the lines... would you please brief me in few words? [14:56] bzoltan, when you have trailing actions, if you pull them 'further' you get a white background behind that i have not found a way of changing the colour of [14:59] ahayzen: I see. No I have not heard about it. It sounds like something what zsombi will be interested to hear about [14:59] :) [15:00] bzoltan, is it best to report a bug with a mini app example? [15:16] ahayzen: that would helpt the case fore sure [15:17] cool i'll do that then :) [15:38] ahayzen: thank you [17:15] Hi, anyone tried running autopilot with the 1.2 sdk components...seems the MainView helper assumes useDeprecatedToolbar still exists as a property? [17:16] ahayzen: of course we run autopilot tests on the 1.2 components. Several per week. [17:16] bzoltan, do you have an example that uses MainView ? mine explodes [17:16] unless i add... property bool useDeprecatedToolbar: false :) [17:20] bzoltan, this is the line it hits http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/view/head:/tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_mainview.py#L130 [17:21] ahayzen: the simple application template from teh QtC? [17:22] no when i've ported music-app to Components 1.2 and then trying to get autopilot to run [17:22] as you then have MainView12 [17:22] but it seems the helper still has stuff that refers to useDeprecatedToolbar .. unless there is some other helper for MainView12 that I should be using? [17:54] don't check this is a spam :p http://pastebin.ubuntu.com/10980019/ [17:57] hi === athairus_oops is now known as athairus [18:18] I can get focus of TextField,, how? [19:21] ahayzen: the same autopilot helper should work for mainview 1.2 [19:21] ahayzen: which errors are you getting? [19:22] useDeprecatedToolbar is undefined [19:22] or something along those lines [19:23] t1mp, AttributeError: Class 'MainView' has no attribute 'useDeprecatedToolbar'. [19:23] t1mp, but i'm not sure if my way of getting the MainView was correct [19:24] ahayzen: it sounds like a bug in the mainview helper [19:24] t1mp, i had to put return false in the validate_dbus_object http://bazaar.launchpad.net/~ahayzen/music-app/refactor-bump-framework-1504/view/head:/tests/autopilot/music_app/__init__.py#L436 [19:24] some of the tests for the mainview helper still import uitk 1.0.. because we don't want to break that [19:25] otherwise you get ... ValueError: More than one custom proxy class matches this object: Matching classes are: ,. [19:25] t1mp, yeah looking at the actual helper, http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/view/head:/tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_mainview.py#L130, you can see it detecting MainView12 at the top but still using useDeprecatedToolbar further down [19:25] t1mp, shall i report a bug? [19:26] ahayzen: yes, please [19:26] ahayzen: about the validate_dbus_object function I don't think that returning false is the right approach, since then it will not use your class [19:27] ahayzen: if you can catch elopio on irc tomorrow he probably knows best how to deal with this [19:27] ahayzen: I can try to help you too, but on Monday and Tuesday I will be away for most of the time [19:27] t1mp, yeah i'm not sure what i should do though lol ? everything i did either ended up with it saying it didn't exist or there were two [19:28] ahayzen: maybe it will work if you just rename the MainView12 in your AP helper to MyMainView or something similar? [19:29] t1mp, also if you are still working on the new headers (when they were in the image) i noticed that with a dark theme the divider is dark, should it not be light or calculated like the text colour? https://drive.google.com/file/d/0B3XynHVKfrvMVE51dlRFWXdjMlU/edit [19:29] i'll try that.. [19:30] oh but that won't work as it won't be able to find the type [19:30] ahayzen: do you use the type to select a qml object? [19:30] ahayzen: don't do that. Better to always select by objectName [19:30] i use both [19:31] selecting by type gives us a lot of issues like this [19:31] eg self.app.wait_select_single(MainView12, objectName="music") [19:32] ahayzen: in the UITK tests I changed the code everywhere to use only objectName. Using type is tricky because the type names we can get from qml are not versioned, and don't have namespaces, and probably some other issues that I forgot again [19:33] ahayzen: I would have something like select_single(objectName='MusicAppMainView') instead [19:33] ie bug 1341671 ;) but i have a workaround for that [19:33] bug 1341671 in Autopilot Qt Support "Versioned QML classes are not recognized by their public type name" [High,Confirmed] https://launchpad.net/bugs/1341671 [19:34] ahayzen: ah yes, like that bug [19:35] but then by just specifying the objectName how does it use your helper? [19:35] ...but then my hack wasn't earlier anyway :/ ugh [19:38] t1mp, reported bug 1451243 for you :) [19:38] bug 1451243 in ubuntu-ui-toolkit (Ubuntu) "MainView helper still uses useDeprecatedToolbar when under 1.2 components" [Undecided,New] https://launchpad.net/bugs/1451243 [19:39] ahayzen: I cannot find the code right now for the CustomEmulatorBase in autopilot to see what validate_dbus_object does.. but I hope that contains some code to match the helper in this case... [19:40] * t1mp gotta go nwo [19:40] ahayzen: thanks for reporting the bug. [19:40] no problem o/ [19:41] I assigned myself, and then unassigned because I won't be available for 2 days and someone else may like to take the bug in the meantime [19:41] cool === aaron is now known as ahoneybun === Cerberus is now known as Guest34696