=== chihchun_afk is now known as chihchun [07:57] Morning all o/ [09:59] morning all [10:33] popey, o/ Did you have any chanche to test https://code.launchpad.net/~rpadovani/ubuntu-calculator-app/waitUntilOskIsHidden/+merge/254875 ? === dkessel_ is now known as dkessel [11:49] I get the following error when trying to create a list: Error: Element with selector "lst_laptimes" does not exist or not declared as a "list"
[11:49] the selector is correct but there seems to be a problem with the list.js class. Does anybody have experience with that error? [12:14] finally: calling it with "UI.list('[id="lst_laptimes"]');" it worked "UI.list('laptimes'); " didn't with lists but with all the others. Here comes my next question: is that a bug or does it have a reason? [12:49] rpadovani: testing now [12:53] rpadovani: still seems to be a problem with the icon - i branched that osk hidden and then made a click and pushed to phone, and the icon is blank [12:53] popey, yap, I know, there isn't still the icon, because I use a custom icon when I push under my name, I'll replace it with the original one when we're ready to land [12:53] ah okay [12:54] http://people.canonical.com/~alan/screenshots/device-2015-04-03-135409.png [12:54] still get the wide keyboard, then ^ then it drops down [12:54] http://people.canonical.com/~alan/screenshots/device-2015-04-03-135433.png [12:56] popey, ok, now I have no idea what's going on [12:56] pfff [12:56] that's annoying [13:34] How do I include vibrations in a HTML5 app for Ubuntu-touch? [13:38] themeles: https://developer.ubuntu.com/api/html5/sdk-14.10/org.apache.cordova.vibration/ [13:39] justCarakas: and how do i create the navigator object? [13:42] justCarakas: and another thing: where would i use this "cordova plugin add org.apache.cordova.vibration". I developing with the Ubuntu SDK. [13:44] have you tried to launch your app and than in the debugger do a console.log on the navigator, I think it should be there, I can't try it myself atm [13:45] themeles: you can open the debugger in chrome by going to your ip and than this port:32400 [13:46] if you are running your app from the sdk [13:46] ow, never mind, wrong port :) [13:46] thats the plex port :p [13:46] let me look up the port for you [13:47] themeles: the port is 9221 [13:48] http://daker.me/2013/11/web-apps-remote-debugging-on-ubuntu-touch.html [13:53] justCarakas: ok thanks, i m trying it [14:06] justCarakas: cant get the connection running. "upstart-app-launch webbrowser-app --inspector" fails when executed on the phone. [14:06] justCarakas: on the phone there is no open port except 22 [14:32] popey, happy birthday tomorrow! :-) [14:57] themeles: when you start your app from the SDK the debugger should already run [14:58] you don't need to do that manual step === chihchun is now known as chihchun_afk [15:23] hello please take a look http://paste.ubuntu.com/10731136/ [15:25] anyone can help ? [15:29] hello === ahayzen is now known as ahayzen_ === ahayzen_ is now known as ahayzen__ === ahayzen__ is now known as ahayzen [15:52] ahayzen: Hey congrats on your ubuntu membership! [15:53] nik90, thanks mate :) [15:55] ahayzen: hey, quick question, Have you used a popover inside a listitem delegate? I don't know how to pass variables like model.name etc, to the popover since it is a separate component [15:55] nik90, hmmm we may have done at some point but i don't think we do anymore ... you tried making another property in the listitem which copies the model.name or something? [15:56] most of ours come from header actions now [15:57] ahayzen: well I could do that, but if that property values changes, it is not reflected in the popover. My usecase is to show some button icons which changed depending on the model property. But I noticed that when the model property changes, the popover doesnt seem to recognize that [15:57] ahayzen: I suppose there isn't a way to transfer the property while opening the popover [15:58] dialog = PopupUtils.open(path) ... then do dialog.myVar = model.name ? [15:58] does that work? [15:58] that works..but when model.name changes, dialog.myVar still points at the old value [15:58] ah damn [15:58] Qt.binding? [15:59] yeah I might end up using that...I guess I finally found a use case for Qt.Binding. [15:59] dialog.myVar = Qt.binding(function() { return model.name; }) [15:59] i had to use it somewhere in the music-app for a similar sortof thing IIRC [16:00] ah thnx [16:00] does it work? [16:01] I haven't tried it yet [16:11] ahayzen: that worked! Thnx [16:11] nik90, awesome :) [16:36] nik90, Hi! [16:37] nik90, while building clock-app some tests are failing. How can I disable them ? http://paste.ubuntu.com/10731597/ [16:37] om26er: erm what did it crash during the crash? [16:38] nik90, nothing crashed [16:38] Segmentation fault (core dumped) [16:38] either way, if you comment add_subdirectory(unit) in the CMakeList.txt file in the tests directory, that should disable the qml test suite [16:39] although I havent seen the qml test suite fail before [16:56] nik90, if I build and install the deb, whats the binary name to start the app ? [16:58] om26er: erm I am not sure since I have never done that..the desktop file itself has the Exec= qmlscene ubuntu-clock-app.qml line [16:58] nik90, it says: [16:58] file:///usr/share/ubuntu-clock-app/ubuntu-clock-app.qml:20 module "DateTime" is not installed [16:58] darn what am I missing ? [16:58] om26er: you're missing the c++ binary plugin [16:59] om26er: Can I walk you through building it from source using cmake? [16:59] nik90, yes, please [16:59] om26er: from inside the source it is quite simple, [16:59] mkdir builddir && cd builddir [16:59] cmake .. [16:59] make [17:00] qmlscene ../app/ubuntu-clockapp.qml -I backend/ [17:00] om26er: that should get it running on the desktop ^^ [17:00] om26er: It is explained in https://bazaar.launchpad.net/~ubuntu-clock-dev/ubuntu-clock-app/utopic-3.0/view/head:/README.developers [17:01] nik90, http://paste.ubuntu.com/10731768/ [17:02] om26er: yeah that's what I saw in the test logs you linked and thought it was crashing [17:02] om26er: are you running this on vivid desktop? [17:02] nik90, yes [17:03] om26er: give me 5 mins, I am updating my vivid install and testing this since it works on a few days old vivid machine perfectly fine [17:04] nik90, ok [17:12] * nik90 still updating vivid [17:23] nik90, what was the status of https://code.launchpad.net/~nik90/ubuntu-weather-app/improved-settings-page/+merge/253619 ... i think Victor was waiting for you to make some changes? [17:24] ahayzen: oh wow I totally forgot about that MP. He just wanted me to add some translator comments..I will get that done today [17:24] nik90, cool thanks :) [17:24] thnx for the reminder [17:26] om26er: hey, just finished updating and on building and running it, I dont see any crashes or any other issue. it works fine. [17:27] nik90, uh, I might have broke something, but not really sure what :/ [17:27] om26er: in fact I just tried running some AP tests and they run properly and pass [17:28] om26er: yeah something to do with Loading module: 'libubuntu_application_api_test.so.2.9.0' [17:28] om26er: not sure where in the stack that is [17:55] nik90, how do you run tests on the device ? [17:55] * aquarius releases Caxton, finally, yay [17:55] http://www.kryogenix.org/days/2015/04/03/send-a-url-to-your-ubuntu-phone-with-caxton/ [17:56] om26er: I dont..or rather I haven't been successful since the move autopkgtests [17:59] aquarius, whee ! [18:04] ogra_, yep! finally :) [18:10] grrr ... i dont get it :/ [18:10] caxton? yeah, I worry I haven't explained it right [18:10] lol [18:10] no [18:10] oh. good then :) [18:10] why my webview doesnt have the right timezone [18:11] what? [18:11] it doesn't have the timezone your phone is in? [18:11] in my G+ app, when i open the app, the timestamps are correct ... [18:11] why would it be set differently? [18:11] as soon as i reload the webview it goes to UT [18:11] C [18:11] that's... hm [18:11] yeah [18:11] i really dont get it [18:12] does it happen for all pages? or just g+? it might be g+ itself doing something weird; they dn't support our browser for the new UI, remember :) [18:12] i use a nexus UA [18:12] so the new UI works fine [18:12] ya, but that doesn't mean that our browser is *actually* the nexus browser :) [18:12] heh, indeed [18:13] it is possible that we actually do something wrong in the browser here, but since we're forcing it to think we're something different, that trips the bug [18:13] hmm, interesting [18:13] possibly [18:13] seems the G+ page also doesnt "go to the article" if you tap some article in it [18:13] I mean, it's unlikely, but it woldn't surprise me if g+ does something weird with timezones; it is a very, very complex app :) [18:14] it jus hides everythig else via css [18:16] it seems if it only hides the other stuff the TZ is right ... only a proper reload turns it to UTC [18:16] (or back/forward actions) [18:17] smells a bit like oxide does give the proper TZ info on first load, but not on any subsequent ones [18:18] does a bit, doesn't it? [18:18] this is where you make this problem part of coulson's life :) [18:19] haha [18:19] but i want my fix *NOW* ! [18:19] *foot stomp* [18:20] aquarius, waiting apps for paring after press get a code app..nothing happen :( with caxton [18:20] i actually wanted to work on direct photo and video sharing today ... now i'm poking at timezones :/ [18:22] aquarius: Looking at the official caxton, am I reading this correctly other 3rd party apps can use this to push notifications to the device? [18:22] nik90, correct. [18:22] help your user get a Caxton token, then use it to push yourapp://whatever/you/like to the phone, and have your app on the phone register as the url handler for yourapp:// urls. [18:23] no server required for you! [18:24] aquarius: well for podbird for instance, I would need a server to check for new episodes and then send push notifications to the user? [18:24] nik90, well, yeah; I won't do the checking for you :) [18:24] you could have ifttt do that, though, if you wanted [18:24] yes ( though one has the right to dream for such features :P) [18:25] but it means you can avoid the hassle of pairing the phone app with the server, etc, and have caxton do it; your server can use the api, etc [18:25] if you're doing something that integrated then you could obviously just do the pairing yourself, etc [18:25] aquarius: yeah yeah caxton will make things easier. thnx [18:25] but caxton might be a useful way to *prototype* this idea :) [18:26] Elleo: we could use this ^^ [18:27] aquarius, so where is the caxton .snap package so i can run the server in my snappy cloud instance ? [18:27] :) [18:27] heh :) [18:27] if you want to run your own server, you don't need caxton; just snd messages from it ;) [18:28] it is there precisely for people who don't want to run their own server but want push messages anyway :P [18:28] well, i want integrated projects, where the SDK automatically spits out a .snap for me if there are server components in my click package project :) [18:29] *that* would actually make me use the SDK :) [18:29] that'd be nice, indeed [18:30] not useful for me, though, until someone sets up a heroku-like service that'll deploy snaps and give me basic usage for free for ever [18:30] that'd be pretty sweet, though: PaaS where you just upload a list of snap URLs and it deploys for you. Pow, done [18:30] well, snapy are deployd from the appstore [18:30] *snaps [18:31] 5-10% of the "apps" in the store are actually snaps [18:31] and snappy knows oem snaps ... so yu can just bundle your snap selection and deploy them as oem snap with a single click in snappys webdm UI [18:32] aquarius, waiting app to pair.....why no apps pairing maybe i not understand well how to use caxton [18:33] Se7, did you install the browser extension? [18:33] on the phone or desktop? [18:33] on the desktop [18:34] caxton on your phone doesn't pair with the server -- it pairs with the extension in your desktop Chrome/FF. So you hit the button in Chrome, it says "enter the code from the caxton app", you hit the button in the phone app, it gives you a code, you type the code into desktop chrome, and they pair [18:34] I may need to do a little video of this; it is a bit complicated [18:34] thank you [18:35] for a simple user like me it s a bit complicated :) [18:35] Se7, I don't think I've explained it brilliantly, I admit [18:35] but I released it exactly so I can get this helpful feedback :) [18:36] of course :P [18:52] does anyone know if ubuntu will keep suporting WebSQL and what the data limits are (database size) [18:52] ah man http://icons.mivoligo.com/ is a god sent thnx mivilogio! [18:57] how do I take a screenshot on the bq? [19:02] volume + and - together [19:12] aquarius, any chance you could make caxton work full duplex ? [19:12] :) [19:13] +1 [19:13] so i can send urls to my desktop too [19:13] preferably via the share button in various apps :) [19:13] oh yeah... a share handler :) [19:16] aquarius, hmm, and i cant seem to be able to makethe IFTTT password generator button do anything [19:16] same with the bookmarklet button [19:18] ogra_, full duplex, no. Because it depends on which desktop and browser you're using [19:18] ubuntu desktops don't have push notifications yet [19:18] Chrome does, so you could push to desktop chrome via google's notifications [19:19] and I'm sure that'd be a useful app if someone else were to write it ;) [19:19] heh [19:20] ogra_, the generator buttons require javascript... do you have it turned on? [19:20] sure [19:21] and when you type in a code it doesn't pair? [19:21] let me try it, maybe I've screwed it up :) [19:21] i can use the FF extension [19:21] but neither bookmarklet nor notifications do anything when i click the anchor button [19:22] ok, works fine in chrome [19:22] * aquarius tests firefox [19:23] hmm, now the app says "server error" after i restarted it and hit the generate code button [19:23] aaaaaaaaaaaaaaaaah [19:23] second time worked [19:23] firefox is doing a correct thing [19:23] but I didn't realise it was :) [19:26] fixed, I think [19:26] works in FF and Chrome for me [19:26] * ogra_ tries [19:26] ifttt may be fixed now as well? [19:27] it works for me in chrome at least [19:27] something happens ... not sure what though :) [19:28] oh [19:28] scrolling helps ... seems there happened a lot offscreen :P [19:29] that wasnt really obvious :) [19:29] ah [19:29] yes. [19:30] :) [19:30] you should scroll it down or some such when the password stuff expands [19:30] i was just madly generating codes and clicking th button :) [19:31] changing it now :) [19:31] is the app integrated with the push service ? [19:32] or does it only work when in foreground [19:36] aquarius, my g+ feed is full of pictures of you, a new form of a DOS attack [19:36] hey all [19:36] zbenjamin, i'll try again. Ping [19:37] has anyone seen this new intel ssd? 2400 mbps read o_o [19:37] ogra_, it is push notifications. app does not beed to be running. [19:37] also, we now scroll things into view :) [19:37] awesome [19:37] thats 12x faster than what I got now [19:37] kenvandine, haha! sweet :) [19:40] aquarius, looks good now [19:40] glad to hear it ;) [19:40] and this time the password is also not thre pages long :) [19:48] it will always be long. Live with it :) [19:50] hmm, the curl example seems to not work [19:50] i get a token ... but when i want to use it i only get "invalid token" back [19:52] rly? [19:52] docs might be out of date [19:52] checking [19:54] huh [19:54] fails for me too [19:55] aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaah [19:55] I remember this [19:56] the issue is + symbols in the token [19:56] curl treats them as being a url escape for a space [19:57] I'll update the docs with the newer curl command [19:59] ogra_, docs updated to use --data-urlencode [20:01] ok, i got two notifications ... no vibration or sound though [20:01] yeah, sound stuff doesn't work yet [20:01] ah, k [20:01] I *think* I explicitly don't send vibrations [20:02] I'd like to open that up to the api at some point [20:02] +1 [20:02] but I want to be sure that the thing works in general first :) [20:02] sounds I don't do because I'll have to ship them with the app ;) [20:03] bbl -- cheers ogra_! ping me on g+ if there are more issues! === ahoneybun__ is now known as ahoneybun [22:25] hi guys [22:27] a newbie in Ubuntu development needs some advise. I do not know where can I find the sources for apps which are already within default apps set for Ubuntu phone. I am not a big fan of contacts app, so where can I pull the sources from? [23:19] nik90: yeah, I considered doing something with Caxton and possibly also IFTTT, but I think for the range of things I want to do it's better to just do it ourselves [23:21] nik90: as I think I want people to be able to have an actual account on podbird.org, that allows them to manage stuff, import/export subscriptions online, sync between multiple devices and offer suggestions; a bit like gpodder.net does for gpodder but with the addition of recommendations and ubuntu push stuff [23:22] Elleo: ack. [23:51] wow almost 600 downloads