/srv/irclogs.ubuntu.com/2015/08/12/#ubuntu-app-devel.txt

=== javiercrowsoft1 is now known as javiercrowsoft
antony__mcphail that copy and paste bug should be fixed01:00
kivihey all04:24
kivianyone know how in qml I can store an id for a component?04:25
=== chihchun_afk is now known as chihchun
dholbachgood morning06:56
HitAngryhi08:18
HitAngryi need some help for ubuntu sdk08:18
HitAngryi have a bug08:18
HitAngrywhy the "publish" button of ubuntu sdk is off ?08:33
mcphailantony__: unfortunately, I'm still getting the "copy" dialog appearing on long presses of the D-pad09:48
zbenjaminpopey: weren't there some rumors about that the components of the terminal app can be reused?10:59
popeyzbenjamin: we had planned to do that, yes. but nobody has had the time to rip the app apart and make a reusable component11:16
zbenjaminpopey: :(11:16
zbenjaminpopey: ok thanks11:16
ogra_zbenjamin, ah, sad, i was hoping you knew more than me :)11:26
zbenjaminogra_: me too :/11:26
=== VDVsx_ is now known as VDVsx
=== _salem is now known as salem_
davidcalledholbach, around?12:31
dholbachdavidcalle, yep12:31
davidcalleHey :)12:31
dholbachhow are things?12:31
davidcalledholbach, I've been having some issues with my credentials to deploy to staging. Luckily, it's been sorted out by IS late last night. Now I need to figure out how to deploy latest trunk. Apparently, it can be done by doing a merge on the mojo project (that changes the trunk revno used), but I'm looking for an easier solution.12:34
dholbachso for a deployment we need to propose a merge to another branch with a certain revno?12:34
davidcalledholbach, apparently, yes. But I'm asking caio for an easier path that could be done directly on the server. Note that re-deployment of the revno already on the server works perfectly (and takes about 30min).12:36
davidcalleThe goat is fine.12:36
davidcalleAnd Juju is as cool as advertised :)12:36
dholbachhaha12:37
dholbachI think that's also how we did things for  the LTP12:37
dholbachhave trunk and have a production branch12:37
davidcalleLTP?12:37
davidcalledpm, dholbach, btw, url dispatcher tutorial is now live, will blog it in a moment12:37
dholbachloco team portal12:37
davidcalleOh right12:38
dholbachnice!12:38
dholbachhttps://wiki.ubuntu.com/LoCoTeamPortal/ReleaseProcess12:41
dpmdavidcalle, excellent!12:41
dpmdavidcalle, do we have a public URL for staging?12:42
davidcalledpm, developer.staging.ubuntu.com12:42
davidcalledpm, it's an empty devportal instance, though. /webapp-generator is here, this is the way I assess the deployment worked :)12:44
dpmdavidcalle, with the mojo spec, do we have a way to populate it with data? (I'm asking just out of curiosity)12:45
mcphailWould anyone be kind enough to point me towards a comprehensive document on Content Hub? https://developer.ubuntu.com/en/start/platform/guides/content-hub-guide/ is a bit thin12:46
davidcalledpm, probably, we would need a data dump of the django in prod, and load it there. Not sure how to actually do that in the Juju world, will ask.12:47
davidcallemcphail, there is a tutorial in progress, with an eta of next monday.12:57
davidcallemcphail, I know that this app (https://github.com/turanmahmudov/Wallpaper ) has nice code around with very clean QML12:58
davidcallearound it*12:58
davidcalle(note that it only exports, not imports)12:58
mcphaildavidcalle: cheers!13:02
mcphaildavidcalle: is it possible to be an exported/imported without resorting th Qt/QML? I'm keen to do this from a shell script with minimal interaction13:03
davidcallemcphail, just use cp and mv ;-) More seriously, I don't think it has shell commands.13:08
mcphaildavidcalle: I'm looking to create a GUI helper app for my syncthing background client. I can't create a GUI for the client itself as that will break the way I am hacking the lifecycle management so it won't run in the background :)13:09
didrockskenvandine: hey! so, let's imagine I have an image file in my app that I preview. I want when the user clicks on it to open it in the default application, passing the image as payload13:18
didrockskenvandine: I guess as there is some image sharing, it's still contenthub, but it's more "pushing this and going to that application"13:18
kenvandineyeah13:19
didrocksI wonder if we have anything for this, and if so, what is a great example?13:19
kenvandinethat's an export13:19
kenvandinelike "open with"13:19
didrocksok, it's only exporting?13:19
kenvandinemy hub-exporter example does that13:19
kenvandineyeah13:19
tshirtman\o/ didrocks13:20
didrockssalut tshirtman ;)13:20
didrockskenvandine: I guess you saw my bug reports on content-hub, do you have anytime to discuss them over hangouts today or tomorrow?13:20
didrocks(I'll be at debconf then)13:20
didrockskenvandine: if not, let's plan later, I have enough to play and open new bugs thanks to your exporter branch ;)13:21
kenvandinedidrocks, i saw it, there are plans in place already :)13:21
didrocksgreat, I would love to discuss them with you13:21
kenvandinetvoss and i have been discussing a real ContentStore API13:21
kenvandinenothing concrete yet, and no work planned13:21
tshirtmandidrocks: i finally installed touch on my nexus 4, building stuff on it, currently sdl2 stuff for kivy, seems doing a kivy bootsrap shouldn't be too hard :)13:21
didrocksah nice, that's really the missing point I guess13:21
kenvandineyeah13:21
didrockskenvandine: do you think there is any way to test the exporter branch on desktop?13:22
didrocksI guess it's using upstart-app-launch, so "no" :p13:22
didrockstshirtman: nice!13:22
kenvandinedidrocks, it's tricky :)13:22
didrockskenvandine: I'm happy to trick it :p13:23
didrocks(as for the importer, which was painless… hem ;))13:23
kenvandinedidrocks, it's the same way we did for importer13:23
didrocksthere is an auto consumer?13:23
kenvandineyes13:23
didrockssame package, just need to run the hook I guess?13:24
kenvandineyup13:24
kenvandinecontent-hub-test-importer13:24
kenvandineis the consumer for exports13:24
didrocksI just need to add the gsettings key, and the importer should be triggered?13:24
kenvandineyes13:24
didrockskenvandine: mind giving me the gsettings key? the hook really didn't register anything here13:25
kenvandinecom.ubuntu.content.hub.source pictures ['content-hub-test-exporter']13:26
* didrocks gsettings set and try13:26
kenvandinewhoops13:26
kenvandinewait13:26
didrocksnot .source I guess?13:26
kenvandinecom.ubuntu.content.hub.destination pictures ['content-hub-test-importer']13:26
didrocksdestination?13:26
didrocks\o/13:26
didrockskenvandine: ok, so I guess after selection the peer, I don't really see anything (as there is no UI in the test importer), it just goes back to the app, right?13:28
didrockswith state as 413:28
kenvandineyup13:28
kenvandinethat's what you want13:28
kenvandineif there was a UI, it would stay13:28
kenvandineuntil you switch back13:28
didrockskenvandine: so, I'm happy to say that was way smoother than the other day, implementing it in my app now, thanks! :)13:29
didrockskenvandine: yeah, making sense13:29
kenvandinegreat13:29
mcphaildavidcalle: are you involved with the content-hub documentation? If so, could you mkae a couple of tweaks on the API page as per https://bugs.launchpad.net/ubuntu/+source/content-hub/+bug/1484124 ?13:50
ubot5Ubuntu bug 1484124 in content-hub (Ubuntu) "Errors in Ubuntu Content API documentation" [Undecided,New]13:50
seb128around the same topic, bug #1483546 would be nice to fix13:51
ubot5bug 1483546 in content-hub (Ubuntu) "Default content-hub example doesn't work" [Undecided,New] https://launchpad.net/bugs/148354613:52
davidcallemcphail, not involved on the API docs level, but I can ping the right person for this bug13:52
seb128I didn't look at it but maybe it's an easy one13:52
mcphaildavidcalle: cheers!13:52
seb128kenvandine, davidcalle, ^ unsure what/how much changes, but the example snippet should probably work13:52
seb128the bug has no details on what doesn't work though13:52
seb128so unsure if it's an easy one or not13:53
seb128I've on my todo to try and play with that, but unsure when I'm going to have cycle for it13:53
seb128so maybe somebody else who knows the component can fix in some minutes ;-)13:53
kenvandinethe example should work for sure13:54
seb128I'm going to try in a bit and tell you if it works for me13:54
kenvandineit looks like it should work13:54
kenvandinebut it isn't a standalone app13:54
seb128so maybe that's creating confusion?13:55
kenvandineit should work if it was referenced by an app with it's own MainView, etc13:55
kenvandineperhaps13:55
kenvandineit's a code snippet that should be suitable to be used in an app13:55
seb128k13:55
kenvandineperhaps there is something else broken in it13:55
kenvandinebut at first glance it looks fine13:55
=== salem_ is now known as _salem
=== _salem is now known as salem_
didrockssorry, I was tired after opening all the bugs, I should precise "on the desktop"14:02
seb128didrocks, is that specific to desktop?14:03
didrocksyep14:03
seb128what's different there?14:04
* didrocks rephrase14:04
didrocksthe example attempts to import from the default source14:04
didrockswhich is gallery-app14:04
didrockswhich doesn't have the necessary hook in the desktop if I understood ken correctly14:04
didrocksbug report rephrased14:05
seb128thanks14:05
didrocksyw14:05
seb128it's a bit less concerning that things not working at all ;-)14:06
didrocksyep, but keep in mind that's what most of developers will try14:06
didrockshowever, it's importing Ubuntu.components 0.1 IIRC14:06
seb128no, 1.114:06
seb128https://developer.ubuntu.com/api/apps/qml/sdk-15.04/Ubuntu.Content.index/ has 1.1 at least14:06
didrockssome other parts have 0.1, one sec14:07
didrockshttps://developer.ubuntu.com/api/apps/qml/sdk-15.04/Ubuntu.Content.ContentHub/14:07
seb128yeah, seems like quite of the code is still doing that14:08
seb128is that an issue?14:08
didrocksunsure, didn't try as doesn't work on desktop14:09
seb128we are not keeping up with new import versions in most our components14:09
antony__mcphail that copy/paste issue should be gone now.14:12
mcphailantony__: great - will test and report back14:14
mcphailantony__: the "updates" page is doing an endless spinny thing14:15
kwk_h114:17
antony__Did it update yet?14:34
popeyantony__: 0.98 is latest in the store as far as I can see14:36
mcphailantony__: no - the version from this morning was the last one. It still has the copy bug14:37
kenvandinerpadovani, hey... bacon2d with the InfiniteScrollEntity is now in wily and the stable overlay ppa for vivid14:51
kenvandinerpadovani, sorry it took so long, had qmake issues14:52
antony__Thats odd, still says further changes awaiting review for the fix i uploaded. Normally its approved in seconds14:53
popeyoh? let me see14:54
popeyantony__: says 0.99 updated 4 mins ago14:54
popeynow i see 0.99 latest14:55
antony__Stills says .98 as latest approved14:56
antony__status: review in progress14:57
popeypassed14:59
mcphailantony__: the Updates page is not working for me this afternoon. I'll test whenever it stops spinning15:01
antony__k15:01
didrockskenvandine: after receiving "Collected", should I get "Finalized" on the phone? (I don't really know if I don't receive it because content-hub is crashing in import/export on that state due to invalid APP_ID)15:36
kenvandineno, you would have to choose to finalize15:37
kenvandineit isn't required15:37
didrocksok, so "Collected" can be the final state, got it15:37
kenvandinefinalized means you are done with the cached content and it'll get removed15:37
didrocksah15:37
didrocksso it's when you import15:37
kenvandineif you don't do it, the hub will clean it up when it exits15:37
kenvandineyeah15:37
didrocksok15:37
didrockswell, if you can use the cache content and not have to use the app store (see one of my bug)15:37
didrockskenvandine: still unsure about the difference between share and export15:38
kenvandineit won't persist across reboots, but would be fine for a bit15:38
didrockssounds good15:38
kenvandineexport and share are technically identical15:38
kenvandinebut15:38
kenvandinewe need to differentiate it for the user experience15:38
didrocks(so same transfer state, copying…)15:38
kenvandinethe app should choose handlers that "share" when the user wants to share it as opposed to opening it15:39
kenvandinelike posting to facebook15:39
kenvandineattaching to gmail15:39
didrocksok, so it's only to register 2 handlers15:39
kenvandineetc15:39
kenvandineright15:39
didrocksmaking sense now then :)15:39
kenvandineso your app might be able to import content, but it doesn't share it externally15:39
kenvandineso the user journey is different15:39
kenvandinecool15:39
didrocksyeah, I was just wondering about the technical difference15:39
didrocksI got the intent difference ;)15:39
didrocksbut as there are known and it's just to get another handler, I'm fine with that explanation :)15:40
karnido push notifications work in the emulator? (i.e. can one implement and test push feature without a device?)15:42
=== chihchun is now known as chihchun_afk
=== jhodapp is now known as jhodapp|gym
mcphailahayzen: having a look at the QUrl docs, do you think we need to pass the QUrl::DecodeReserved flag in the .toString call in AalMediaPlayerControl::unescape?19:00
ahayzenmcphail, i've gtg, i'll have look later when i'm back :-)19:03
mcphailok!19:05
mcphailjhodapp|gym: ping me when you are jhodapp|backfromgym19:07
josharensonWorking a bug and have a question, let me know if there is a better place. How can I trigger a trusted prompt? I have an old app that I wrote that clears the trust store and asks for GPS location, but its not prompting19:12
josharensonhumm, looks like the clock app still asks.. maybe ill just modify that19:15
=== jhodapp|gym is now known as jhodapp
thecosmicfrogHi guys. Has anyone managed to get Ubuntu SDK running on Mac yet? It's all I have for the next few months, unfortunately.19:30
jhodappmcphail, so I would recommend just experimenting with it until you get it to work...take a look at all of the options available for QUrl19:34
jhodappmcphail, and then make sure that you can build the qtubuntu-media package so that the tests are run19:34
mcphailjhodapp: I need to build on the phone?19:34
jhodappyeah19:35
jhodappmcphail, apt-get build-dep qtubuntu-media19:35
jhodappmcphail, you don't have to, but it's easiest imo19:35
josharensonthecosmicfrog: humm QtCreator should work on mac19:35
mcphailjhodapp: then just standard debian build after that?19:35
jhodappmcphail, yeah, debuild19:35
josharensonthecosmicfrog: that isn't too much help, especially if you don't have a physical device though19:36
jhodappmcphail, I would do a make; make install but you said this needs to be a stable phone, so I'd recommend using package installation19:36
mcphailjhodapp: ok - I'll try in an armhf chroot first but will  build on the phone if I can't get it to work19:36
thecosmicfrogjosharenson: Yeah, I was thinking the issue would be more with the applets that connect to the phone, allow deployment, etc. I have a BQ phone so that's not the issue. Just no Ubuntu development system :(19:36
jhodappmcphail, sounds good19:37
josharensonthecosmicfrog: my personal development flow is: write app in vim w/ qt/qml bindings, cross-build an armhf deb, and install the deb on the device19:38
josharensonthecosmicfrog: oh duh, you can't cross build if you don't have ubuntu huh19:38
josharensonthecosmicfrog: sorry19:39
thecosmicfrog:(19:39
thecosmicfrogHaha19:39
josharensonthecosmicfrog: could still build on the device, but that whole process is clucky and not ideal...19:39
mcphailjhodapp: If i build on the phone, is it sensible to do an apt-get update && dist-upgrade first?19:40
jhodappmcphail, not an upgrade19:40
jhodappbut it's sensible to have the latest package list19:41
mcphailok19:41
antonypopey on?19:43
davmor2thecosmicfrog: run ubuntu in a vm is the best advice I can give sorry19:45
thecosmicfrogdavmor2: Yeah, currently installing Ubuntu MATE. To hell with attempting to run Unity in VirtualBox :D19:46
thecosmicfrog(Plus, I've been meaning to give MATE a spin. popey and wimpy's propoganda is rubbing off on me.)19:47
antonyI use unity in a vm for app development19:48
mcphailjhodapp: looks as if I can't build this on vivid...19:56
mcphailjhodapp: do you know how I can install the overlay ppa in a chroot? That might help19:57
cwaynenot with that attitude you cant19:57
jhodappmcphail, I don't, you might ask in #ubuntu-ci-eng20:05
mcphailjhodapp: I've given up on the chroot. I'll break my phone instead :)20:06
jhodappmcphail, you can also do a chroot on the phone20:06
mcphailjhodapp: no - I'll just reflash20:07
jhodappmcphail, this is what I do: https://wiki.debian.org/Schroot20:07
mcphaillooks as if I need to build this on wily20:13
mcphailwhat would be a good wily channel for krillin?20:14
antonyAnyone been able to disable the context menu in html5 apps?20:18
jhodappmcphail, you should build that on vivid21:54
jhodappmcphail, wily is out of commission for a bit while the gcc5 issues are resolved21:54
mcphailjhodapp: I can't get it to build on vivid due to dependency error. Currently have a broken wily phone :)21:56
jhodappmcphail, you ran apt-get build-dep qtubuntu-media right?21:58
jhodappyou should have everything you need then21:58
mcphailjhodapp: yes, but one package (can't remember which) was too old.21:58
jhodappmcphail, how is that possible?21:59
jhodappmcphail, can you show me the error?22:00
mcphailjhodapp: check out the debian control file. libqtubuntu-media-signals-dev (>= 0.3+15.10.20150618.1-0ubuntu1)22:00
mcphailjhodapp: don't have that in vivid+overlay22:00
jhodappmcphail, you're not on vivid then22:01
jhodappmcphail, what channel did you use for vivid on krillin?22:01
mcphailjhodapp: it was just the standard OTA channel, whatever that was22:01
jhodappmcphail, yeah I'd go back to vivid, and then we can get whatever was wrong figured out22:02
jhodappmcphail, use this channel: ubuntu-touch/rc-proposed/bq-aquaris.en22:02
mcphailjhodapp: just need to work out how to flash without a bootable phone22:05
jhodappmcphail, with or without wiping?22:06
mcphailjhodapp: preferably without22:07
mcphailjhodapp: thought you could use adb from recovery22:08
jhodappfor that you need to get a recovery image that has adb enabled22:08
jhodappnot anymore for security reasons22:08
mcphailjhodapp: so I should try fastboot instead?22:09
mcphailjhodapp: (or can I use fastboot to flash an adb-enabled recovery?)22:10
jhodappyes indeed, just need to find the link to that special recovery image22:10
jhodappmcphail, so you'd do something like: ubuntu-device-flash touch --channel ubuntu-touch/rc-proposed/bq-aquaris.en --bootstrap --recovery-image=/path/recovery.img22:11
jhodappI may have that last option wrong, check the --help on that22:11
jhodappmcphail, if you can't find that recovery image via google, ogra_ will know where it's at22:11
mcphailjhodapp: think i've got it22:13
jhodappawesome22:13
jhodappmcphail, I've got to run for now, dinner time22:13
jhodappgood luck22:13
mcphailcheers. I'll get back to you tomorrow with my progress :)22:14
=== javiercrowsoft1 is now known as javiercrowsoft

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