/srv/irclogs.ubuntu.com/2014/08/23/#ubuntu-app-devel.txt

rpadovanimhall119: just red the backlog, lol, seems a funny bug to fix :-P00:26
mihirHi all11:33
mihirnik90: hi11:33
nik90mihir: hi11:39
mihirnik90: i have proposed merge against your MR, did you get time to look at that?11:40
nik90mihir: no I wasn't aware that you proposed a merge. Let me take a look at it now11:40
nik90mihir: were there any issues I should know about?11:40
mihirnik90: nope, it shouldn't function adding or editing event :D hheehe11:41
mihirnik90: i want you to check the UI ,11:41
nik90mihir: ok11:41
mihirnik90: and the approach i have used.11:41
nik90mihir: can you link me. I don't see the merge request11:42
mihirnik90: https://code.launchpad.net/~ubuntu-calendar-dev/ubuntu-calendar-app/revamp-repetition-deisgn/+merge/23196711:43
mihirnik90: am I lost ?12:39
mihirnik90: having problem with my internetconnection12:39
mihirnik90: let me know if I have missed anyhting12:39
nik90mihir: sry, I am updating my VM which is taking some tiem12:39
nik90time*12:39
mihirnik90: okay no issues, just wanted to confirm , i haven't missed anything due to connection issue12:40
m-b-onik90: hey! :)12:42
m-b-onik90: I'm implementing location lookup with PostionSource. Is there a reason you used a cpp backend?12:42
nik90m-b-o: I used a cpp backend just to retrieve the json data from geonames.org12:42
m-b-oah, ok.12:43
nik90m-b-o: you can do it in qml12:43
nik90m-b-o: surprisingly I am preferring the c++ side of things .. blame mzanetti for that :P12:43
m-b-onik90: was my guess ;)12:44
nik90;)12:44
m-b-oit's already working in qml,  were just some lines of code. But position lookup fails on the device for me.... nothing happens12:44
nik90m-b-o: which image?12:44
m-b-o#203, latest one12:44
nik90m-b-o: image >=203 has a bug where the location-service doesn't start12:45
nik90m-b-o: known issue and being fixed12:45
m-b-ooh12:45
nik90m-b-o: try 20112:45
m-b-ookay, will install that one too12:45
mihirnik90: hi13:18
nik90mihir: hey I commented on your MR13:18
mihirnik90: yeah i saw that13:18
mihirnik90: but creating new page , I feel it will have too less content in the page,13:19
mihireven if you check google calendar, they do the same in popup. with same amount of options13:19
nik90mihir: that's how we do it in the new clock app. In fact in the new clock app every alarm option is set in its own new page.13:19
nik90mihir: take the long scenario where a use chooses to Repeat weekly, and then chooses the recurring events to stop after a certain date. Those options will not fit in the dialog13:20
mihirnik90: hmm , i see..so it should push new page, pop that page and then pass the values to event page?13:20
nik90mihir: yup13:20
nik90mihir: check out the new clock app at lp:ubuntu-clock-app/reboot and see for yourself the add alarm page13:20
nik90mihir: we have way too many options as it is in the main page still13:21
mihirnik90: sure i'll do that and take some inputs from that.13:21
nik90mzanetti: hey, can you show me how to run qmltestrunner on the emulator or phone?13:48
m-b-onik90: position lookup doesn't work on 201 neither.  no result. the service starts unreliable, but even when, no result.14:14
nik90m-b-o: there is an app called "Sensor Status" in the store. Install that and check if it shows your lat and long14:15
nik90m-b-o: if it does, then open your app and verify14:15
m-b-onik90: it doesn't14:18
m-b-onik90: position lookup relies only on GPS?14:18
nik90m-b-o: yes14:23
m-b-onik90: hmmm, then I'll make a timeout and use the ip method via the geolookup api if it takes too long and no position is known14:25
nik90m-b-o: Dont14:26
m-b-owhy?14:26
nik90m-b-o: use only the position source. If it doesn't work we can put pressure on the upstream to fix it.14:27
nik90After all GPS and agps is essential14:27
m-b-onik90: you're right. agps hasn't landed by now?14:28
m-b-ojust the announcement?14:28
nik90No it hasn't landed14:38
nik90But the GPS bug is high prirority14:39
nikwenI highly regret updating my Nexus 4 to build r205 today. Even with developer mode enabled, I cannot install click packages from Qt Creator anymore because they aren't signed like the ones from the store.14:43
ybonIf I want many of my pages to share a same var (the map actually), what's the best pattern? I'm about to add a map property to all my pages and pass them the map when instantiating, but it seems a bit ugly to me14:50
ybonI don't get the subtilities of the var scope in QML14:52
nikwenybon: What's about adding it to your MainView? That always worked for me.14:57
ybonI can try this way, but the Map instantiation is in one of the pages, so I need to make it bubbles up14:59
ybonI'm trying with an alias15:02
ybonseems to be working :)15:04
nikwenybon: Great. :)15:10
popeynikwen: known bug15:21
popeynikwen: https://bugs.launchpad.net/ubuntu/+source/phablet-tools/+bug/136058215:21
ubot5Ubuntu bug 1360582 in phablet-tools (Ubuntu) "Can't manually install clicks "Signature verification error" since #205" [Undecided,Confirmed]15:21
popeyworkaround in the bug15:21
popeyadb push foo.click15:21
popeyphablet-shell15:21
popeysudo click install --user=phablet --allow-unauthenticated foo.click15:22
ybono/ popey15:22
popeyyo15:22
ybonpopey: I'm finishing a 0.2, will you be around to give it a try?15:22
popeysure thing15:23
yboncool15:23
nikwenpopey: Thanks a lot. :)15:24
popeysergiusens: do you think we should patch click-buddy to use click?15:29
sergiusenspopey: that requires root15:34
sergiusenspopey: and we are losing root, or sudo15:34
popeyugh15:34
popeysurely if you're in developer mode you get to have root/sudo?15:35
sergiusenspopey: the installs should just be able to go through15:35
sergiusenswhile in developer mode15:35
sergiusenslike android15:35
sergiusenspopey: sudo yes, passwordless sudo, no15:35
sergiusenspopey: and cjwatson told me not to use click directly15:35
ybonI remember seing a design blog post about new header and navigation, but I can't put my hand back on it. Anyone? :)15:40
nikwenybon: Do you mean this one? http://design.canonical.com/2014/03/new-apps-header/15:40
ybonnikwen: yes, thanks :)15:42
ybonI'm a bit lost in all the Ubuntu pages, it seems :s15:42
nikwenybon: You're welcome. ;)15:42
gerlowskijaHas anyone seen this error message when running the calendar-app tests? http://paste.ubuntu.com/8123471/16:10
gerlowskija"16:12
gerlowskija(process:4840): folks-CRITICAL **: File or directory '/usr/lib/x86_64-linux-gnu/address-book-service/dummy.so' does not exist."16:12
danielholmanyone else having issues with installing developer tools on device due ti qtsensors-dev missing?16:16
dakergerlowskija: yes16:20
dakeri have seen a MR with that fixes something like this error16:20
=== wendar_ is now known as wendar
gerlowskijaohh nice, any idea where I could find it?16:21
dakergerlowskija: i think you should install address-book-service-dummy package16:24
gerlowskijaoh, ok.  I'd installed address-book-app, and address-book-app-autopilot, but I hadn't seen the dummy version16:28
nik90I need some help with http://askubuntu.com/questions/515153/how-does-one-run-qml-tests-on-a-ubuntu-touch-phone16:29
ybonpopey: it should be ready to be tested now :)16:31
ybonpopey: it's on Github© for now, is that a problem? I'm planning to push on bazaaaar only releases16:31
popeyybon: do you have a click package I can test?16:31
ybonAnyone else that wants to test the new release of OSMTouch?16:32
ybonpopey: let me do that :)16:32
popeyam about to leave the house, would be neat to test it outside ☻16:32
nik90ybon: click please16:32
ybonhow do I send that to you now that Ubuntu One has been shot down? :p16:32
ybonpopey: I'll be fast!16:32
nik90ybon: dropbox?16:32
gerlowskijadaker: thanks!  Worked like a charm.16:34
popeyybon: where is it on github?16:34
popeyfound it16:35
popeyhttps://github.com/yohanboniface/OSMTouch16:35
ybonyep16:35
ybonclick on it's way16:35
popeyk16:35
ybonpopey: https://www.wetransfer.com/downloads/c2a1755dc255157642060227784ca48920140823163512/80511515f8d458868471a4a157a0929f20140823163512/c728c016:35
ybondoes that work?16:35
popeyyup16:36
* ybon needs to find a new Ubuntu One16:36
popeyi use Syncthing16:36
ybonah, good to know, will have a look, thanks :)16:36
popeyFree Software16:36
ybonnik90: is the link working for you also?16:36
ybonperfect :)16:36
ybonother option is custom owncloud, but a bit more work to set that up16:37
nik90works16:37
popeyybon: installed16:38
popeywere you going to switch to the top header?16:38
ybonpopey: humm, you don't have a top header?16:38
popeyno16:39
ybongasp16:39
ybonlet me give you a screenshot16:39
popey    useDeprecatedToolbar: false16:39
popeyhmm16:39
ybonit should look like this http://i.imgur.com/BXHmYAl.png16:40
popeynope16:40
popeyhttp://popey.mooo.com/screenshots/device-2014-08-23-173816.png16:40
ybonthat's weird16:40
popeyitsrunning the old one16:41
popeyhmmm16:41
ybonyou have the bottom actions?16:41
popeyyes16:41
ybonso yes it's the old one16:41
* popey reboots phone16:41
popeysuspect this is because I did click install rather than pkcon install-local16:41
popeywill fiddle16:41
popeyno luck16:42
ybonmeh16:42
popeycurrent points to 0.2.016:43
ybonif you try to uninstall before reinstalling?16:43
* popey fiddles16:43
popey\o/ fixed16:43
popeysudo click register --user=phablet me.yohanboniface.osmtouch 0.2.016:43
yboncool :)16:44
popeyhttp://popey.mooo.com/screenshots/device-2014-08-23-174423.png16:44
ybongreat16:44
popeyhttp://popey.mooo.com/screenshots/device-2014-08-23-174439.png16:44
popey\o/16:44
popeythanks!16:44
* popey goes out for dinner16:44
ybonbon appétit!16:45
ybonoh, "OpenStreetMap contribut…" has been cut, oops16:45
nik90it works for me16:49
nik90Currently outside16:49
nik90No location found though simce location services are disabled16:50
ybonyou mean disabled on your phone?16:50
nik90yes17:27
Novice201yHello. How can I check my changes in app's source? Do I need to install second Ubuntu on testing machine?18:05
twstddevGuys, does anybody experience troubles running applications in emulator after upgrading all system packages to the most recent ones?19:54
nik90ybon: ping20:23
ybonnik90: pong20:24
nik90ybon: when I was outside, and I tapped the "where am i" button it told me that the location services might be disabled since it couldn't access the GPS service.20:25
nik90ybon: how do you do that detection? using the "valid" property you told me about?20:25
nik90ybon: when I am at home, it just shows a different dialog that "No gps available. Position is approximate". Not sure why I got the other dialog when I was outside20:26
ybonnik90: I test against position.latitudeValid20:26
nik90ybon: what's that?20:26
nik90ybon: is that provided by the positionSource{} ?20:27
ybonnik90: the "position is approximate" means that i've been using IP20:27
ybonnik90: yes20:27
nik90ybon: so you check which position source is being used and show the appropriate dialog?20:27
ybonnik90: well, it's a bit of fiddling20:28
ybonI check if position has a valid latitude20:28
ybonif no, I check if I can have a position from the IP20:29
nik90ybon: ah ok20:29
ybonif no, I just show the dialog that no position is available20:29
ybonposition doesn't know how to get the position from the IP, AFAIK20:29
ybonit's a bit of unfinished API, it seems for now20:30
nik90ybon: for the clock app, I only intend on depending on the GPS (and AGPS). So I will use the latitudeValid and longtitudeValid to show a message if GPS isnt available.20:30
nik90ybon: or even show the last saved location there20:30
ybonmakes sense20:31
ybonIP location is approximate, but for a clock is precise enough, though20:31
ybonI'd love to know when is aGPS to be landed20:31
nik90ybon: I wonder if we can use http://developer.ubuntu.com/api/qml/sdk-14.10/QtLocation.PositionSource/#sourceError-prop to detect if GPS is available or not20:32
ybonhumm, I don't remember using that20:34
ybonkeep me updated if you use that with success20:36
ybonthe case of the user switching on/off the location needs to be handled by OSMTouch20:36
nik90ok20:37
ybonWhat would be the pattern if I want to make that dynamic: https://github.com/yohanboniface/OSMTouch/blob/master/components/PlacePopover.qml#L30-L67 ?20:41
ybonLike looping over the parameter I want to show, and then adding a ListItems.SingleValue for each20:41
ybonparameters*20:43
ybonhttp://developer.ubuntu.com/api/qml/sdk-14.10/QtQml.qtqml-javascript-dynamicobjectcreation/20:44
danielholmhas someone got the new web component to work? I'm unable to get the oxide webview to work based on the "really simple" code snippet from the api site21:29
dakerdanielholm: yo ?21:33
danielholmyo yo?21:34
danielholmor the app Yo?21:34
daker3 things :21:34
danielholmdaker: yes?21:35
daker- include "webview" in policy_groups21:35
daker- use "policy_version": 1.221:35
daker- "framework": "ubuntu-sdk-14.10-dev2",21:36
danielholmdaker: ah, come on! thats probably it21:36
dakerthat's the 3 keys to make it work21:36
danielholmis that somewhere in tha developer documentation?21:38
danielholmdaker: Have I missed out on that..?21:38
dakerdanielholm: i don't think so, but QTC should take care of that21:38
danielholmdaker: QTC?21:39
danielholmQtCreator?21:39
dakeryep21:39
danielholmdaker: it didn't this time. maybe in the future. It still won't run on my device, though. Hmm..21:39
dakerdanielholm: it's a webapp or an HTML5 app ?21:40
danielholmdaker: it is a QML app that I want a webview in. So I don't know how to answer your question21:42
dakerdanielholm: ok so i think you should replace "framework": "ubuntu-sdk-14.10-dev2",21:43
dakerubuntu-sdk-14.10-qml-dev221:43
danielholmdaker: re-did everything again and now the app runs on my device. Not showing anything yet though, but might be because something else.21:44
danielholmah, ok21:44
danielholmdaker: what is the differance? how do I know?21:45
dakerdanielholm: brb21:46
dakerdanielholm: in your device :21:59
dakerll /usr/share/click/frameworks21:59
danielholmhttp://pastebin.ubuntu.com/8125734/22:02
danielholmdaker22:02
dakerubuntu-sdk-*-html-dev - Cordova and HTML runtimes only22:02
dakerubuntu-sdk-*-qml-dev - QML/Qt modules only22:02
dakerubuntu-sdk-*-papi-dev - Platform API and blessed C/C++ libraries only22:02
dakerthat's a short explanation, more here https://wiki.ubuntu.com/Click/Frameworks22:04
danielholmthanks, daker22:04
danielholmdaker: hopefully I can get the view to actually show now when the app opens. thank you :)22:05
iktHi guys, I'm still having trouble preventing the javascript from running, anyone have any ideas? :( code here: http://pastebin.com/zz15W4Sw22:06
iktif you want i can strip out the extra code until it's just the bare basics22:07
iktbut the problem remains that the JSON.JSONListModel code is running before I've asked it to :(22:07
iktor22:51
iktbetter question22:51
iktdoes anyone know how to refresh a listview/JSONListModel on new info?22:52

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