/srv/irclogs.ubuntu.com/2013/09/09/#ubuntu-app-devel.txt

imnicholIs there documentation for using the camera with qml?00:05
imnicholOr alternatively, is there documentation for a chooser for images that are already on the device?00:17
=== chriadam|away is now known as chriadam
dholbachgood morning06:32
qwertzui11dholbach: morning06:40
dholbachhey qwertzui1106:40
dpmhi mzanetti, around?07:24
mzanettidpm: yes+07:42
mzanetti-07:43
mzanetti:D07:43
dpmmorning!07:43
dpm:)07:43
mzanettigood morning07:43
dpmmzanetti, on the phone list you mentioned you were writing an app that used Qt Location, did I get that right? And is Qt Location working for getting the current position for you?07:44
mzanettidpm: not when packaging as a click app07:46
mzanettidpm: otherwise, yes07:46
mzanettidpm: and it crashes on the desktop currently07:46
mzanettidpm: well.. define QtLocation07:46
mzanettidpm: The Map works fine... the PositionSource is the one crashing on desktop, and having problems with AppArmor07:47
dpmmzanetti, something like e.g. "import Qt Location 5.0", "get GPS position" :)07:47
mzanettithe import works fine :D07:47
dpm:)07:47
mzanettidpm: ah right07:47
mzanettiqtdeclarative5-qtlocation-plugin is not preinstalled07:48
mzanettias wa cannot handle dependencies with click :( we need to preinstall that07:48
mzanettidpm: do you know who is the one to ask for that?07:48
dpmmzanetti, yeah, you're righ. The reason I'm asking is because this landed a few days ago, and I wanted to point core app developers to use it for Weather and Clock, however bzoltan1 was trying to write an example to document it, and he mentioned that it didn't do anything. So I was just wondering if it worked at all (regardless of click/apparmor for now)07:49
dpmmzanetti, tvoss for Qt Location, jdstrand or mdeslaur for the apparmor bit07:50
mzanettidpm: yeah. works since last wednesday or so07:50
mzanettithe PositionSource, that is07:50
dpmmzanetti, what backend do you use? Did you have to activate any sensor to get it working? (I'm not familiar with Qt Location)07:51
mzanettidpm: no... just use the PositionSource {} item in qml... that's it07:52
* dpm installs the package on the phone and tries07:53
mzanettidpm: http://notyetthere.org/data/com.ubuntu.developer.mzanetti.getmewheels2_1.3_all.click07:57
mzanettidpm: that's the one... it'll crash when just launching through the dash, but it will work (including positioning) when you execute it via the command line on the phone07:57
nerochiaromzanetti: do you know how to trigger a rebuild on this MR ? https://code.launchpad.net/~amanzi-team/camera-app/camera-app-actions/+merge/18383507:58
nerochiaromzanetti: following the link in the jenkins comment won't let me do that07:58
* mzanetti checks nerochiaro's jenkins permissions07:58
mzanettiI can't reach the jenkins webiface :/07:59
mzanettiist it down again?07:59
mzanettinerochiaro: does the jenkins webinterface work for you?07:59
nerochiaromzanetti: i can see the page linked there, but there's no option in the web interface to trigger a rebuild (that i can see)08:00
mzanettiI can't see the page08:01
dpmmzanetti, thanks. For the moment, I'm just trying to get a very simple example going to show to app developers how to use Qt Location. So far I'm not successful, I'm getting a "The name com.ubuntu.location.Service was not provided by any .service files" on the phone with a simple example, which might mean it's trying to use geoclue?08:01
mzanettinot its back08:01
mzanettidpm: note that QtLocation is not released and it's apis are subject to change soon08:01
mzanettidpm: it's documentation shows quite well how to use it.08:02
mzanettidpm: but if you start writing another howto now its api will have changed by the time you are done08:02
dpmmzanetti, I'm not trying to write a tutorial, a simple example will do. Where did you find the docs? I can only find http://qt.developpez.com/doc/5.0-snapshot/location-positioning-qml08:03
mzanettidpm: there are already commits in the queue to split QtLocation into QtMaps and QtPositioning08:03
chriadamdpm: during au tz office hours, you can ask amccarthy in #qt-mobility08:04
dpmoh, didn't know about that channel, thanks chriadam08:04
mzanettidpm: at the risk that you don't like this link. at this point in time I couldn't suggest any other doc than this: http://qt.gitorious.org/qt/qtlocation/source/e31739e1b6d24616654b03d30bcdf6aeba037117:src/imports/positioning/qdeclarativepositionsource.cpp08:05
mzanettijust ignore the code in between :D08:05
dpmlol08:05
mzanettidpm: this is the file where the official docs are generated from08:05
mzanettidpm: look at line 98 for example08:06
mzanettithat's the one you want08:06
mzanettidpm: because of QtLocation being in transition currently, everything else is outdated08:06
dpmmzanetti, that's essentially the same example as http://qt.developpez.com/doc/5.0-snapshot/qml-qtlocation5-positionsource/, right?08:08
mzanettidpm: your developez link is generated out of this file, yes08:09
dpmyeah08:09
dpmI just don't know how official that page is, and how often the docs are generated08:09
mzanettidpm: however, its most likely outdated (me found developpez.com to be always outdated)08:09
mzanettidpm: the Qt guys themselves don't generate docs yet because its not a released module yet. Docs will show up with Qt 5.208:10
dpmgotcha, thanks08:10
mzanettidpm: until then, copy paste the stuff you need from the .cpp files08:10
mzanettieverything else is old by the time you create it08:10
dpmdid you have to install any other packages to get it working? I'm still getting the "The name com.ubuntu.location.Service was not provided by any .service files" message with the example from the cpp files08:11
mzanettidpm: hmm... I don't think I did... at least not since last Wed08:11
mzanettidpm: make sure ubuntu-location-service is running08:12
dpmhow do I do that, is it an upstart service?08:14
* dpm tries08:14
mzanettidpm: also, I'm not sure how well the AGPS works in our device yet. Make sure the device is close to a window. Without AGPS, the first fix takes in average 12 mins08:14
mzanettidpm: yes, it's an upstart service08:14
dpmok, service running now, the app runs, no location yet. Testing device is a Nexus 408:16
mzanettidpm: I use a nexus 4 too. the very first fix after flashing takes indeed like 12 minutes for now08:17
dpmmzanetti, I'm not too familiar with AGPS, when you're saying "fix", what do you mean?08:18
mzanettidpm: "getting a GPS fix" means basically "knowing the position"08:19
dpmcool, thanks08:19
mzanettidpm: AGPS is a technology to download satellite positions from the internet (also using GSM triangolation, Wifi/IP geolocation information) to support the slow GSM antenna08:20
=== chriadam is now known as chriadam|away
mzanettidpm: so with AGPS you get a fix really fast even though it might not be really precise in the beginning. as the GPS antenna starts finding stallites, its get more precise over time08:20
mzanettidpm: as we don't really have AGPS working yet, we have to wait for the real satellites08:21
mzanettiAGPS = Assisted GPS08:21
JamesTaitGood morning all, happy Monday and happy Wonderful Weirdos Day! :-D08:23
mzanettinerochiaro: you should have permissions to retrigger builds already08:32
mzanettinerochiaro: are you logged in to jenkins?08:33
nerochiaromzanetti: ah, no, i'm not. but i have no idea of what my credentials are. i think i had them setup at some point months ago but haven't used them in a while and forgot08:35
dpmmzanetti, thanks! So just to wrap up and make sure I understand... in the context of Qt Location/Ubuntu, do you know how will AGPS work? Will Qt Location need a new backed/will we need a new service?08:38
mzanettidpm: I think it needs to happen inside ubuntu-location-service08:39
dpmmzanetti, ok, cool, I'll ask tvoss then. Thanks!08:39
mzanettidpm: QtLocation has a method, setEnabledPositioningMethods() or something like that08:40
mzanettidpm: that call needs to be just forwarded to to the backend (ubuntu-location-service) and that one just gathers information according to those enabled methods08:40
dpmah, probably http://qt.developpez.com/doc/5.0-snapshot/qml-qtlocation5-positionsource/#preferredpositioningmethods-prop08:40
nerochiarotimp: have you managed to verify if there's any problem with the actions when loading the MainView in a Loader ?09:14
nerochiaroWellark: is the hud supposed to be fixed in the most recent image ?09:15
timpnerochiaro: no, I didn't have time to look at it.09:17
timpnerochiaro: do you have a simple test program with and without loader to see if the behavior differs?09:17
nerochiarotimp: good point, need to make one09:21
timpnerochiaro: great, thanks :)09:23
Wellarknerochiaro: nope09:36
Wellarknerochiaro: for some reason there has been no hud release after the fix09:36
Wellarkthe stack must be stuck somewhere09:37
nerochiaroWellark: are you still looking into it then, or is someone else taking care of it ?09:38
Wellarknerochiaro: well, if the stack is stuck then the stack is stuck  :)09:38
Wellarkwe will get a hud release at some point09:39
Wellarkthis is what happens when you hand over the release management to SkyNet ;)09:39
nerochiaroWellark: ;) ok. but there must be somewhere one can go and see what is keeping a stack stuck, no ?09:40
Wellarknerochiaro: well, sure.09:40
Wellarkbut, I'm sure whatever it is somebody is already working on it09:40
Wellarkif something blocks use releasing packages then it becomes the top priority to whoever poor developer broke the release stack :)09:41
nerochiaroWellark: i'm sure. it's just that bfiller asked to be kept up to date on the progess, so having an idea of what's holding this up would be useful09:41
Wellarkand trust me.. if you break the release stack.. you. will. know.09:42
Wellark:)09:42
Wellarknerochiaro: ok. well. I can ask around09:42
nerochiaroWellark: would appreciate that. just to know who's the poor developer who's taking all the heat09:42
Wellarknerochiaro: yeah, so we can add some more ;)09:43
Wellark"you are blocking us!!"09:43
nerochiaroWellark: or maybe help ;)09:44
nerochiaroWellark: is there any way i can get fixed pacakges for the hud so i can test on my phone ?09:51
WebbyITSomeone can help me with bignumber.js by Michael Mclaughlin? I don't understand how to confi the lenght of the result09:53
Wellarknerochiaro: AFAIK no other than compiling the package yourself09:56
nerochiaroWellark: ok, thanks09:56
cleptomhall119, ping10:28
rigvedhi all10:37
rigvedcan anyone tell me the status of the whatsapp client on ubuntu touch?10:37
timpuh there is one? I want it! :)10:38
rigvedi had heard about a client called whosthere.10:38
rigvedbut it seems to have been abandoned10:38
timpI vaguely remember an ubuntu-touch client based on https://github.com/tgalal/yowsup a while ago, but I don't know if that is still happening10:39
timpI didn't run it, just heard about it10:39
rigvedjust wanted to see if anyone knows better10:39
rigvedtimp: ok thanks. will look into this one10:41
=== MacSlow is now known as MacSlow|lunch
nerochiarogusch: one more super simple review: https://code.launchpad.net/~amanzi-team/webapps-demo/webapps-demo-no-hud/+merge/18453511:07
nerochiarogusch: not sure who manages that app normally11:07
nerochiarogusch: (it's not even an app in fact)11:07
guschnerochiaro: you could keep the "," after webbrowser-app - an even simpler MR11:08
nerochiarogusch: ok,  let me do that11:16
nerochiaromzanetti: sil2100: re-approving fixed the autolanding11:16
mzanettigoodie11:16
=== gusch is now known as gusch|lunch
=== gusch|lunch is now known as gusch
=== MacSlow|lunch is now known as MacSlow
=== _salem is now known as salem_
dholbachooh, click 0.4.4 uploaded with " Add "click unregister", which unregisters a package for a user and removes it from disk if it is not being used."13:02
dholbachalecu, ^ this might interest you :)13:03
=== mzanetti is now known as mzanetti|otp
=== marcoceppi_ is now known as marcoceppi
=== karni_ is now known as karni
=== karni is now known as Guest26170
=== Guest26170 is now known as karni
=== mzanetti|otp is now known as mzanetti
alecudholbach: nice, useful indeed14:05
dholbachalecu, cjwatson just mailed on the list14:09
alecuyes, saw that too... thanks!14:11
=== mzanetti is now known as mzanetti|food
=== mzanetti|food is now known as mzanetti
=== dpm_ is now known as dpm-pc
nerochiarotimp: I just noticed that if I add more than 5 actions to the hud, only the first 5 will be displayed. Is this something you need to look into or is it a proble in the hud ?15:18
nerochiarotimp: seems like an hud issue. doing a search for the missing ones brings them up15:20
nerochiaroWellark: i just noticed that only the first 5 actions appear in the hud, and i can't reach any further actions unless i search for them. is that a bug or is it by design ?15:21
WebbyITpopey, hi :) Do you have 5 minutes? I just noticed a crazy thing, but I need a test on a phone to confirm it...15:22
WebbyITor dpm ^15:23
nerochiarobfiller: can you point me to that seed repository so that i can check if share-app is still there ?15:23
popeyhey WebbyIT15:25
popeyi have _exactly_ 5 minutes15:25
popeyGO!15:25
WebbyITWith this branch I cannot reproduce anymore bug 1207687 on PC. It's not related and I don't understand how can be a fix There's no harm in trying :),15:25
ubot2`Launchpad bug 1207687 in Ubuntu Calculator App "[Calculator app] First swipe up (and down) doesn't work" [Critical,Triaged] https://launchpad.net/bugs/120768715:25
WebbyIThttps://code.launchpad.net/~rpadovani/ubuntu-calculator-app/1214398/+merge/18232315:25
popeylets see15:26
popeyWebbyIT: that works!15:29
WebbyITpopey, that is incredible!15:29
popeyDING!15:30
popeyYour 5 mins are up15:30
popeyCongratulations!15:30
WebbyITpopey, I have to investigate on it, but it's a big good news :)15:30
WebbyIT\o/15:30
* popey hugs https://bazaar.launchpad.net/~popey/+junk/phablet-testing/view/head:/adhoc_branch_build_run.sh15:31
bfillernerochiaro: lp:~ubuntu-core-dev/ubuntu-seeds/ubuntu-touch.saucy/15:31
WebbyITpopey, talking about bug 1207687, not the one related to the merge, right?15:31
ubot2`Launchpad bug 1207687 in Ubuntu Calculator App "[Calculator app] First swipe up (and down) doesn't work" [Critical,Triaged] https://launchpad.net/bugs/120768715:31
popeyyes bug 120768715:31
popeysorry, didnt realise the merge related to a different bug, but that merge seems to fix 120768715:32
popey(in case that's not clear)15:32
beunomhall119, now that xnox uploaded all the webapps, does your g+ app still need to be up in the store?16:02
xnoxbeuno: mhall119: this is the test of the system =) which one should become "official" given that they are identical =)16:03
* xnox has no comments =)16:03
mhall119beuno: probably not16:04
mhall119mine was more to test whether you could even distribute webapps as click packages16:04
nerochiaroWellark: ping16:05
nerochiarorenato_: can you please review the last commit i made on this MR, and keep following up with om26er about the test failures ? (he's in your time zone this week): https://code.launchpad.net/~amanzi-team/mediaplayer-app/mediaplayer-app-new-actions-api/+merge/18214816:28
nerochiarobfiller: i checked the AP tests in the old share-app. they were not actually testing anything. I think they are still the example tests that were put there by the QA people when we started working with AP tests16:31
bfillernerochiaro: really? wow16:31
nerochiarobfiller: seems strange to me too, but they look like this now: http://pastebin.ubuntu.com/6084146/16:33
nerochiarobfiller: they don't check anything for real16:33
Wellarknerochiaro: semiping16:58
Wellarkback ~30 minutes16:58
Wellarkbut shoot16:58
nerochiaroWellark:  is it normal that if i ihave more than 5 actions in the hud, there's no way to access the extra actions without having to search for them ?16:58
Wellarknerochiaro: yep. that's by design16:59
Wellark(I do disagree personally, though)16:59
nerochiaroWellark: i second your disagreement16:59
nerochiaroWellark: thanks for confirming it's ok though17:00
Wellarkthe limit is completely artificial17:00
Wellarkand the HUD UI code actually supports scrolling the list17:01
Wellarkif there would be more results17:01
AskUbuntuApp Review Time | http://askubuntu.com/q/34343517:27
* popey pokes davmor2 with that question ^17:31
timpnerochiaro: yes, i think its a hud problem. The UITK simply aliases the actions to the actions of a HUD actioncontext.17:40
nerochiarotimp: yeah, it was confirmed as actually being that way by design17:43
timpah I see it now17:47
=== boiko_ is now known as boiko
davmor2popey: what!18:15
davmor2popey: Yay for click apps coming to the wrong queue18:18
davmor2mhall119: ^  This is like the third click app to land in the regular queue you did make it really obvious where the submissions had to land right?18:21
mhall119davmor2: http://developer.ubuntu.com/publish/18:23
mhall119it could probably be made more obvious18:23
beunowell18:23
beunoI'm waiting until we are out of beta18:23
beunoto re-do the menus and such18:23
beunoalso, we're this >< close to dropping old MyApps18:23
mhall119beuno: meaning we'll support commercial apps soon in the new store?18:24
beunomhall119, maybe, maybe18:25
beuno:)18:25
AskUbuntuwebkit + video playback | http://askubuntu.com/q/34347118:53
cleptoiBelieve, ping19:29
iBelieveclepto, pong19:30
cleptoiBelieve, do I have to do something for the u1db to sync?19:31
tiagoscdhey folks19:32
tiagoscddo you have any example of ComboButton implementatino?19:32
tiagoscdcan't found it on API documentation19:32
tiagoscds/tino/tion/19:32
cleptotiagoscd, check ValueSelector19:33
iBelievetiagoscd, or you could take a look at the new OptionSelector19:33
iBelieveclepto, I'm not sure. I've been wondering the same thing19:33
cleptoiBelieve, nice work on Tasks!19:34
iBelieveclepto, I'm guessing that it hasn't been implemented because in https://code.launchpad.net/~kalikiana/ubuntu-ui-toolkit/appsettings/+merge/181304 (in the Settings file), there is a sync property but it is never used in the U1db Database19:34
iBelieveclepto, thanks :)19:34
cleptoiBelieve, ok, thanks19:35
tiagoscdclepto: iBelieve: thanks, I will take a look19:35
tiagoscd:)19:35
cleptoiBelieve, almost finished here too, fixing bugs after migrating to u1db  :)19:39
AskUbuntuWhat is a package name? | http://askubuntu.com/q/34349119:39
iBelieveclepto, that's great!19:40
clepto:D19:42
tiagoscdnice, ValueSelector works fine, thanks clepto :D19:45
cleptotiagoscd, :D19:45
balloonsiBelieve, you about now?19:45
tiagoscdclepto: seems that ValueSelector is deprecated, ItemSelector ftw19:48
cleptotiagoscd, link?19:48
tiagoscdclepto: http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/view/head:/modules/Ubuntu/Components/ListItems/ValueSelector.qml19:50
tiagoscdline 2119:50
cleptotiagoscd, I guess I have to make some changes then :P19:50
tiagoscdhaha, I think so19:51
iBelieveballoons, yes, what's up?19:58
balloonsiBelieve, hey.. So I investigated why the smoke tests all fail now for file manager after we landed that merge19:58
balloonsit seems the XAuthority bug we encountered during testing is still there in there in the lab runs19:59
balloonsI see the code to "fix" it is indeed merged, so it must be something a bit different19:59
iBelieveballoons, interesting19:59
balloonsbut the problem is very much the same as before19:59
balloonsiBelieve, yes, interesting indeed20:03
balloonsiBelieve, so I was pinging you because I thought perhaps the code had been unmerged or something, but it appears to be running in the test20:04
balloonsmspencer, just fyi, I'll propose a branch in a second to fix it I believe.. basically only perform the copy when it's needed (and it20:18
balloons's not needed on the device in the lab it seems)20:18
=== mspencer is now known as iBelieve
iBelieveballoons, great20:19
=== salem_ is now known as _salem
davmor2mhall119: number 4 ;)21:35
mhall119is that good?  I hope it's good21:36
mhall1194 is a good number21:36
imnicholI'm trying to write a program in QML that uses the camera, is there any documentation on that?22:47
imnicholOr even just a way to select pictures that have already been taken.  I recall that functionality coming out, but I can't remember what it was called.22:59
imnicholNo answers huh?23:48

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