/srv/irclogs.ubuntu.com/2015/05/14/#ubuntu-app-devel.txt

streaky_good evening, could anyone tell me if there is much of a difference between a dual boot ubuntu image and a full installation for a nexus 4? thanks01:00
=== aaron_ is now known as ahoneybun
ahoneybunahayzen: still around?01:39
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
liuxghow can I do a vibration in QML app? thanks06:32
DanChapmanliuxg: HapticsEffect is what you want for that https://developer.ubuntu.com/api/apps/qml/sdk-14.10/QtFeedback.HapticsEffect/07:10
liuxgDanChapman, thanks. do you have any example for using the API? I have not tried it yet.07:11
DanChapmanliuxg: there is an example on that docs page i linked.07:14
liuxgDanChapman, OK. thanks! I will it :)07:14
liuxgDanChapman, thanks, it works beautifully07:39
=== ara is now known as Guest1907
=== oSoMoN__ is now known as oSoMoN
=== chihchun is now known as chihchun_afk
=== beuno_ is now known as beuno
=== jgdxx is now known as jgdx
JamesTaitogra_, has anyone else reported photo sharing from the gallery not actually sharing the photo in your alternate-webapps-container version of G+?13:53
ogra_JamesTait, you mean directly from gallery ?13:54
=== pat_ is now known as Guest98059
ogra_or when importing into G+ via content hub13:54
JamesTaitogra_, oh, actually it was from camera app - I took a photo, swiped across to view it, shared via the top-right menu.13:55
ogra_hmm, that shouldnt be offered, i dropped that ...13:55
ogra_do you run the app from the store or did you sideload it ?13:55
ogra_the only thing the app in the store should offer is url sharing ... photos and videos are excluded in that version13:56
JamesTaitI think originally I might have sideloaded it, and then updated via the store when it became available there. I woudln't swear to it, though.13:56
ogra_you need to import them from the running G+ app13:56
ogra_hmm, might be that the versioning of the sideloaded one was higher ... the store has 0.213:57
ogra_(so uninstall and re-install it)13:57
JamesTaitogra_, just checked my ~Downloads - google-plus.ogra_0.2_all.click13:57
JamesTaitogra_, so it looks like I sideloaded it.13:58
ogra_right, uninstall and reinstall should fix it then13:58
JamesTaitogra_, cool, thanks. ☺   I thought it would probably be just me!13:59
=== Guest98059 is now known as pmcgowan
JamesTaitogra_, yep, uninstalling and re-installing drops it from the sharing menu.14:03
ogra_perfect14:03
ogra_sharing after importing into the app will work though ...14:04
JamesTaitI still have the "official" webapp in the sharing menu, so I can use that, and then use yours for browsing (which looks better, IMO).14:06
ogra_right, that will work too :)14:13
liuxgis there anyway to detect the orientation change in QML application?14:19
ahayzenliuxg, https://developer.ubuntu.com/api/apps/qml/sdk-14.10/QtSensors.OrientationReading/14:22
liuxgahayzen, yeah, thanks! except that, is there a easier way to do that? I just tried to use "onWidthChanged" in the MainView, but it does not seem to work.14:25
ahayzenliuxg, as the example states onReadingChanged: { }14:25
liuxgahayzen, it would be good to fix the orientation of the app as well.14:25
ahayzenyeah all of these improvements we are waiting for to land for some apps :/14:26
liuxgahayzen, thanks for that. I know it should work. :) for the orientation detection, if it is accessible without using the sensor (underneath, it should be case), that would be the best. this is such a commonly used feature for a lot of apps.14:28
ahayzenliuxg, the width > height I did manage to use for one app to detect if you are in landscape/portait14:29
ahayzenliuxg, i had "property bool landscape: width > height" on the PageStack14:30
liuxgahayzen, I just tried to use onWidthChanged in the MainView. it does not seem to give me anything. Maybe, I will get another try.14:30
liuxgahayzen, you used that on the pagestack. in my app, I do not use the pagestack.14:30
ahayzeni don't think that worked for me IIRC but on the pagestack or something that was a child did, it was weird if i remember correctly14:31
ahayzenliuxg, probably best to ask some SDK folks ;-)14:31
liuxgahayzen, thanks. I just tried another example. the width and height are not changed when orientation is changed.14:33
liuxgahayzen, thanks for answering. I just checked width change event of the Page, it is the same.14:36
ahayzenliuxg, probably best to make a mini-app and then ask the sdk guys why it doesn't work, then if they agree it is a bug report it :)14:37
nik90liuxg, ahayzen: AFAIK detecting the width and height change of the mainview used to work, since that's how I was able to  use Ubuntu.Layouts to morph between phone, tablet portrait and tablet landscape UIs for my flashback a long time ago.14:37
nik90liuxg: I haven't tested it recently14:37
nik90liuxg: I basically defined property bool isLandscape: width > height14:37
nik90and used that14:37
ahayzennik90, for me it worked in like the PageStack but then that app was weird as it was a Window->MainView->PageStack14:37
nerochiarobfiller: https://code.launchpad.net/~uriboni/oxide/find-in-page/+merge/25818414:38
ahayzenyeah i did the same but in the PageStack14:38
nik90ah ok14:38
liuxgnik90, ahayzen, I am now using the 15.04 image. it is very weird that I did not get the change event.14:39
bfillernerochiaro: the oxide MR has conflicts https://code.launchpad.net/~uriboni/oxide/find-in-page/+merge/25818415:19
nerochiarobfiller: i will merge trunk into it shortly. middle of something right now15:21
bfillernerochiaro: thanks15:21
nerochiarobfiller: fixed the find in page MR for oxide by merging trunk15:51
bfillernerochiaro: thanks15:57
popeyElleo: seems cutespotify is broken on vivid arale :( http://paste.ubuntu.com/11132731/16:19
Elleopopey: :/ will try to take a look at the weekend16:20
popeykk16:21
=== JamesTai1 is now known as JamesTait
=== _salem is now known as salem_
danielbeHello. I would like to install the developer kit for ubuntu sdk 14.10 from the command line. I used the following command: sudo click chroot -a armhf -f ubuntu-sdk-14.10 create19:24
danielbeHowever, the command fails: http://paste.ubuntu.com/11135043/19:26
danielbeThe server on which I want to install the click chroot has ubuntu 14.04.19:27
=== salem_ is now known as _salem
Neo31hi there mhall11921:44
=== Benno-007 is now known as Guest40312

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