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

ahoneybun*something00:00
ahoneybunwhy do I need to edit the main at all00:01
nik90previous you had anchors.margins: units.gu(2). ..I removed that from the column...you may need to add it to the flickable00:01
nik90you're basically calling home.qml in the main.qml ... and so I edited it there..but by all means you can just add the flickable to home.qml00:02
* ahoneybun is so confused00:03
nik90ahoneybun: just add the flickable to only the home.qml file and you're done00:04
nik90forget the main.qml changes00:04
ahoneybunomg the width00:06
ahoneybunhttp://pastebin.ubuntu.com/11441820/00:07
nik90what happens to the width?00:07
ahoneybunhalf the page is empty00:07
nik90can you add anchors.margins: units.gu(2) to the flickable and see if that fixes things for you00:07
nik90oh00:08
nik90ahoneybun: for that set width: parent.width to the column00:08
nik90that should definitely fix that00:08
ahoneybunfixes00:09
nik90ahoneybun: so in total it should be like http://paste.ubuntu.com/11441859/00:10
nik90I hope this helped ;)00:10
ahoneybunyay00:11
ahoneybunI added contentWidth00:12
ahoneybunto flickable00:12
ahoneybunmissing the margins in flickable though00:12
nik90did you add the anchors.margins like I did in my paste?00:12
ahoneybunto the flickable?00:13
nik90yes00:13
ahoneybun  anchors.fill: parent00:13
nik90just copy paste http://paste.ubuntu.com/11441859/00:13
nik90and then anchors.margins: units.gu(2)00:13
ahoneybunthis is all I have other then the contenthight and width00:13
ahoneybunok00:14
ahoneybunstill works so thats good00:14
ahoneybunnik90: one last thing, I want to push it to my device for a final test before I update in places00:16
ahoneybunpopey told me about pushing the .click to /tmp or somehting00:16
ahoneybun*thing00:16
nik90ahoneybun: do you use the Ubuntu SDK? You can just tell it to install on device directly instead of doing that yourself00:17
ahoneybunnever worked for me00:17
ahoneybunhave not tried it recently though00:17
nik90ahoneybun: yup I noticed that your project did not work for me that way ... It turns out your project is missing the .excludes file00:17
ahoneybunoh00:17
nik90create a new project and copy the .excludes file from there to your project00:17
nik90there could be other reasons why it didnt work for you...but this was the only reason for me personally...I tested it on Nexus 400:18
ahoneybunweird00:20
ahoneybunIt is not supported to create click packages for a non UbuntuSDK target00:20
nik90well it default to your desktop as the default target00:21
nik90and since your app is independent of architecture, it works00:21
nik90otherwise it wont ;)00:21
ahoneybunI onlu have desktop wth00:22
nik90so does it work?00:22
ahoneybunwhat work?00:22
nik90creating a 14.10 or 15.04 kit and then targetting that to install on the phone using the sdk?00:23
nik90anyway what popey mentioned is creating a click package and moving that to /tmp directory on your phone. You can then install it by pkcon install-local --allow-untrusted click-name00:23
nik90replace click-name with the click package file name00:24
ahoneybunmight want to remove the store version first lol00:24
ahoneybunworks!00:24
ahoneybunyay00:25
nik90ok now I am confused...what worked?00:25
ahoneybun1. got it installed on the device with the SDK (also learned ctrl+r will do that when the kit is selected) 2. flick works!00:26
* ahoneybun pushes the changes to LP00:26
nik90ahoneybun: ah yay!! btw you don't need to remove the store version before installing it...the SDK will overwrite it00:27
ahoneybunoh00:27
nik90and yes ctrl+r is the best thing ever00:27
ahoneybunwell it gave a error when the store version was there00:27
* ahoneybun takes his SIM out of his OnePlus One00:28
nik90yeah it shows a dialog saying that an app with similar name is already installed..just press yes and it will override it00:28
ahoneybun no option00:29
nik90hmm strange i get https://imgur.com/j55jEUy00:30
ahoneybunit was nothing about the name00:30
ahoneybunidk its gone now00:30
ahoneybunYAY 900 Downloads00:31
ahoneybunhttp://imgur.com/PMA8CF000:32
nik90nice00:33
nik90gtg it getting late here00:33
ahoneybunnp00:33
ahoneybunthanks a lot nik9000:33
nik90yw :)00:33
ahoneybunnight00:34
=== aaron is now known as Guest52701
=== Guest52701 is now known as ahoneybun
=== aaron is now known as Guest26124
=== Guest26124 is now known as ahoneybun
ahoneybunI'm thinking of messing around with toolbar items but I can never get them riht02:51
ahoneybun*right02:51
* ahoneybun files a bug against developer.ubuntu.com03:01
=== aaron is now known as Guest78283
=== Guest78283 is now known as ahoneybun
mzanettipopey, hi there12:18
mzanettipopey, I've added support for sharing youtube links to kodimote and I've been told I need to ping you to add a share button to your youtube app12:18
mzanetti:D12:19
popey_Add a what?12:26
popey_mzanetti: not sure what you mean. Happy to add whatever you need12:28
mzanettipopey_, in the webbrowser one can share the link to the currently viewed page12:29
popey_Oh. So share from my app12:29
mzanettipopey_, when on youtube you can now share that to kodimote and it will play the youtube video on the tv12:29
popey_Gotcha12:29
popey_Sweet12:30
popey_Will take a look when home12:30
mzanettiI haven't released it yet, because it's 15.04 only and I don't want to kill it for RTM users yet12:30
popey_Ok12:30
popey_T12:30
popey_I can test on my vivid device12:31
mzanettipopey_, package at: http://notyetthere.org/data/com.ubuntu.developer.mzanetti.kodimote_2.0.99_armhf.click12:31
popey_Ok.ta12:31
mzanettiyou'd need a kodi installation to test the full journey though12:31
mzanetti(xbmc will do too)12:31
popey_Ok.I have a kodi box12:32
popey_Ttfn12:33
=== aaron_ is now known as ahoneybun
* ahoneybun is back in the game!12:57
ahoneybunpopey: around?13:03
popey_ahoneybun: wassup?13:05
ahoneybunI pushed update to uBeginner, could you try it out on you BQ device please :)13:06
* ahayzen observes that popey magically summons popey_ to join the room :-)13:06
ahoneybun*a update13:06
ahoneybunhey ahayzen!13:07
ahayzenahoneybun, o/ hows things?13:07
popey_:)13:07
ahoneybunpretty good13:07
ahoneybunmy Nexus 4 is running again13:07
ahayzensweet \o/13:07
ahoneybunyep13:07
ahoneybunI added flickable so you can scroll on the home page13:08
ahoneybunsince it did not fit on the page well13:08
popey_ahoneybun: sure when I get home13:08
popey_Nice13:08
ahoneybunthanks to nik9013:08
popey_Nik90 is a legend in his own lifetime13:09
ahoneybunthe newest devel is pretty nice13:09
ahoneybunlots of little fixes here and there13:10
popey_Yeah13:10
ahoneybungreat music player ahayzen and others13:10
ahayzenhehe thanks13:10
popey_I am still reeling from having an actual 100% SDL game in the store :)13:10
popey_I'll get over that one day13:10
ahayzenwhen that works on mako its gonna be awesome :-)13:10
ahoneybunSDL??13:11
ahayzencan't wait for more of them to appear13:11
ahoneybunopps13:11
popey_Neverball13:11
popey_SDL game13:11
ahayzenahoneybun, https://uappexplorer.com/app/neverball.lb13:11
ahoneybunI saw some pics of that13:11
ahoneybunlooks cool13:11
popey_o/ later13:11
ahoneybunbye popey_13:12
ahoneybung2g13:12
ahayzeno/13:12
ahoneybunlol13:15
ahoneybunahayzen: Page.tools is a deprecated property. Please use Page.head instead.13:15
ahoneybunI'm waiting on someone13:15
ahayzenyup, ahoneybun you have some header actions?13:15
ahoneybuntrying to13:16
ahoneybunI'm using the example from developer page13:16
ahayzenahoneybun, example here https://developer.ubuntu.com/api/apps/qml/sdk-14.10/Ubuntu.Components.Page/13:17
ahoneybunfrom here https://developer.ubuntu.com/api/apps/qml/sdk-15.04/Ubuntu.Components.ToolbarButton/13:17
ahayzenthought that was the old way of doing it lol13:17
ahoneybunI think it is13:18
ahoneybunpage might be old13:18
ahayzentry the first code example in the link i gave13:18
ahoneybunsame error13:18
ahayzenthats how we do it in music anyway13:18
ahayzenahoneybun, with a page like this? http://pastebin.ubuntu.com/11452674/13:18
ahoneybunwait13:18
ahoneybunsame error13:19
ahayzenreally? what was the output?13:19
ahoneybunqml: Page.tools is a deprecated property. Please use Page.head instead.13:19
ahayzenmind pastebin'ing the code?13:20
ahayzenmaybe you just left the tools: property there when you don't need it?13:20
ahoneybunoh I see13:20
ahoneybunimport Ubuntu.Components 1.113:20
ahoneybunneeded to be import Ubuntu.Components 1.213:20
ahayzenor that13:21
ahoneybunlol13:21
ahoneybunthat page is 14.1013:21
ahoneybunI;m in 15.04 toolkit13:21
ahayzenwe're partially inbetween \o/13:22
ahoneybunlol13:22
ahoneybundoes onTriggered: not work in that13:22
ahoneybun?13:22
ahoneybunthe SDK is not autocompleting13:22
ahayzenit should?13:23
ahoneybunnope but I think it will work13:23
ahoneybunit seems when it will not autocomplete it will not work lol13:23
ahayzenoh right yeah onTriggered: is what you want13:23
ahoneybunyea it works13:24
ahayzen\o/13:24
ahoneybundid the contacts image name change?13:24
ahoneybuniconName: "contacts" does not load13:25
ahoneybunQQuickImage: Failed to get image from provider: image://theme/contacts13:25
ahayzenmaybe check in /usr/share/icons/suru/actions/scalable/ i see "contact"13:25
ahoneybunsearch is in there too and it works13:27
ahoneybun*contact* not *contacts*13:27
ahayzen;-)13:27
ahoneybung2g really this time13:29
ahoneybunthanks ahayzen as usual :)13:29
ahayzenahoneybun, no problem have fun :-)13:29
mivoligomzanetti: Tagger does not start after update on my bq13:39
mzanettireally...13:39
mivoligoyep13:39
mivoligomzanetti: http://paste.ubuntu.com/11452983/13:40
mzanettimeh... seems I compiled it with a 15.04 chroot13:40
mzanettimivoligo, should be fixed now13:46
mivoligomzanetti: yes, it is :)13:53
mivoligoapp scope refreshing every time after update or new install is not nice :(13:54
nik90mzanetti: hey, you might have broken tagger with your update today on the BQ device..when I launch it I see the log error "Undefined symbol: _ZN6QDebugD1Ev"14:12
mzanettinik90, yeah... already fixed14:12
nik90mzanetti: wow that was too fast of a reply ;)14:12
mzanettinik90, mivoligo told me some 15 mins ago already14:13
nik90ah14:13
nik90mzanetti: btw since 15.04 OTA is coming next week approx..can I update fahrplan to the 15.04 framework with few other improvements?14:13
mzanettinik90, yeah... should be fine14:14
nik90either way fahrplan 2.0.25 doesnt work with in RTM atm due to the same symbols missing error14:14
nik90cool14:14
mzanettinik90, we still /could/ build it in a 14.10 chroot and it would run on RTM14:15
mzanettibut yeah, not in the mood to manually build everything. Plan was to bump to 15.04, yes14:15
nik90mzanetti: I did build it on 14.10 chroot and then installed on rtm..but did hit that issue..I created a custom hacky script for now to manually build and install on my phone for development purposes14:15
mzanettinik90, if you go back the git changlog you'll find one of the old run_on_ubuntu_touch.sh scripts in there...14:22
mzanettinik90, but with 15.04, running from QtC works fine for me14:22
mzanettiwhich is why I dropped that script a while back14:23
nik90mzanetti: oh...hmm I have been developing all this on a 15.04 N4...and I had issues with running from QtC.. I will give it a try this weekend and see if it works for me14:24
mzanettinik90, you need to add CONFIG+=ubuntu to the qmake options14:24
mzanettialso you might need to select another run target... not sure. could be it detects the sailfish binary too or something14:25
mzanettibut it works fine here. I tried after you told me 2 weeks ago and it was working14:25
sick_rimmitHi folks14:32
sick_rimmitI'm having trouble with the QT Examples14:32
sick_rimmitI can get them to run, as it can't write back to /usr/lib....14:33
sick_rimmitSo I copy the project to /home/sickrimmit/QT14:33
nik90mzanetti: yeah I am not sure why it fails for me..it complains of a missing manifest.json file http://paste.ubuntu.com/11453764/ after adding config+=ubuntu..I tried both the debug and release14:33
nik90anyway the script works for now..which is fine14:34
sick_rimmitIt complains it can't reference ../../shared/shared.h14:34
mzanettinik90, drop the build dir and try again14:34
mzanettigtg14:34
sick_rimmitIt kinda feels like my UbuntuSDK install is broken14:35
sick_rimmitCopying the Same Game demo, to try that and it just pukes, with cannot create /usr/lib/i386-linux blah blah14:38
sick_rimmitI had to hand edit the UbuntuSDK Config files, just to get the SDK to run...14:42
sick_rimmitI wonder if these hurdles, slow down app development ?14:43
popeyafternoon all15:27
DanChapmanafternoon :)15:28
sick_rimmitHello15:46
sick_rimmit:-)15:46
popeyhey sick_rimmit15:46
popeyhaving problems with the sdk?15:46
sick_rimmitYes a little trouble..15:46
popeyI've not used it for desktop QT dev myself,15:47
sick_rimmitbeen looking on launchpad, thinking of installing from ppa15:47
popeywhat version of kubuntu you running?15:47
sick_rimmit15.0415:47
popeyyeah, add the sdk team ppa15:47
popeybe interested to know if that works on kubuntu, don't think it gets a lot of testing outside Ubuntu but I may be wrong15:48
sick_rimmitOK, Will try that out15:48
popeyi know a couple of people round here use kde15:48
sick_rimmitGetting excited about trying to make some little apps, but it got a bit frustrating...15:49
sick_rimmitNo worries... a cup of tea, and cake fixed that...15:49
sick_rimmitNow I'm ready to do dev, or bug fix15:49
sick_rimmitOK, Well that appears to pulling in some updated QT Stuff and the UbuntuSDK Template for QTCreator... which is what I was hoping for15:54
sick_rimmitI couldn't get the emulator working on this laptop, which is a 2009 Samsung, so not surprising..15:54
sick_rimmitBut I have an Aquarius or 3 here so, I'll play with a live device..15:55
popeythe emulator can be painful16:04
sick_rimmitpopey: Really I think my laptop just doesn't have enough performance to run it16:15
popeymost don't16:18
popeythe x86 one is way faster than the armhf emulator16:18
popeyneither is a magical experience16:18
ahoneybunhey sick_rimmit16:23
sick_rimmitahoneybun: Hi mate, how you doing ?16:24
ahoneybunpretty good you?16:24
sick_rimmitYes good thanks16:24
ahoneybuncool16:24
ahoneybunpopey: I'm on KDE lol16:25
ahoneybungot a real device sick_rimmit?16:25
ahoneybunahayzen: still around?16:28
ahayzenahoneybun, yo, sup?16:28
ahoneybuncan you put head.actions in tabs?16:29
ahoneybunlike how I have uBeginner16:29
sick_rimmitahoneybun: Yes, we're lucky we got Auquarius E4.5 from bq.com16:29
sick_rimmitbq.com are Ace!16:29
ahoneybunnice16:29
ahayzenahoneybun, erm not sure only think it goes into the page, but what you can do is make a PageHeadState component and reuse the same one across your pages16:29
ahoneybuneww16:30
ahoneybunnice sick_rimmit16:30
ahoneybunI have the Nexus 4 sick_rimmit16:30
ahoneybunahayzen: http://bazaar.launchpad.net/~aaronhoneycutt/ubuntu-beginner/2.0/view/head:/main.qml16:30
ahayzenahoneybun, or just make a CustomPage {} component and put it in that if you want it on all the pages?16:31
ahoneybunalso can I change the applicationName without it breaking?16:31
ahayzenlike we have a MusicPage for adding things we want on all pages16:31
ahoneybunoh boy16:31
ahayzenthe applicationName should match your package name you push to the store with16:32
ahoneybunit will it is just ugly as hell16:32
ahoneybunand does not follow the new name sceme16:32
ahoneybun applicationName: "com.ubuntu.developer.aaronhoneycutt.ubuntubeginner"16:32
ahoneybunthe new way is "aaronhoneycutt.ubuntubeginner" right?16:33
ahayzenor ubuntubeginner.aaronhoneycutt IIRC16:33
ahayzenbut it means that people who already have the package won't get updates as it is seen as a new package IIRC16:33
ahoneybunoh ok16:35
ahayzeni would just keep the old format for now, thats what most of the coreapps seem to be doing16:36
ahoneybunok16:36
ahayzenahoneybun, i've gtg, but would recommend keeping the same appname and making a CustomPage todo the head action for the pages, if you want the same on all of them16:38
sick_rimmitThere is no requirement to run QTCreator as Root is there ?17:01
popeyno, never17:02
sick_rimmitThat's what I would expect17:03
sick_rimmitLooks like the projects won't build because of missing shared.h file, which is being reference form main.cpp via a #include ../../shared/shared.h17:04
sick_rimmitSo a copied project will always fail :-(17:04
sick_rimmitProjects residing in /usr/lib won't build without rwx permission, which a standard user doesn't have17:05
sick_rimmithmmm17:05
sick_rimmitgoing to try to find the shared header files and copy across..17:06
popeyi dont understand what you're doing17:13
popeywhy are you building something in /usr/lib?17:13
sick_rimmitI'm not building in /usr/lib17:23
sick_rimmitI am trying to build a QML example, say Clocks, Maroon, or SameGame17:23
sick_rimmitIt offers to copy the project to my home dir17:24
sick_rimmitWhich is great17:24
sick_rimmitBut when I try to run it17:24
sick_rimmitIt fails with a missing shared.h header file. which it is looking for at ../../shared/shared.h path17:24
sick_rimmitNow I think that is in the schroot build dir17:25
sick_rimmita find does indeed find that file there..17:25
sick_rimmitI did get the photosurface example to build and run17:26
sick_rimmitSo maybe it's just that the examples are broken17:26
sick_rimmitAnyway.. I've got tired of fighting with it for now, I'll come back to it another day17:27
sick_rimmitThanks for helping me popey I appreciate it17:28
popeyhmm17:28
popeysorry.17:28
popeyask during the week when sdk people are about17:28
sick_rimmitReally don't worry, I'll mash around with it some more another day, and like everything else at some point I'll get it working17:29
sick_rimmit:-)17:29
ahoneybunhey all I'm trying to put a xmllistmodel into a dialog19:10
ahoneybunbut the xmlModel is in a different qml file19:10
ahoneybunhttp://imgur.com/ED4bk4x19:12
ahoneybunalso dead link http://www.mysite.com/feed.xml19:18
SturmFlutNew post: http://sturmflut.github.io/ubuntu/touch/2015/05/30/my-favourite-ubuntu-touch-apps-may-2015/20:39
SturmFlutIf you want to be on next months list, I am open for "donations" ;)20:40
SturmFlutOh wow: https://plus.google.com/101402903185277489519/posts/Sr37GBA8ZcR can anybody confirm?20:43
=== aaron is now known as Guest5003

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