[11:17] Anyone knows what is qmlplugindump and if it's "normal" that it take one CPU at 100% when QtCreator is running? cf http://i.imgur.com/4lUL65E.png [11:18] ybon: it is a known bug. you can kill it to stop that [11:19] it will restart automatically when required so you wouldn't lose anything by killing it [11:21] ok, thanks :) [11:21] nik90: do you have UbuntuComponent 1.1 on your laptop? [11:21] (killed, fans thanks you :) ) [11:23] yeah I have 1.1 on my utopic vm [11:23] cool [11:23] is the VM in 14.04? [11:23] yeah [11:23] if yes, do you know that ppa I need to add to upgrade? [11:24] to upgrade? [11:24] sorry, to have UbuntuComponents 1.1 [11:24] you can't get 1.1 on 14.04 [11:24] it requires qt 5.3 which won't be backported to 14.04 [11:25] damn [11:25] if you want to stick with 14.04, you can run your apps in the emulator [11:25] interesting [11:25] can I run that from QtCreator? [11:25] yeah [11:26] the SDK tools (like the emulator tools, qtcreator) etc are constantly updated to support devs running 14.04 but want to emulate their apps in 14.10 [11:26] cool [11:37] ybon: bug 1281237 [11:37] bug 1281237 in Ubuntu UI Toolkit "qmlplugindump hangs at 100% CPU with qtorganizer5-eds" [High,Confirmed] https://launchpad.net/bugs/1281237 [11:37] thanks popey [11:38] np [11:38] actually that bug only applies when you are trying to build and install ui-toolkit manually [11:38] ah [11:38] I've just ran QtCreator, tbh [11:38] which was fixed actually, I am able to build and install now [11:45] humm, I've tried running an emulator, but I only have a black screen atm [11:45] while if no more stdout on my console [11:45] which seems to mean it finished [11:45] last line: [ 140.460000] systemd-logind[909]: Failed to apply ACLs: Operation not supported [11:53] closed and restarted, but still black [11:59] Anyone running on 14.10 on its day to day computer? [12:00] * ybon wonder if its not easier to upgrade its laptop at the end [12:06] I'm tempted to upgrade my laptop. so far I've kept on 14.04 [12:19] mzanetti: https://code.launchpad.net/~twstd-dev/ubuntu-clock-app/1350433/+merge/230211 seems to do the trick [12:20] mzanetti: the world city list loads in less than 1 sec compared to the original 4-5 secs on the phone [12:24] nik90: didn't test it... still not sure what exactly the big difference is just by reading through it. but if its faster, yay. [12:24] nik90: you sure the times are up to date? [12:24] looks like data() uses some cached/outdated currentDateTime now [12:27] mzanetti: yeah I am testing that atm [12:36] mzanetti: the times are correct when the worldcity page is loaded and but it doesn't seem to respect the updateInterval. So it doesn't update anymore. Only way to update is by closing and reopening the page. [12:36] yeah... what I suspected [12:36] nik90: well, imo you should revert the changes in the data() method [12:36] nik90: they don't improve performance and introduce that bug [12:37] ok I will note that on the MP [12:40] nik90: one question: what's the ETA for the new clock app to land? [12:41] mzanetti: I have been trying hard to get it done asap. But we are blocked by cmake issues and packaging atm. [12:42] mzanetti: technically we have already met around 95% of the design spec that was handed over to us. [12:42] so once the packaging stuff is done, we replace it immediately [12:42] nik90: speaking of cmake... I can't build it: /bin/sh: 1: INTLTOOL_MERGE-NOTFOUND: not found [12:43] ah... got it [12:43] do'h. its the old one :D [12:43] mzanetti: new or old clock app? [12:43] mzanetti: yeah you need intltool package (for translation) [12:43] where's the new one if I want a clean checkout? [12:44] lp:ubuntu-clock-app/reboot [12:44] thx [12:44] np [12:46] nik90: the new one won't get a stop watch and timer any more? [12:51] mzanetti: not for RTM np [12:51] no* [12:51] nik90: ack [12:51] nik90: I was just curious... not that I would miss it that much [12:52] mzanetti: either way timer won't work properly when the app is suspended since it cannot notify the user when done. [12:52] ... [13:05] nik90: found the issue [13:05] nik90: it's indeed the creation of QTimeZone objects that is slow like hell [13:07] nik90: lp:~mzanetti/ubuntu-clock-app/perf++ [13:12] wow testing now [13:13] nik90: https://code.launchpad.net/~mzanetti/ubuntu-clock-app/perf++/+merge/230232 [13:13] ogra_ \o/ (re tethering) [13:14] ybon: *applause* :) [13:15] ybon: bluetooth tethering? [13:15] mzanetti: USB Tethering for internet [13:15] awesome [13:15] https://lists.launchpad.net/ubuntu-phone/msg09388.html [13:16] really cool :) [13:16] :) [13:16] now, if the phone could run a stop watch it would actually become really useful :D [13:16] :P [13:17] mzanetti: btw on testing on the phone, I get the same performance boost with minimal code change. [13:17] what you mean with mimimal code change? [13:18] nik90: you mean my mp? [13:18] nik90: my measurements say its 20 times faster [13:18] 450ms down to 22ms [13:18] yeah I meant compared to the other MP without changing too much of what's implemented, you achieve the 22ms performance boost [13:19] nik90: yeah... it's really just the bad QTimeZone(const QByteArray &timeZoneId) constructor in Qt [13:19] that one is the slow one and before we were calling it in every data() call, now only when parsing the xml file [13:19] ah ok [13:21] nik90: the changes in line 24 and 26 in the diff wouldn't even be required and it would still improve it the same way [13:21] * popey hugs mzanetti [13:21] popey: :) [13:22] popey: seen the ISS or what? [13:23] It was more the above conversation, as well as the ISS ☻ [13:23] Any hint why my emulator would be all black? [13:23] Not sure about the app name though ☻ [13:23] ybon: which image? [13:24] 179 [13:24] hmm that ran well for me [13:24] on 14.04? [13:24] yes [13:24] ok [13:27] nik90: have you run something else than the commands here https://wiki.ubuntu.com/Touch/Emulator#Installing_the_pre-built_emulator ? [13:27] no [13:28] let me try again now [13:28] ybon: ^^ [13:29] ybon: give me a few minutes since I need to download the emulator again to update it to the latest image. [13:29] ybon: I tried it 2 days back and the only issue I had was the app header was not placed correctly and a performance issue [13:30] ybon: although images <175 ended in a black screen [13:31] ah [14:01] nik90: hey, I've pushed once more to the branch. now its down to 1ms [14:04] mzanetti: yup its a bit faster now [14:11] bah...you cannot run a VM and a Emulator at the same time in the host machine. [14:11] You need to stop one of the either [14:18] nik90: have you been able to run 179? [14:18] ybon: I currently have opened it, it is booting up [14:18] I had to close my VM to try it out [14:19] oh, ok, now I understand your previous message [14:19] ybon: ok it works for me [14:19] I tried image #184 [14:20] ybon: in qtcreator, try creating the emulator and use the devel-proposed channel [14:21] humm, I don't see where in QtCreator :( [14:21] ybon: go to devices tab in the left sidebar [14:21] ybon: in the devices tab, there is a "+" button in the bottom which shows a nice gui to create a emulator [14:21] no need for terminal commands [14:22] ok, got it :) [14:22] :) [14:23] I don't have a "+" but a "create a new emulator" button [14:23] seems to be doing something :) [14:24] in the log, it will show you the download process % [14:24] btw did you choose "DevelProposed" in the dialog [14:25] no, I didn't see any dialog :s [14:25] now the image is finished, but I think it's still 179 [14:25] and if I run it from QtCReator, same black screen [14:26] I can just rerun from command line with the channel parameter [14:26] it takes a bit ~1 min on my machine [14:26] ybon: can you take a screenshot of your devices tab for me. [14:26] you might be on a older qtcreator version i think [14:27] http://i.imgur.com/HAuHSMQ.png [14:27] Creating "emulator181" from devel-proposed revision 181 [14:28] (running from command line :) ) [14:30] ybon: wow your qtcreator is ancient :P [14:30] ybon: check if you have https://launchpad.net/~ubuntu-sdk-team/+archive/ubuntu/ppa [14:31] ybon: no idea why u get 181 and I get 184 [14:32] nik90: hey, twstddev told me the alarm model would crash when deleting an alarm [14:33] nik90: https://code.launchpad.net/~mzanetti/ubuntu-ui-toolkit/parent-alarms/+merge/230233 [14:34] mzanetti: was your fix any chance related to fixing https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1337405 ? [14:34] Ubuntu bug 1337405 in Ubuntu Clock App reboot "Clock App crashes frequently when UCAlarmModel::clear() is called" [Critical,Triaged] [14:34] nik90: *very* likely [14:34] mzanetti: but yes it crashes the clock app occasionally :/ [14:34] mzanetti: sweet [14:34] nik90: I'm 99.99% sure this fixes it [14:35] mzanetti: I will test it out and see how it goes :) thnx for the rapid 2 bug fixes. The latter bug being present for several months now [14:36] nik90: thanks, I'm upgrading now :) [14:36] nik90: ouch... [14:39] popey: quick question do you hear the audio in the video I attached in https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1351048 [14:39] Ubuntu bug 1351048 in Ubuntu UI Toolkit "Apps are extremely laggy as of emulator image >=165" [Undecided,New] [14:39] popey: I cannot seem to unmute the audio in the video playback [14:47] mzanetti: during my preliminary testing, I couldn't reproduce the crash however hard I try :P [14:49] * mzanetti knocks on wood [14:50] nik90: nah... I'm sure this is it [14:50] have been running into the exact same issue with the launcher already [14:51] :) [15:08] nik90: yes, i do hear the audio in that video [15:08] (on my laptop) [15:09] popey: ok..weird on my laptop (firefox) it is muted and I cannot unmute it..but anyways rsalvetti should find this helpful. thnx [15:09] * nik90 is in a good mood [15:15] heh [18:57] is there a way to set a CheckBos has readOnly? [18:57] CheckBox* [19:02] ybon: all visual componetns extend from QtQuick.item, which has an 'enabled' property, have you tried setting that to False? [19:02] http://developer.ubuntu.com/api/qml/sdk-14.10/QtQuick.Item/#enabled-prop [19:05] excellent mhall119 thanks :) [19:20] do I need 14.10 on the desktop to get the latest qml api? [19:24] doflaherty: yes [19:24] doflaherty: or use 14.04+Emulator [19:26] doflaherty: atm I use 2 method while remaining on 14.04. The first being with the Emulator. The other being running a 14.10 VirtualBox Machine for coding and running. You can use whichever one works for you [19:28] ok, thanks === DanChapman|Weddi is now known as DanChapman [19:51] Anyone knows what does that mean, when I try to install an app on device from QtCreator: http://i.imgur.com/oUVhlu2.png? [19:53] ybon: you are using the wrong kit [19:53] what's a kit? :) [19:54] I didn't even know I was using a kit at all ;) [19:54] go to Tools->Options->Ubuntu and check if you chroots installed for the platform you are trying to create a clickpackage fo [19:54] for* [19:55] ok [19:55] ybon: http://developer.ubuntu.com/apps/sdk/tutorials/building-cross-architecture-click-applications/ [19:56] oh, thanks :) [19:56] :) [20:45] nik90: hey [20:45] mzanetti: hey [20:45] nik90: is there already a bottom edge component in the sdk? [20:46] mzanetti: there is a bottom panel that is used by the music app to show the now playing toolbar [20:46] nik90: no, I'm talking about that thing to pull up a new page [20:46] mzanetti: nope the sdk doesn't have it yet [20:46] nik90, is he not asking about the PageWithBottomEdge ? [20:46] ahayzen: yes, but it is custom and not part of the sdk [20:46] hmm, ok [20:47] mzanetti: You can take it from the address book app [20:47] mzanetti: that's what dialer, clock, several other 3rd party apps are using atm [20:47] nik90, the weird thing is that i was http://bazaar.launchpad.net/~phablet-team/dialer-app/trunk/view/head:/src/qml/PageWithBottomEdge.qml [20:47] nik90, but that doesn't exist anymore and i can't see it anywhere in http://bazaar.launchpad.net/~phablet-team/dialer-app/trunk/files/head:/src/qml/ [20:48] ahayzen, mzanetti: https://bazaar.launchpad.net/~phablet-team/address-book-app/trunk/view/head:/src/imports/Ubuntu/Contacts/PageWithBottomEdge.qml [20:48] ahayzen: that's because they implemented it in addressbook and then import Ubuntu.Contacts in other apps [20:48] ahayzen: instead of duplicating code [20:48] nik90, ah [20:48] humm, I think I'm lost with the kit thing [20:48] * ahayzen is currently hacking around with bottom edge for music-app :) [20:49] ybon: how can we help? Where are you lost/ [20:49] nik90: I'm installed armhf as in the tutorial, but now when I hit ctrl-R it doesn't run anymore on my desktop [20:50] (plus I'm not able at the moment to run it neither on my device nor on the emulator) [20:50] ybon: ok in the bottom left, you can easily switch kits to run in their appropriate environments [20:50] ybon: ok let's say you have a project open. [20:50] oh, nice :) [20:50] ybon: go to the projects tab in the sidebar and then at the top you should see add kits [20:51] If I put desktop back, I can run it locally again, thanks :) [20:51] ybon: here you choose kits according to where you want to run your app [20:51] ybon: exactly [20:51] that's great [20:51] now if I want to run in on my device [20:51] ybon: the best part is this way of launching apps is consistent among different types of projects [20:51] (the emulator is damn slow) [20:51] ybon: you then choose the kit that is armhf [20:52] so if I put armhg, hitting ctrl-R should run the app on the device, right? [20:52] ybon: yup [20:53] ahayzen: I finally got multiselect mode for my alarm list working :D [20:53] ahayzen: it is now possible to delete multiple alarms in one go [20:53] nik90, sweet :) the listitem actions code for music is currently under review...guess i'll have to add multi-select in the second iteration [20:53] nik90, we do have basic reordering though :) [20:53] ok, something wrong in my app, then, because I've seen the device having focus, but then it was stuck on the dash [20:53] my app is 20 lines of QML :p [20:54] ahayzen: cool. You can borrow the multiselect stuff from addressbook again if you want [20:54] nik90, i probably will do thanks :) [20:54] ahayzen: https://code.launchpad.net/~nik90/ubuntu-clock-app/add-multiselection-mode/+merge/230140 [20:54] ybon: strange [20:54] nik90, just we have loads of 'out of tree' stuff to maintain lol [20:54] ybon: do you see the app loading animation? [20:54] nope [20:55] I see the log in QtCreator without error [20:55] Ah [20:55] wait [20:55] now I see it [20:55] ahayzen: I have bottom edge, multiselect, swipe delete and fast scroll as upstream components [20:55] but wow, it's fireworks :p [20:55] and bam, crash [20:55] ahayzen: although I haven't modified it so a simple copy paste should help [20:55] ybon: qtcreator crash? [20:55] no, device [20:56] oh [20:56] 20 lines of evil QML, it seems :p [20:56] nik90, yey we have WIP bottom edge (with custom panel state, linkage to our toolbar and reparenting the bottom edge component) ... listitem actions (with custom reorder and a few minor tweaks) [20:56] I'm just trying to push an app for debugging the GPS status [20:57] ybon: just try a really simple qml app which outputs a string to see if this kit stuff works for you [20:57] good idea [20:57] let's just remove everything from my app [20:58] well, let's push that somewhere on the cloud before, just in case :p [20:59] OK, I lied, 92 lines of QML: https://github.com/yohanboniface/GPSStatus/blob/master/GPSStatus.qml [20:59] now let's make it two lines and test again :) [21:00] hehe [21:00] libust[28253/28257]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886) [21:00] ring any bell by chance? [21:00] nope [21:01] huhu, the device's screen is going totally crazy [21:01] crashed again [21:04] there is a kind of nautilus window that appears sometimes on the devices, very weird [21:05] this is what my minimal app looks like: http://pastebin.ubuntu.com/8011106/ [21:07] ybon: if you are getting a nautilus window then it cannot find the .qml file and is trying to show you the file open dialog :P [21:07] ah [21:07] that's a good point :) [21:07] ybon: may be try running the template project? [21:07] means that my .desktop is wrong? [21:07] right [21:09] good news, template project works :) [21:10] path in .desktop was wrong, thanks one more time nik90 :) [21:13] but I'm happy that now I know I to display fireworks on my device [21:18] :P [21:18] ybon: yw [21:20] :) [22:06] popey: one more coming in :) [22:06] popey: now supporting london area ;) [22:27] nik90: hey, not sure if twstddev did catch you before he left... He found out you're using a Repeater for the timezone list [22:45] mzanetti: yeah I talked to him [22:45] ok [22:45] mzanetti: I am using a ListView for the list we are trying to optimize [22:45] mzanetti: I am using a repeater only for the world city in the main page [22:46] nik90: ah ok.. [22:46] nik90: yeah well, you shouldn't use a repeater there either [22:46] mzanetti: true, but I had to [22:46] mzanetti: we want to avoid the situation of having a ListView inside a Flickable [22:46] nik90: wait... [22:47] nik90: which file is that? [22:47] one sec [22:47] mzanetti: https://bazaar.launchpad.net/~ubuntu-clock-dev/ubuntu-clock-app/utopic-3.0/view/head:/app/clock/ClockPage.qml [22:49] mzanetti: oh btw I am able to get the responses to http://geoname-lookup.ubuntu.com/?query=Farnborough&release=utopic properly now. Just figuring how to use QVariant to extract and assign correctly :) [22:49] nik90: variant.toMap().value("key").toString() [22:49] for example [22:50] nik90: where is the list we're trying to optimize? [22:50] mzanetti: yes I did that before.but I dont know how to parse each object individually since there are several "keys" [22:50] mzanetti: https://bazaar.launchpad.net/~ubuntu-clock-dev/ubuntu-clock-app/utopic-3.0/view/head:/app/worldclock/WorldCityList.qml [22:51] nik90: right... I guess the Repeater in the UserWorldCityList is ok... that only has a few entries anyways, right? [22:52] mzanetti: yes, it only houses the cities chosen by the user. so atmost 5-6 I guess [22:52] nik90: ack... Repeater is fine then [22:52] yes [22:55] popey: hey. Do you know whom to bug about this? http://i.imgur.com/hgoxvJy.png :D [22:59] mzanetti: if I have a QVariant like http://paste.ubuntu.com/8011834/ which has multiple QVariantList inside it, how do I access the first object and so on? [22:59] variant[0] didnt work [22:59] variant.toList().first() [22:59] variant.toList().at(5) [23:00] ah [23:00] foreach (const QVariant &entry, variant.toList()) { qDebug() << entry; }