UbuntuIRC / 2014 /07 /13 /#ubuntu-app-devel.txt
niansa
Initial commit
4aa5fce
[00:44] <gerlowskija> I'm using the UbuntuSDK to look around at API pages. It's nice to have the docs integrated right into the IDE. One thing I'm having a little trouble with though is navigating back to a previous page. Is there a 'Back' button I'm missing somewhere?
[06:03] <baxter> hey guys, im having trouble creating emulator in ubuntu sdk
[06:03] <baxter> when I hit create it does nothing
[08:43] <mzanetti> nik90_: hey, you around?
[10:06] <nik90_> mzanetti: hey, I should be ready in a few minutes.. Is that okay?
[10:23] <mzanetti> nik90_: hi
[10:24] <nik90_> mzanetti: Hi
[10:24] <mzanetti> nik90_: sorry for not getting back to you yesterday
[10:24] <nik90_> mzanetti: np, it was the weekend
[10:25] <mzanetti> nik90_: so... what is it about?
[10:26] <nik90_> mzanetti: can we do a hangout, I can explain faster
[10:26] <mzanetti> ok
[10:26] <nik90_> mzanetti: https://plus.google.com/hangouts/_/grj6htmsop46fz2s7qhf5xmi3ua
[10:52] <rpadovani> mzanetti, so, I lost a lot of hours on it, but I'm not able to have the todo list working with Oxide... Tomorrow I'll ping oSoMoN to have some help, sorry
[11:03] <mzanetti> rpadovani: hey man
[11:03] <mzanetti> don't be sorry 'bout that
[11:04] <mzanetti> rpadovani: want me to have a look?
[11:05] <rpadovani> mzanetti, if you have time would be great :-)
[11:05] <rpadovani> https://code.launchpad.net/~rpadovani/reminders-app/upgradeToOxide/+merge/225737
[11:05] <rpadovani> there are also some suggestions from oSoMoN
[11:06] <mzanetti> rpadovani: ok... I'll try to squeeze it in today. nik90_ is still before you in the queue though :)
[11:06] <rpadovani> ok, thanks :-) I'll take a look to new bugs meanwhile
[11:26] <nik90_> mzanetti: I pushed it to lp:~nik90/ubuntu-clock-app/10-world-clocks
[14:32] <mzanetti> nik90_: ping
[14:33] <nik90_> mzanetti: pong
[14:33] <mzanetti> nik90_: this is quite weird... even though c++ correctly converts the QDateTime to the other time zone, printing it in qml still gives the local one
[14:34] <mzanetti> have you seen the same?
[14:34] <nik90_> mzanetti: yeah I noticed that as well. I looked online at the docs and 1 other tutorial, but couldn't fix it
[14:34] <mzanetti> looks like a bug to me tbh
[14:34] <mzanetti> do you have the link to the tutorial you're talking about?
[14:35] <nik90_> mzanetti: I looked at http://www.ics.com/blog/whats-new-qt-52-qtimezone
[14:35] <nik90_> mzanetti: there he displays the local time at a specific timezone ID, however when I run that example, the times returned are incorrect.
[14:36] <mzanetti> yeah... he's using QWidget, it stays inside C++ then
[14:36] <mzanetti> nik90_: I believe it looses timezone information when coverting to a JavaScript Date object for qml
[14:36] <nik90_> mzanetti: But I ran his own example. He provides the source code at the bottom of the tutorial.
[14:38] <nik90_> mzanetti: When I run his example and choose say "Asia/Kolkata", I notice that it return 01:38 which is wrong since the time should be 20:07 there.
[14:39] <mzanetti> hmm...
[14:39] <mzanetti> something is definitely fishy with that timezone stuff
[14:40] <nik90_> yeah
[14:41] <nik90_> mzanetti: are you able to see the correct time if you choose to output it within c++ itself?
[14:41] <mzanetti> yes
[14:42] <nik90_> mzanetti: if that is the case, then I could make the c++ plugin return a string with the time instead of a javascript date object
[14:42] <mzanetti> heh, yeah, doing that already
[14:42] <mzanetti> this is the output:
[14:42] <mzanetti> QDateTime("2014-07-13 17:31:53.405 EEST Qt::TimeZone Asia/Amman")
[14:42] <mzanetti> qml: Sun Jul 13 16:31:53 2014 GMT+0200
[14:42] <mzanetti> the first line is from c++, the second from qml
[14:42] <mzanetti> on the same object
[14:43] <mzanetti> well, sort of...
[14:43] <nik90_> but the 17:31 time returned in c++ is incorrect though
[14:43] <nik90_> the current time at Amman is 20:12
[14:46] <mzanetti> ah ok...
[14:46] <mzanetti> lemme fix that
[14:48] <daker> nik90_: no it's correct
[14:49] <nik90_> daker: I checked at http://www.prokerala.com/travel/timezones/Asia/Amman
[14:49] <nik90_> daker: actually nvr mind you are correct. just looked at http://www.timezoneconverter.com/cgi-bin/zoneinfo.tzc?s=default&tz=Asia/Amman now
[14:50] <nik90_> mzanetti: ^^
[14:50] <nik90_> mzanetti: the time is correct, sry
[14:50] <mzanetti> ah ok :D
[14:50] <mzanetti> nik90_: you managed to confuse me
[14:50] <mzanetti> :)
[14:50] <nik90_> :D
[14:51] <nik90_> mzanetti: can you check "America/Chicago"
[14:51] <mzanetti> nik90_: Sun Jul 13 09:51:35 2014 GMT
[14:51] <nik90_> mzanetti: it should be 09:51
[14:51] <nik90_> sweet!
[14:51] <mzanetti> ack
[14:52] <mzanetti> nik90_: ok, so I pushed to lp:~mzanetti/+junk/fix-explain-zone-class
[14:52] <nik90_> mzanetti: thnx
[14:52] <mzanetti> nik90_: I've added lots of comments, hope you find them useful
[14:55] <nik90_> mzanetti: wow thnx for the comments. They are quite helpful
[14:55] <mzanetti> :)
[14:57] <mzanetti> nik90_: gonna make you a model now that gives you all you need nicely
[14:57] <mzanetti> if you're interested, that is
[14:57] <nik90_> mzanetti: ofc if you have time
[14:58] <nik90_> mzanetti: I was going through the reminders evernote plugin code to see more of QtC code samples
[14:59] <mzanetti> nik90_: there's some fancy stuff ongoing there... don't get too deep down there in the beginning or it'll confuse you :) But I think it makes good examples on how to use models
[14:59] <nik90_> ok
[17:21] <mzanetti> nik90_: around?
[17:25] <mzanetti> nik90_: https://code.launchpad.net/~mzanetti/ubuntu-clock-app/add-timezonemodel/+merge/226611
[17:46] <nik90_> mzanetti outside at the moment..will take a look when i get home
[17:46] <mzanetti> nik90_: sure, no problem
[19:14] <rpadovani> mzanetti, you did a wonderful work on evernote plugin, there are functions for all :-)
[19:15] <mzanetti> rpadovani: thanks :)
[19:39] <rpadovani> hey mardy :-) There is a way to know if there is an account of a provider in online accounts but an app isn't authorized to use it yet? WRT https://bugs.launchpad.net/reminders-app/+bug/1340635
[19:39] <ubot5> Ubuntu bug 1340635 in Ubuntu Reminders app "Right workflow wrong wording on error on Initlial run of the app" [Undecided,New]