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