/srv/irclogs.ubuntu.com/2014/07/13/#ubuntu-app-devel.txt

gerlowskijaI'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?00:44
baxterhey guys, im having trouble creating emulator in ubuntu sdk06:03
baxterwhen I hit create it does nothing06:03
mzanettinik90_: hey, you around?08:43
nik90_mzanetti: hey,  I should be ready in a few minutes.. Is that okay?10:06
mzanettinik90_: hi10:23
nik90_mzanetti: Hi10:24
mzanettinik90_: sorry for not getting back to you yesterday10:24
nik90_mzanetti: np, it was the weekend10:24
mzanettinik90_: so... what is it about?10:25
nik90_mzanetti: can we do a hangout, I can explain faster10:26
mzanettiok10:26
nik90_mzanetti: https://plus.google.com/hangouts/_/grj6htmsop46fz2s7qhf5xmi3ua10:26
rpadovanimzanetti, 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, sorry10:52
mzanettirpadovani: hey man11:03
mzanettidon't be sorry 'bout that11:03
mzanettirpadovani: want me to have a look?11:04
rpadovanimzanetti, if you have time would be great :-)11:05
rpadovanihttps://code.launchpad.net/~rpadovani/reminders-app/upgradeToOxide/+merge/22573711:05
rpadovanithere are also some suggestions from oSoMoN11:05
mzanettirpadovani: ok... I'll try to squeeze it in today. nik90_ is still before you in the queue though :)11:06
rpadovaniok, thanks :-) I'll take a look to new bugs meanwhile11:06
nik90_mzanetti: I pushed it to lp:~nik90/ubuntu-clock-app/10-world-clocks11:26
mzanettinik90_: ping14:32
nik90_mzanetti: pong14:33
mzanettinik90_: this is quite weird... even though c++ correctly converts the QDateTime to the other time zone, printing it in qml still gives the local one14:33
mzanettihave 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 it14:34
mzanettilooks like a bug to me tbh14:34
mzanettido you have the link to the tutorial you're talking about?14:34
nik90_mzanetti: I looked at http://www.ics.com/blog/whats-new-qt-52-qtimezone14: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:35
mzanettiyeah... he's using QWidget, it stays inside C++ then14:36
mzanettinik90_: I believe it looses timezone information when coverting to a JavaScript Date object for qml14:36
nik90_mzanetti: But I ran his own example. He provides the source code at the bottom of the tutorial.14:36
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:38
mzanettihmm...14:39
mzanettisomething is definitely fishy with that timezone stuff14:39
nik90_yeah14:40
nik90_mzanetti: are you able to see the correct time if you choose to output it within c++ itself?14:41
mzanettiyes14:41
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 object14:42
mzanettiheh, yeah, doing that already14:42
mzanettithis is the output:14:42
mzanettiQDateTime("2014-07-13 17:31:53.405 EEST Qt::TimeZone Asia/Amman")14:42
mzanettiqml: Sun Jul 13 16:31:53 2014 GMT+020014:42
mzanettithe first line is from c++, the second from qml14:42
mzanettion the same object14:42
mzanettiwell, sort of...14:43
nik90_but the 17:31 time returned in c++ is incorrect though14:43
nik90_the current time at Amman is 20:1214:43
mzanettiah ok...14:46
mzanettilemme fix that14:46
dakernik90_: no it's correct14:48
nik90_daker: I checked at http://www.prokerala.com/travel/timezones/Asia/Amman14: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 now14:49
nik90_mzanetti: ^^14:50
nik90_mzanetti: the time is correct, sry14:50
mzanettiah ok :D14:50
mzanettinik90_: you managed to confuse me14:50
mzanetti:)14:50
nik90_:D14:50
nik90_mzanetti: can you check "America/Chicago"14:51
mzanettinik90_: Sun Jul 13 09:51:35 2014 GMT14:51
nik90_mzanetti: it should be 09:5114:51
nik90_sweet!14:51
mzanettiack14:51
mzanettinik90_: ok, so I pushed to lp:~mzanetti/+junk/fix-explain-zone-class14:52
nik90_mzanetti: thnx14:52
mzanettinik90_: I've added lots of comments, hope you find them useful14:52
nik90_mzanetti: wow thnx for the comments. They are quite helpful14:55
mzanetti:)14:55
mzanettinik90_: gonna make you a model now that gives you all you need nicely14:57
mzanettiif you're interested, that is14:57
nik90_mzanetti: ofc if you have time14:57
nik90_mzanetti: I was going through the reminders evernote plugin code to see more of QtC code samples14:58
mzanettinik90_: 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 models14:59
nik90_ok14:59
mzanettinik90_: around?17:21
mzanettinik90_: https://code.launchpad.net/~mzanetti/ubuntu-clock-app/add-timezonemodel/+merge/22661117:25
nik90_mzanetti outside at the moment..will take a look when i get home17:46
mzanettinik90_: sure, no problem17:46
rpadovanimzanetti, you did a wonderful work on evernote plugin, there are functions for all :-)19:14
mzanettirpadovani: thanks :)19:15
rpadovanihey 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/134063519:39
ubot5Ubuntu bug 1340635 in Ubuntu Reminders app "Right workflow wrong wording on error on Initlial run of the app" [Undecided,New]19:39

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!