/srv/irclogs.ubuntu.com/2015/03/31/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
dholbach_good morning05:33
=== dholbach_ is now known as dholbach
=== chriadam is now known as chriadam|away
dholbachmhall119, maybe you could have a look at https://code.launchpad.net/~dholbach/help-app/1434210/+merge/254706 for me in a bit? O:-)08:10
=== VDVsx_ is now known as VDVsx
* Se7 hope someone write an app like swift keyboard 10:02
ogra_i doubt you will see such apps before we swithc to a snappy based image10:04
ogra_today a click package can not replace a system service ...10:05
ogra_(which the keyboard is)10:05
Se7kk10:05
popey"that'll work when we switch to snappy" is the new "that'll work when we switch to mir"10:05
ogra_swnappy allows "framework" snap packages ... that brings the technology to replace system bits10:06
ogra_popey, yeah :)10:06
mcphailTo be fair, though, the default keyboard is surprisingly good. I was a devoted swiper on android but this works well. Congrats to the team10:07
ogra_it went through plenty iterations :)10:08
Se7yep it s nice but i would like to make a bit bigger10:09
dpmdholbach, reviewed https://code.launchpad.net/~dholbach/help-app/1434210/+merge/254706 - let me know if you think the comments make sense10:18
dpmmcphail, forwarding your appreciation for the keyboard to Elleo, developer and maintainer :)10:19
mcphaildpm: cheers. I'm really happy with it :)10:19
dpmexcellent :)10:20
Elleomcphail: glad you like it :)10:21
mcphailElleo: I was really surprised. I find my wife's apple phone unusable due to the poor keyboard. I'm so used to swiping on the android keyboard (which is poor for typing as well)10:22
mcphailElleo: getting it right is difficult and you've done a great job10:22
Elleomcphail: very pleased to hear it's working well for you, we should have some further improvements in the pipeline too so hopefully it should get even better10:24
nik90dpm: ping10:37
dpmhi nik9011:08
nik90dpm: hi11:08
nik90dpm: Are you a bit free now?11:09
ogra_hmm, what was the magic one line to get haptic feedback ?11:11
ogra_*one liner11:11
dpmnik90, sure11:11
nik90dpm: it seems that the local world city translations that I implemented sometime back dont get loaded11:12
nik90dpm: the pot and po files are correctly up to date..but on testing clock app in french, I did not see the translations being loaded11:13
ogra_ah, found it11:13
ogra_ThemeEffect apparently11:13
dpmnik90, it might be that the translation domain is not being set correctly for the C++ files?11:13
nik90dpm: ok, let me check on that quickly11:14
nik90dpm: I see that add_definitions(-DGETTEXT_PACKAGE=\"${PROJECT_NAME}\") added to the C++ cmakelist file to define the gettext package. I will have to search for that example project I used to see if they added any other variables11:17
dpmnik90, I've never done it for a QML file + C++ plugin, but I'm thinking if the loading of translations for the plugin does not work, it might need initializing the domain in code. One person that could perhaps help on that would be dobey when he's online11:19
nik90dpm: ok. I will check with dobey when he comes online since I seem to have lost the link to the example project I used to figure this out before.11:20
dpmI think it was the click scope, let me check11:20
nik90dpm: hmm yes, https://bazaar.launchpad.net/~ubuntuone-control-tower/unity-scope-click/trunk/view/head:/libclickscope/click/click-i18n.h,11:22
nik90sry https://bazaar.launchpad.net/~ubuntuone-control-tower/unity-scope-click/trunk/view/head:/libclickscope/click/CMakeLists.txt11:22
dpmnik90, I think the static definitions are fine, but I'm thinking that the initialization of the domain in code might be missing11:24
nik90dpm: ack.11:24
dpmnik90, like this: http://bazaar.launchpad.net/~ubuntuone-control-tower/unity-scope-click/trunk/view/head:/scope/clickapps/apps-scope.cpp#L7211:25
nik90dpm: ah, I could define it in my c++ plugin and have it intialize the domain when it is loaded (when the world city page is opened)11:26
dpmthat might be it11:27
nik90dpm: I will try this out. Thnx for your help11:28
dpmnp! let me know if it works11:28
nik90sure11:29
nik90will do11:29
dholbachdpm, thanks - responded - sorry, I was at lunch11:32
ahayzenHey, is there an 'official' way todo themes with a 1.1 sdk? Or is the best option todo it like podbird? http://bazaar.launchpad.net/~michael-sheldon/podbird/trunk/files/head:/app/themes/11:32
davmor2popey: can you sync calendar on todays vivid install?11:33
nik90ahayzen: not with 1.1, but with 1.2 it has some initial support for sub-theming capabilities that zsombi blogged about in developer.ubuntu.com11:34
popeyi dont have any vivid devices handy at the moment11:34
nik90ahayzen: but it should become better with 1.311:34
ahayzennik90, ah cool thanks11:34
dpmdholbach, thanks!11:34
davmor2popey: can you sync on rtm then?11:34
popeydavmor2: nope11:35
popey"Failed to sync"11:35
* dpm lunches11:35
davmor2popey: that's what I'm seeing too11:35
popey "error" : "error code from SyncEvolution remote, status 400: updateAllSubItems REPORT 'list items': bad HTTP status: <status 1.1, code 400, class 4, Bad Request>"11:37
popeyin sync-monitor.log11:38
kalikianahmmm http://soonsnap.com/ is fun11:40
dholbachdpm, done: https://code.launchpad.net/~dholbach/help-app/1434210/+merge/25470611:45
dholbachdpm, thanks again for the review11:46
dholbachdpm, once this is merged, I'll check if bug 1438530 is fixed as well - I'm not able to reproduce it locally, but I could well imagine that it'll be fixed too11:47
ubot5bug 1438530 in Ubuntu Help App "PPA build breaks (path determination wrong?)" [Critical,New] https://launchpad.net/bugs/143853011:47
dholbachdpm, then I'd release 0.211:47
dholbach(I moved 1433581 to 0.3 ... if that's OK with you?)11:47
davmor2popey:  "error" : "error code from SyncEvolution remote, status 400: updateAllSubItems REPORT 'list items': bad HTTP status: <status 1.1, code 400, class 4, Bad Request>" and  "error" : "error code from SyncEvolution remote, status 400: REPORT 'meta data': bad HTTP status: <status 1.1, code 400, class 4, Bad Request>"11:52
popeywonder if google changed something their end11:53
davmor2popey: wouldn't surprise me :D11:53
popeydavmor2: wanna file a bug in sync-monitor?11:57
davmor2popey: will do11:57
popeywe can poke bfiller with it11:57
=== _salem is now known as salem_
davmor2popey: https://bugs.launchpad.net/sync-monitor/+bug/143866212:03
ubot5Ubuntu bug 1438662 in sync-monitor "Calendar sync is not happening" [Undecided,New]12:03
popeyconfirmed12:05
popeybfiller: ^12:05
dholbachdpm, not sure if you're busy - maybe mhall119 can check/approve https://code.launchpad.net/~dholbach/help-app/1434210/+merge/254706?12:05
* popey lunches12:05
=== MacSlow is now known as MacSlow|lunch
kalikianahmm where do I report that I need to login once (twice for my gapps account) for each app using google auth?12:16
kalikianathis is really inconvenient12:16
=== rmescandon is now known as rmescandon|lunch
dpmdholbach, approved12:25
* dholbach hugs dpm12:26
dholbachdpm, thanks, fixed the typo too12:28
dpmcool12:28
mzanettipopey, https://code.launchpad.net/~mzanetti/reminders-app/translations-update/+merge/25474512:31
mzanettipopey, I guess we can merge this now and do a call for translators12:31
bfillerrenatu: can you look at this https://bugs.launchpad.net/sync-monitor/+bug/1438662 popey and davmor2 reporting12:48
ubot5Ubuntu bug 1438662 in sync-monitor "Calendar sync is not happening" [Undecided,Confirmed]12:48
renatubfiller, sure12:48
davmor2renatu: I have a feeling that google might of changed something recently and maybe we haven't updated accordingly by the look of it12:49
dholbachdpm, looks like we're ready to go: https://launchpad.net/help-app/+milestone/0.2 - right? :)12:57
* dpm looks13:02
dpmdholbach, looking great!13:04
dholbachcool13:04
dholbachdpm, I'm also chatting with IS about the deployment right now13:04
dpmexcellent, a really nice addition to the app release :)13:04
dholbachyeah13:05
=== MacSlow|lunch is now known as MacSlow
dobeydpm, nik90: yes, you will have to load the translation domain in code, in the same way one does for a library (vs for an app)13:09
dholbachpopey, dpm: if you want to give http://daniel.holba.ch/temp/help.ubuntucoredev_0.2_all.click a quick spin before release - let me know13:09
dholbach(or anyone else)13:09
popeyok13:09
* popey grabs13:09
dholbachhum.... for me it doesn't start at all (vivid)13:12
* dholbach restarts the phone13:12
popeydid you pull down refresh scope?13:12
dholbachhum... probably not13:12
popeyworks for me on rtm and vivid13:12
dholbachah nie13:13
dholbachnice13:13
dholbachthen I'll try after rebooting and upload it then13:13
dholbachthanks a lot popey13:13
popeyso, grammar wise...13:13
popey"The music app" should be "The Music app"?13:13
dholbachpopey, I don't know13:13
popeynvm13:14
popeyit works well here on bq and meizu devices13:14
dholbachI got a long serious talk from a copywriter once about title case and stuff13:14
dholbachsince then I don't know how to capitalise stuff anymore13:14
popeyhah13:14
ogra_write an app !13:14
ogra_"Heading Generator"13:15
dholbachogra_, I'm not going to take spelling advice from you13:15
ogra_(or should i write "Heading generator" ?)13:15
dholbachpopey, works here now too :)13:15
popeydholbach: do we intentionally have spanish screenshots?13:15
dholbachpopey, no, not quite - dpm added that one :)13:16
ogra_should take japanese ... they definitely look more interesting13:16
dholbachlet's fix that in 0.2.1 or something :)13:16
ogra_geez, why do i fee like friday ...13:17
popeyok13:17
popeydholbach: should links be clickable?13:17
popey(they aren't)13:17
dholbachthat's another known bug13:18
popeyok13:18
dholbachit's on the roadmap13:18
dholbachit should now be much easier to fix13:18
kalikianabzoltan_: https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/143768213:18
ubot5Ubuntu bug 1437682 in qtcreator-plugin-ubuntu (Ubuntu) "QML app with C++ plugin (cmake) has wrong import in example code" [High,New]13:19
=== rmescandon|lunch is now known as rmescandon
dpmpopey, it was a proof of concept to see if animated gifs would work. I guess we can take it away from the build and start replacing/adding gifs in English13:19
* popey files a bug to track it13:20
dholbachpopey, add milestone 0.3 for it13:25
dholbach0.2 is landed13:26
dpmdholbach, davidcalle, do you happen to know which lp project to target for bugs on ubuntu.com? I'm looking at this snappy docs bug 142502113:26
ubot5bug 1425021 in snappy-ubuntu "KVM instructions not setup for use of WebDM" [Undecided,New] https://launchpad.net/bugs/142502113:26
dholbachdpm, launchpad.net/ubuntu-website-content13:27
dpmgreat, thanks!13:27
nik90dobey: hey, I added the initialization code in https://code.launchpad.net/~nik90/ubuntu-clock-app/load-translation-domain, but I still dont see the translations. Can you give it a quick check?13:33
nik90dobey: Here's the diff where I added the initialization https://bazaar.launchpad.net/~nik90/ubuntu-clock-app/load-translation-domain/revision/23513:35
dholbachpopey, 1433532 was the bug you mentioned earlier13:36
popeydone13:36
dobeynik90: msgid "Washington D.C" <- should be "D.C."13:40
nik90dobey: that's will break all translations though :P13:41
dobeywell, it's wrong as it is :)13:41
nik90I will fix it13:41
dobeynik90: what is GETTEXT_LOCALEDIR actually being defined as during the build?13:46
nik90dobey: How do I check that? I just made sure that the CMakeList.txt that I defined in my c++ plugin and the po folder matches of https://bazaar.launchpad.net/~ubuntuone-control-tower/unity-scope-click/trunk/files/316/scope/clickapps13:48
nik90the locale files are installed in ${CMAKE_INSTALL_LOCALEDIR}/${LANG}/LC_MESSAGES as defined in the po CMakeList.txt13:49
dobeynik90: the click scope is a .deb and not a click, so it will be a bit different13:50
dobeynik90: do you have a build log?13:50
nik90yeah, 1 sec let me pastebinit13:50
nik90dobey: http://paste.ubuntu.com/10712147/13:51
dobeynik90: ah, you need to build with VERBOSE=1 i think13:52
dobeyto be able to see compiler arguments13:52
* ogra_ starts getting annoyed that his IP changes on every reboot ... why dont we have a network status app yet that can show IP data etc13:52
ogra_(opening the terminal and typing in ifconfig is really suboptimal just to get the IP)13:53
* nik90 tries13:53
nik90dobey: http://paste.ubuntu.com/10712206/13:58
dobeyDGETTEXT_LOCALEDIR=\"//share/locale\"13:58
dobeythat'd be a problem. it's trying to find your translations in //share/locale13:59
dholbachhave a great rest of your day - I need to run! see you soon! :)13:59
nik90dobey: I am trying to play around with that path14:03
nik90dobey: how do I find out where the po files are being installed to?14:04
nik90I set -DGETTEXT_LOCALEDIR=\"${CMAKE_INSTALL_LOCALEDIR}\" in the c++ plugin14:04
dobeynik90: you can't do that, because that isn't the location where the translations actually are, in a click package14:05
nik90hmm what do I do?14:05
dobeywell just CMAKE_INSTALL_LOCALEDIR might be ok, as it should just be "share/locale"14:06
dobeyso that might work, assuming the translations are installed in share/locale/ inside the click directory14:06
nik90dobey: it didnt work..that's why I wanted to check where the translations are being installed to inside the click directory14:08
mhall119renatu: I hear you're the guy to talk to about calendar syncing14:08
mhall119renatu: I'd like to know if it's currently possible for a 3rd party to write an OnlineAccounts provider that adds calendar/contact syncing the way the Google provider does, and if so where this is documented14:09
dobeynik90: seems like they should be there14:10
dobeynik90: do translations from within the qml work?14:20
nik90dobey: yes14:20
nik90dobey: just the ones from c++ which were introduced very recently not working14:20
dobeyah14:21
dobey-DGETTEXT_PACKAGE=\"backend\"14:22
dobeythat is wrong14:22
dobeywhy do you have project(backend) in backend/CMakeLists.txt?14:22
dobeyremove that and rebuild14:23
* nik90 tries14:23
nik90dobey: that did the trick!14:25
nik90dobey: can you approve https://code.launchpad.net/~nik90/ubuntu-clock-app/load-translation-domain/+merge/25477014:32
nik90dobey: I tested it on my phone and can confirm the french translation are loaded correctly14:33
dobeynik90: +114:33
nik90dobey: thnx :)14:35
bzoltan_kalikiana:  did not I comment that bug already ?14:44
kalikianabzoltan_: yes you did and I gave a more exact example since you apparently didn't see the problem14:45
bzoltan_kalikiana:  OK, I am checking it out right now14:45
kalikianathank you!14:46
bzoltan_kalikiana:  rock and roll.. a bug indeed14:49
renatumhall119, unfortunately we do not have any public api for that yet. We still discussing about that14:53
mhall119renatu: ah, ok, where is that discussion taking place?14:53
mhall119I've had several people asking how to add syncing to ownCloud or some other service14:54
renatumhall119, there is a thread on the mail list about the owncloud syncing14:55
mhall119ubuntu-phone ML?14:55
renatuhttps://lists.launchpad.net/ubuntu-phone/msg09440.html14:57
renatumhall119, the main problem now is that. We do not have a public way to extend sync-monitor service, if we want it to support others sources we need to implement it direct on the code14:58
mhall119renatu: ok, and is there a blueprint or something to track the work that would be needed for this? We have Ubuntu Online Summit coming up where it can be discussed in detail14:59
renatumhall119, as long term solution we intend to use buteo15:00
renatumhall119, I do not think so15:00
mhall119could there be?15:00
=== om26er is now known as om26er|dinner
=== om26er|dinner is now known as om26er
akiva-thinkpadzbenjamin, ping18:13
nik90dobey: ping, in our MP the qml tests are failing because while running "make test", it seems to be looking at the wrong directory for the tst_*.qml files18:32
nik90http://91.189.93.70:8080/job/generic-mediumtests-utopic/2471/console18:32
nik90dobey: it seems to be because we removed the project(backend) line18:33
dobeywtf18:34
nik90I think it is because of line 19 in https://bazaar.launchpad.net/~nik90/ubuntu-clock-app/load-translation-domain/view/head:/tests/unit/CMakeLists.txt18:36
dobeynik90: yes18:36
dobeynik90: you should change that to ${CMAKE_BINARY_DIR}/backend18:36
nik90dobey: I have no idea what the hell ${backend_BINARY_DIR} refers18:36
dobeynik90: it's ${project}_BINARY_DIR18:37
dobeyso it refers to the binary dir for that project18:37
dobeyso ${CMAKE_BINARY_DIR}/backend instead should fix it18:37
nik90I tried both ${CMAKE_BINARY_DIR}/backend and ${CMAKE_CURRENT_BINARY_DIR}/backend, but the test that uses those c++ plugin fails stating that they are not installed18:38
nik90dobey: hmm when I look at https://bazaar.launchpad.net/~nik90/ubuntu-clock-app/load-translation-domain/view/head:/backend/CMakeLists.txt#L76, the plugins are indeed copied ${CMAKE_CURRENT_BINARY_DIR}/plugin-name18:41
dobeyit should be ${CMAKE_BINARY_DIR}/backend as ${CMAKE_CURRENT_BINARY_DIR} would be inside the tests sub-dir in that case18:43
nik90that didn't work18:47
nik90the tests which don't require the backend plugins PASS though18:47
dobeydidn't work how?18:47
dobeyi'm not good with vague statements :)18:48
dobeyhow did it fail? how did it fail differently from before?18:48
nik90when I run "make test", out of the 6 test suites, 3 of the test suites import these c++ plugins. and those fails by outputing module "DateTime" is not installed18:48
nik90previously in the jenkins error, all the test suites failed outputting the error The directory '.' does not contain any test files matching 'tst_*.qml'18:49
dobeymaybe you need to set QML2_IMPORT_PATH instead of using -import arg18:49
nik90hmm I guess although manually creating a builddir and then running the tests by "qmltestrunner -import ../../builddir/backend -input tst_alarm.qml" works18:52
dobeyhmm18:53
dobeythen the ${CMAKE_BINARY_DIR}/backend should work18:53
nik90dobey: I think I found the cause, looking at http://paste.ubuntu.com/10713816/, it seems it is importing the "/home/krnekhelesh/Documents/load-translation-domain/builddir/tests/unit" directory instead18:55
dobeyusing what variable?18:56
dobeyyou are using ${CMAKE_CURRENT_BINARY_DIR} in that case, which is wrong18:56
nik90using CMAKE_BINARY_DIR/backend18:56
nik90I cant say why backend isn't in that path18:56
nik90actually changing that path has no effect18:57
nik90I just removed it and tried just "backend" and it stills looks in "/home/krnekhelesh/Documents/load-translation-domain/builddir/tests/unit18:57
dobeyyou re-ran cmake of course?18:57
dobeybecause that sounds like it's just cached18:58
* nik90 looks stupid18:58
nik90in my defense I did run cmake a couple of times before adjusting the path. I didnt do it the last few times18:59
popeyaquarius: http://www.omgchrome.com/chromebit-a-99-chrome-pc-the-size-of-a-chromecast/ your presentations on a stick.20:49
aquariussadly, not really; the idea behind splinter was that you would screencast to it from your phone (rather than broadcasting to the stick from a *specific* anointed phone app, or having the stick itself need to have the presentation on it). On the other hand, doing it with chromebit is more likely to actually be succesful because my way requires reverse-engineering airplay, which I have failed to do despite putt20:52
aquariusing quite a bit of effort in :)20:52
popey:)20:56
=== salem_ is now known as _salem
ahayzenHey, so if i have changed my developer namespace for my account, I can still upload new versions of to apps which had my old namespace right? Because I have already 'claimed' it as mine?22:54
ahayzen...appears you can :)23:45
ahoneybunahayzen: yo23:47
ahayzenahoneybun, sup?23:47
ahoneybunahayzen: now my app is showing up in the store :23:47
ahoneybun:)23:47
ahayzen:D23:47
ahoneybunmhall119: helped me see I was using the wrong framework23:48
ahayzenah woops23:48
ahoneybunyea lol23:49

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