=== chihchun_afk is now known as chihchun | ||
davidcalle | Morning all o/ | 07:57 |
---|---|---|
DanChapman | morning all | 09:59 |
rpadovani | popey, o/ Did you have any chanche to test https://code.launchpad.net/~rpadovani/ubuntu-calculator-app/waitUntilOskIsHidden/+merge/254875 ? | 10:33 |
=== dkessel_ is now known as dkessel | ||
themeles | 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" <section> | 11:49 |
themeles | the selector is correct but there seems to be a problem with the list.js class. Does anybody have experience with that error? | 11:49 |
themeles | 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:14 |
popey | rpadovani: testing now | 12:49 |
popey | 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 |
rpadovani | 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 |
popey | ah okay | 12:53 |
popey | http://people.canonical.com/~alan/screenshots/device-2015-04-03-135409.png | 12:54 |
popey | still get the wide keyboard, then ^ then it drops down | 12:54 |
popey | http://people.canonical.com/~alan/screenshots/device-2015-04-03-135433.png | 12:54 |
rpadovani | popey, ok, now I have no idea what's going on | 12:56 |
rpadovani | pfff | 12:56 |
rpadovani | that's annoying | 12:56 |
themeles | How do I include vibrations in a HTML5 app for Ubuntu-touch? | 13:34 |
justCarakas | themeles: https://developer.ubuntu.com/api/html5/sdk-14.10/org.apache.cordova.vibration/ | 13:38 |
themeles | justCarakas: and how do i create the navigator object? | 13:39 |
themeles | justCarakas: and another thing: where would i use this "cordova plugin add org.apache.cordova.vibration". I developing with the Ubuntu SDK. | 13:42 |
justCarakas | 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:44 |
justCarakas | themeles: you can open the debugger in chrome by going to your ip and than this port:32400 | 13:45 |
justCarakas | if you are running your app from the sdk | 13:46 |
justCarakas | ow, never mind, wrong port :) | 13:46 |
justCarakas | thats the plex port :p | 13:46 |
justCarakas | let me look up the port for you | 13:46 |
justCarakas | themeles: the port is 9221 | 13:47 |
justCarakas | http://daker.me/2013/11/web-apps-remote-debugging-on-ubuntu-touch.html | 13:48 |
themeles | justCarakas: ok thanks, i m trying it | 13:53 |
themeles | justCarakas: cant get the connection running. "upstart-app-launch webbrowser-app --inspector" fails when executed on the phone. | 14:06 |
themeles | justCarakas: on the phone there is no open port except 22 | 14:06 |
charles | popey, happy birthday tomorrow! :-) | 14:32 |
justCarakas | themeles: when you start your app from the SDK the debugger should already run | 14:57 |
justCarakas | you don't need to do that manual step | 14:58 |
=== chihchun is now known as chihchun_afk | ||
LeousSama | hello please take a look http://paste.ubuntu.com/10731136/ | 15:23 |
LeousSama | anyone can help ? | 15:25 |
LeousSama | hello | 15:29 |
=== ahayzen is now known as ahayzen_ | ||
=== ahayzen_ is now known as ahayzen__ | ||
=== ahayzen__ is now known as ahayzen | ||
nik90 | ahayzen: Hey congrats on your ubuntu membership! | 15:52 |
ahayzen | nik90, thanks mate :) | 15:53 |
nik90 | 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 |
ahayzen | 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:55 |
ahayzen | most of ours come from header actions now | 15:56 |
nik90 | 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 |
nik90 | ahayzen: I suppose there isn't a way to transfer the property while opening the popover | 15:57 |
ahayzen | dialog = PopupUtils.open(path) ... then do dialog.myVar = model.name ? | 15:58 |
ahayzen | does that work? | 15:58 |
nik90 | that works..but when model.name changes, dialog.myVar still points at the old value | 15:58 |
ahayzen | ah damn | 15:58 |
ahayzen | Qt.binding? | 15:58 |
nik90 | yeah I might end up using that...I guess I finally found a use case for Qt.Binding. | 15:59 |
ahayzen | dialog.myVar = Qt.binding(function() { return model.name; }) | 15:59 |
ahayzen | i had to use it somewhere in the music-app for a similar sortof thing IIRC | 15:59 |
nik90 | ah thnx | 16:00 |
ahayzen | does it work? | 16:00 |
nik90 | I haven't tried it yet | 16:01 |
nik90 | ahayzen: that worked! Thnx | 16:11 |
ahayzen | nik90, awesome :) | 16:11 |
om26er | nik90, Hi! | 16:36 |
om26er | nik90, while building clock-app some tests are failing. How can I disable them ? http://paste.ubuntu.com/10731597/ | 16:37 |
nik90 | om26er: erm what did it crash during the crash? | 16:37 |
om26er | nik90, nothing crashed | 16:38 |
nik90 | Segmentation fault (core dumped) | 16:38 |
nik90 | 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:38 |
nik90 | although I havent seen the qml test suite fail before | 16:39 |
om26er | nik90, if I build and install the deb, whats the binary name to start the app ? | 16:56 |
nik90 | 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 |
om26er | nik90, it says: | 16:58 |
om26er | file:///usr/share/ubuntu-clock-app/ubuntu-clock-app.qml:20 module "DateTime" is not installed | 16:58 |
om26er | darn what am I missing ? | 16:58 |
nik90 | om26er: you're missing the c++ binary plugin | 16:58 |
nik90 | om26er: Can I walk you through building it from source using cmake? | 16:59 |
om26er | nik90, yes, please | 16:59 |
nik90 | om26er: from inside the source it is quite simple, | 16:59 |
nik90 | mkdir builddir && cd builddir | 16:59 |
nik90 | cmake .. | 16:59 |
nik90 | make | 16:59 |
nik90 | qmlscene ../app/ubuntu-clockapp.qml -I backend/ | 17:00 |
nik90 | om26er: that should get it running on the desktop ^^ | 17:00 |
nik90 | om26er: It is explained in https://bazaar.launchpad.net/~ubuntu-clock-dev/ubuntu-clock-app/utopic-3.0/view/head:/README.developers | 17:00 |
om26er | nik90, http://paste.ubuntu.com/10731768/ | 17:01 |
nik90 | om26er: yeah that's what I saw in the test logs you linked and thought it was crashing | 17:02 |
nik90 | om26er: are you running this on vivid desktop? | 17:02 |
om26er | nik90, yes | 17:02 |
nik90 | 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:03 |
om26er | nik90, ok | 17:04 |
* nik90 still updating vivid | 17:12 | |
ahayzen | 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:23 |
nik90 | 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 |
ahayzen | nik90, cool thanks :) | 17:24 |
nik90 | thnx for the reminder | 17:24 |
nik90 | om26er: hey, just finished updating and on building and running it, I dont see any crashes or any other issue. it works fine. | 17:26 |
om26er | nik90, uh, I might have broke something, but not really sure what :/ | 17:27 |
nik90 | om26er: in fact I just tried running some AP tests and they run properly and pass | 17:27 |
nik90 | om26er: yeah something to do with Loading module: 'libubuntu_application_api_test.so.2.9.0' | 17:28 |
nik90 | om26er: not sure where in the stack that is | 17:28 |
om26er | nik90, how do you run tests on the device ? | 17:55 |
* aquarius releases Caxton, finally, yay | 17:55 | |
aquarius | http://www.kryogenix.org/days/2015/04/03/send-a-url-to-your-ubuntu-phone-with-caxton/ | 17:55 |
nik90 | om26er: I dont..or rather I haven't been successful since the move autopkgtests | 17:56 |
ogra_ | aquarius, whee ! | 17:59 |
aquarius | ogra_, yep! finally :) | 18:04 |
ogra_ | grrr ... i dont get it :/ | 18:10 |
aquarius | caxton? yeah, I worry I haven't explained it right | 18:10 |
ogra_ | lol | 18:10 |
ogra_ | no | 18:10 |
aquarius | oh. good then :) | 18:10 |
ogra_ | why my webview doesnt have the right timezone | 18:10 |
aquarius | what? | 18:11 |
aquarius | it doesn't have the timezone your phone is in? | 18:11 |
ogra_ | in my G+ app, when i open the app, the timestamps are correct ... | 18:11 |
aquarius | why would it be set differently? | 18:11 |
ogra_ | as soon as i reload the webview it goes to UT | 18:11 |
ogra_ | C | 18:11 |
aquarius | that's... hm | 18:11 |
ogra_ | yeah | 18:11 |
ogra_ | i really dont get it | 18:11 |
aquarius | 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 |
ogra_ | i use a nexus UA | 18:12 |
ogra_ | so the new UI works fine | 18:12 |
aquarius | ya, but that doesn't mean that our browser is *actually* the nexus browser :) | 18:12 |
ogra_ | heh, indeed | 18:12 |
aquarius | 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 |
ogra_ | hmm, interesting | 18:13 |
aquarius | possibly | 18:13 |
ogra_ | seems the G+ page also doesnt "go to the article" if you tap some article in it | 18:13 |
aquarius | 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:13 |
ogra_ | it jus hides everythig else via css | 18:14 |
ogra_ | it seems if it only hides the other stuff the TZ is right ... only a proper reload turns it to UTC | 18:16 |
ogra_ | (or back/forward actions) | 18:16 |
ogra_ | smells a bit like oxide does give the proper TZ info on first load, but not on any subsequent ones | 18:17 |
aquarius | does a bit, doesn't it? | 18:18 |
aquarius | this is where you make this problem part of coulson's life :) | 18:18 |
ogra_ | haha | 18:19 |
ogra_ | but i want my fix *NOW* ! | 18:19 |
ogra_ | *foot stomp* | 18:19 |
Se7 | aquarius, waiting apps for paring after press get a code app..nothing happen :( with caxton | 18:20 |
ogra_ | i actually wanted to work on direct photo and video sharing today ... now i'm poking at timezones :/ | 18:20 |
nik90 | 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 |
aquarius | nik90, correct. | 18:22 |
aquarius | 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:22 |
aquarius | no server required for you! | 18:23 |
nik90 | 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 |
aquarius | nik90, well, yeah; I won't do the checking for you :) | 18:24 |
aquarius | you could have ifttt do that, though, if you wanted | 18:24 |
nik90 | yes ( though one has the right to dream for such features :P) | 18:24 |
aquarius | 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 |
aquarius | if you're doing something that integrated then you could obviously just do the pairing yourself, etc | 18:25 |
nik90 | aquarius: yeah yeah caxton will make things easier. thnx | 18:25 |
aquarius | but caxton might be a useful way to *prototype* this idea :) | 18:25 |
nik90 | Elleo: we could use this ^^ | 18:26 |
ogra_ | aquarius, so where is the caxton .snap package so i can run the server in my snappy cloud instance ? | 18:27 |
ogra_ | :) | 18:27 |
aquarius | heh :) | 18:27 |
aquarius | if you want to run your own server, you don't need caxton; just snd messages from it ;) | 18:27 |
aquarius | it is there precisely for people who don't want to run their own server but want push messages anyway :P | 18:28 |
ogra_ | 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:28 |
ogra_ | *that* would actually make me use the SDK :) | 18:29 |
aquarius | that'd be nice, indeed | 18:29 |
aquarius | 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 |
aquarius | 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 |
ogra_ | well, snapy are deployd from the appstore | 18:30 |
ogra_ | *snaps | 18:30 |
ogra_ | 5-10% of the "apps" in the store are actually snaps | 18:31 |
ogra_ | 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:31 |
Se7 | aquarius, waiting app to pair.....why no apps pairing maybe i not understand well how to use caxton | 18:32 |
aquarius | Se7, did you install the browser extension? | 18:33 |
Se7 | on the phone or desktop? | 18:33 |
aquarius | on the desktop | 18:33 |
aquarius | 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 |
aquarius | I may need to do a little video of this; it is a bit complicated | 18:34 |
Se7 | thank you | 18:34 |
Se7 | for a simple user like me it s a bit complicated :) | 18:35 |
aquarius | Se7, I don't think I've explained it brilliantly, I admit | 18:35 |
aquarius | but I released it exactly so I can get this helpful feedback :) | 18:35 |
Se7 | of course :P | 18:36 |
justCarakas | does anyone know if ubuntu will keep suporting WebSQL and what the data limits are (database size) | 18:52 |
nik90 | ah man http://icons.mivoligo.com/ is a god sent thnx mivilogio! | 18:52 |
aquarius | how do I take a screenshot on the bq? | 18:57 |
Se7 | volume + and - together | 19:02 |
ogra_ | aquarius, any chance you could make caxton work full duplex ? | 19:12 |
ogra_ | :) | 19:12 |
kenvandine | +1 | 19:13 |
ogra_ | so i can send urls to my desktop too | 19:13 |
ogra_ | preferably via the share button in various apps :) | 19:13 |
kenvandine | oh yeah... a share handler :) | 19:13 |
ogra_ | aquarius, hmm, and i cant seem to be able to makethe IFTTT password generator button do anything | 19:16 |
ogra_ | same with the bookmarklet button | 19:16 |
aquarius | ogra_, full duplex, no. Because it depends on which desktop and browser you're using | 19:18 |
aquarius | ubuntu desktops don't have push notifications yet | 19:18 |
aquarius | Chrome does, so you could push to desktop chrome via google's notifications | 19:18 |
aquarius | and I'm sure that'd be a useful app if someone else were to write it ;) | 19:19 |
ogra_ | heh | 19:19 |
aquarius | ogra_, the generator buttons require javascript... do you have it turned on? | 19:20 |
ogra_ | sure | 19:20 |
aquarius | and when you type in a code it doesn't pair? | 19:21 |
aquarius | let me try it, maybe I've screwed it up :) | 19:21 |
ogra_ | i can use the FF extension | 19:21 |
ogra_ | but neither bookmarklet nor notifications do anything when i click the anchor button | 19:21 |
aquarius | ok, works fine in chrome | 19:22 |
* aquarius tests firefox | 19:22 | |
ogra_ | hmm, now the app says "server error" after i restarted it and hit the generate code button | 19:23 |
aquarius | aaaaaaaaaaaaaaaaah | 19:23 |
ogra_ | second time worked | 19:23 |
aquarius | firefox is doing a correct thing | 19:23 |
aquarius | but I didn't realise it was :) | 19:23 |
aquarius | fixed, I think | 19:26 |
aquarius | works in FF and Chrome for me | 19:26 |
* ogra_ tries | 19:26 | |
aquarius | ifttt may be fixed now as well? | 19:26 |
aquarius | it works for me in chrome at least | 19:27 |
ogra_ | something happens ... not sure what though :) | 19:27 |
ogra_ | oh | 19:28 |
ogra_ | scrolling helps ... seems there happened a lot offscreen :P | 19:28 |
ogra_ | that wasnt really obvious :) | 19:29 |
aquarius | ah | 19:29 |
aquarius | yes. | 19:29 |
aquarius | :) | 19:30 |
ogra_ | you should scroll it down or some such when the password stuff expands | 19:30 |
ogra_ | i was just madly generating codes and clicking th button :) | 19:30 |
aquarius | changing it now :) | 19:31 |
ogra_ | is the app integrated with the push service ? | 19:31 |
ogra_ | or does it only work when in foreground | 19:32 |
kenvandine | aquarius, my g+ feed is full of pictures of you, a new form of a DOS attack | 19:36 |
akiva-thinkpad | hey all | 19:36 |
akiva-thinkpad | zbenjamin, i'll try again. Ping | 19:36 |
akiva-thinkpad | has anyone seen this new intel ssd? 2400 mbps read o_o | 19:37 |
aquarius | ogra_, it is push notifications. app does not beed to be running. | 19:37 |
aquarius | also, we now scroll things into view :) | 19:37 |
ogra_ | awesome | 19:37 |
akiva-thinkpad | thats 12x faster than what I got now | 19:37 |
aquarius | kenvandine, haha! sweet :) | 19:37 |
ogra_ | aquarius, looks good now | 19:40 |
aquarius | glad to hear it ;) | 19:40 |
ogra_ | and this time the password is also not thre pages long :) | 19:40 |
aquarius | it will always be long. Live with it :) | 19:48 |
ogra_ | hmm, the curl example seems to not work | 19:50 |
ogra_ | i get a token ... but when i want to use it i only get "invalid token" back | 19:50 |
aquarius | rly? | 19:52 |
aquarius | docs might be out of date | 19:52 |
aquarius | checking | 19:52 |
aquarius | huh | 19:54 |
aquarius | fails for me too | 19:54 |
aquarius | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaah | 19:55 |
aquarius | I remember this | 19:55 |
aquarius | the issue is + symbols in the token | 19:56 |
aquarius | curl treats them as being a url escape for a space | 19:56 |
aquarius | I'll update the docs with the newer curl command | 19:57 |
aquarius | ogra_, docs updated to use --data-urlencode | 19:59 |
ogra_ | ok, i got two notifications ... no vibration or sound though | 20:01 |
aquarius | yeah, sound stuff doesn't work yet | 20:01 |
ogra_ | ah, k | 20:01 |
aquarius | I *think* I explicitly don't send vibrations | 20:01 |
aquarius | I'd like to open that up to the api at some point | 20:02 |
ogra_ | +1 | 20:02 |
aquarius | but I want to be sure that the thing works in general first :) | 20:02 |
aquarius | sounds I don't do because I'll have to ship them with the app ;) | 20:02 |
aquarius | bbl -- cheers ogra_! ping me on g+ if there are more issues! | 20:03 |
=== ahoneybun__ is now known as ahoneybun | ||
foo-script | hi guys | 22:25 |
foo-script | 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? | 22:27 |
Elleo | 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:19 |
Elleo | 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:21 |
nik90 | Elleo: ack. | 23:22 |
ahoneybun | wow almost 600 downloads | 23:51 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!