/srv/irclogs.ubuntu.com/2015/01/07/#ubuntu-app-devel.txt

benoitchi all00:23
AkivaAvrahambenoitc, o/00:23
benoitci made a mistake in the developer namespace00:23
benoitcis there a way to change it ?00:23
AkivaAvrahambenoitc, developer namespace?00:24
benoitcin the click app store00:24
AkivaAvrahambenoitc, you mean in the manifest.json?00:24
AkivaAvrahamoh no experience with that. sorry :[00:25
benoitci mean in https://myapps.developer.ubuntu.com/dev/account/00:25
benoitcnp :)00:25
=== aaron_ is now known as ahoneybun
AkivaAvrahamcom.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory00:47
AkivaAvrahamI'm getting this from my emulator00:47
AkivaAvrahamand my code doesnt seem to want to execute00:48
AkivaAvrahamDoes app armor allow QProcess to run commands? My touch application won't work on the emulator :/00:52
=== aaron_ is now known as ahoneybun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
dholbachgood morning08:31
=== rmescandon is now known as rmescandon|afk
=== chihchun is now known as chihchun_afk
=== rmescandon|afk is now known as rmescandon
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
JamesTaitGood morning all; happy Old Rock Day! :-)09:46
=== rmescandon is now known as rmescandon|brb
=== rmescandon|brb is now known as rmescandon
dholbachhey balloons, looks like you forgot to hit "Publish page/changes" a couple of times :-)11:33
=== _salem is now known as salem_
t1mpclock-app shows "Location Service Error!" for me. Any ideas how I can figure out what's wrong?12:21
popeyt1mp: did you accept the here tickbox thing during the welcome wizard?12:24
jgdxbenoitc, after you publish an app, no, I don't think you can change it.12:25
jgdxas a security measure IIRC. beuno^12:26
mivoligomzanetti: ping12:53
mzanettimivoligo: hey ho12:53
mzanettinice snowman :P12:54
mivoligomzanetti: :D12:54
mivoligomzanetti: something seams to be wrong with city levels, it looks like https://code.launchpad.net/~mpredotka/machines-vs-machines/fix-issues-city-levels wasn't merged properly12:55
mivoligomzanetti: I was playing a little today and noticed the city backgrounds were "old"12:56
mzanettimivoligo: hmm... seems to be merged fine12:59
mzanettiwhat's "old"?12:59
mivoligomzanetti: the background are not updated to the proper version13:00
mivoligomzanetti: also the sound for the hammer is somehow broken. It sounds like endless tatatatatatatatatata where enemies are around13:06
mzanettimivoligo: yeah, most sounds are still broken13:07
mivoligomzanetti: ah, ok13:08
mzanettimivoligo: it's on my todo.13:08
mzanettiwant to finish those levels first13:08
mzanettithat soooooo much work :D13:08
mivoligomzanetti: I believe so :)13:08
mzanettibut I'm at level 25 now :) only the underwater world left13:08
mzanettimivoligo: well, for the city levels, not sure... launchpad says it's merged13:09
mzanettiand from what I can see it is updated13:09
mzanettibefore the issues were much worse, now it's ok I'd say. some could use a little "move-the-path-upwards" still13:10
mivoligomzanetti: I know but for example on level 23, when you put a tower next to the heart it looks like it's enough space for one more tower below13:11
mzanettimivoligo: yep, but I think you simply didn't fix that (yet) :)13:11
mzanettimivoligo: there's some more with that issue13:11
mivoligomzanetti: :D13:11
mivoligoI'm sure I did13:11
mivoligomzanetti: maybe I did mess up with the branch though13:12
mzanettiI know when I merged that branch I checked them out and thought: Ok, it's better, still a bit odd at times13:12
mzanettimaybe you didn't commit all your local changes?13:12
mivoligohmm, might be that13:13
mivoligoI don't have that branch anymore localy13:13
mzanettimivoligo: looking at the diff, it only has changes for level 16 - 2013:13
mzanettithat branch doesn't touch level 23 at all13:14
mivoligomzanetti: I think it was before we decided to have 6 levels of one theme13:14
mzanettiah, right13:14
mivoligomzanetti: ok, I pulled that branch and checked. It's my fault. Images are in the old version :D13:17
mivoligomzanetti: as you said I probably didn't commit changes13:18
mzanetti:/13:19
mzanettimivoligo: hopefully you still have them around13:19
mzanettiwas it a lot of work?13:20
mivoligomzanetti: yes, I have them13:20
mzanettiok, great :)13:20
mivoligoI'll push it later on13:20
mivoligomzanetti: I don't know though, how you could think it was better than before :D13:21
mzanettihaha13:21
mzanettiI think I checked out the first two city levels and the island seems to have moved a little13:21
mzanettitbh I did think "Meh... there's still room for improvement" but I didn't want to complain13:22
mivoligomzanetti: please do complain13:22
mzanetti:)13:22
mivoligomzanetti: I think there are more problems when people are kind than honest13:23
mivoligomzanetti: ok, I'm off, I'll try to push the fix for it tonight. Can't wait to play the finished version!13:28
mzanettihehe, same here13:29
mzanettisee you13:29
=== rmescandon is now known as rmescandon|lunch
dholbachdavidcalle, I just ran linkchecker again and it looks like there's a lot of 404 links to "Guides (redirect)"13:57
davidcalledholbach, arg, I honestly don't know what's wrong with this page :/13:59
dholbach<li class="">14:00
dholbach<a href="ubuntu-webapps-guide" class="">Guides (redirect)</a>14:00
dholbach</li>14:00
dholbachnot sure where that comes from14:00
dholbachdavidcalle, I'll change the entry in the menu column from yes to no14:02
dholbachdavidcalle, and maybe the link should be something other than "ubuntu-webapps-guide"14:02
davidcalledholbach, hmm, I have an issue with my cache, I'm sure I fixed both ^ yesterday, I see a lot of menu items that shouldn't be there anymore and I'm constantly logged out.14:05
dholbachmhall119, ^ do you know?14:06
dholbachdavidcalle, I get logged out too every now and then14:06
dholbachdavidcalle, grrr, I had thought I had fixed it now, but the link showed up again14:07
dholbachhum14:07
davidcalledholbach, I know, It's bugging me since yesterday, every now and then I go back to it and try14:08
dholbachmhall119, do we still have a copy of the /showdown page somewhere?14:21
dholbachhttps://web.archive.org/web/20140824034446/http://developer.ubuntu.com/showdown/ unfortunately is only up to 2014-08-2414:21
mardymzanetti: hi! I want to build the click of reminders-app, but QtCreator complains about the build dir, which is not present in the chroot; I think I followed all of the steps in README.md... What am I missing?14:30
mardymzanetti: it's the first time I cross-build something with qtcreator, so I might be missing some packages, or some steps that you took for granted14:30
mhall119dholbach: I don't think so, was it not in the list of pages to get copied over?14:31
dholbachmhall119, no, doesn't look like it14:31
mhall119dholbach: hmm, I may have something in an export...14:33
* dholbach crosses fingers14:33
=== rmescandon|lunch is now known as rmescandon
mhall119dholbach: no luck, all of my exports are from 201314:40
dholbachnow's probably good time to delete them ;-)14:41
mhall119the ones from 2012 too :)14:41
mhall119I wonder if the old DB is still around14:42
mzanettimardy: hey14:49
mzanettimardy: so, delete the CMakeLists.txt.user (if any)  and open the main CMakeLists.txt in qtcreator14:50
mzanettimardy: it will ask you for what kits you want to build14:50
mzanettiin there you'll have "Desktop" and you should have something like "ubuntu sdk 15.04"14:50
mzanettiso far alright?14:50
mardymzanetti: I have 14.10, is that good enough?14:51
mzanettiyes14:51
mzanettimardy: select that14:51
mardymzanetti: yep,selected14:52
mzanettithen, if you just run it, does it give you a error?14:52
mardymzanetti: yes, let me paste it14:52
dholbachmhall119, hum... so what do you suggest we do about the /showdown pages?14:54
mardymzanetti: http://paste.ubuntu.com/968798214:55
mzanettimardy: hmm... haven't seen this before... let me try14:55
mhall119dholbach: if it's just /showdown/ we can put something up with temporary content for now14:55
dholbachmhall119, in the past there was /showdown/apps14:56
mardymzanetti: what do you have in your "Build directory" field?14:56
dholbachmhall119, and there was /showdown/rules as well14:56
mhall119right...14:56
dholbachmhall119, for now I could just take the last blog entry, put it on /showdown with a few modifications14:56
mhall119/showdown/apps we can do away with14:56
dholbachand make the other redirects to /showdown14:56
mhall119that'll work for now14:57
mhall119I'm checking one last place I might have a copy14:57
dholbachok cool14:57
mzanettimardy: /home/mzanetti/Develop/build-reminders-app-UbuntuSDK_for_armhf_GCC_ubuntu_sdk_14_10_utopic-Default14:57
mzanettithe default, generated by QtC14:58
mhall119darn, Feb 2014 is the newest...14:58
dholbachok, I'll take a look at it14:58
dholbachthanks14:58
mzanettimardy: interesting is the first line of your paste14:59
mzanettimardy: here it says: 15:58:44: Running steps for project com.ubuntu.reminders...14:59
mzanettiinstead of 15:58:44: Running steps for trunk...14:59
mzanettizbenjamin: do you know what's going on with mardy's QtC?14:59
mzanettihttp://paste.ubuntu.com/968798214:59
zbenjaminyes15:00
zbenjaminthe click chroots do only support projects in ~15:00
mzanettiheh15:00
mzanettiaha!15:00
zbenjaminits not QtC its click15:00
zbenjaminwell maybe you can configure them to mount /media15:00
zbenjaminthen it would work as well15:00
mzanettithat's helpful. thanks zbenjamin. I didn't know that15:00
zbenjaminnp15:01
mardyzbenjamin: ah, thanks, I'll copy the project somewhere else then15:01
mardymzanetti: now it fails with this: /bin/sh: 1: INTLTOOL_MERGE-NOTFOUND: not found15:08
mardymzanetti: but I just installed intltool into the chroot, or at least I think so...15:09
mzanettimardy: that should work then...15:10
mzanettimardy: open qtcreator's tools -> options15:11
mzanettigo to ubuntu, select the chroot, click maintainance15:11
mzanettiinstall it in there15:11
mardymzanetti: yep, I did so, but still it didn't pick it up; but now it's OK, after wiping out the build dir completely15:12
=== chihchun is now known as chihchun_afk
mzanettimardy: Build -> Run cmake15:13
mzanettithat should help too15:13
=== dholbach_ is now known as dholbach
JoannisOHey! I'm trying to develop a QT app so I selected in the SDK the template "App with QML Extension Library" since that seemed most fit. Instead of a project I see "CMakeLists.txt" as a project with a project-folder icon. I can't edit my project files from the editor now.16:21
bzoltanJoannisO:  cmake project is a valid project type ... do you prefer qmake projects?16:22
JoannisOIt's not that I don't want a cmake project. I can't edit the files from the editor unless I open the filesystem tab. But when I try to compile it it says "No targets specified and no makefile found. Stop."16:23
bzoltanJoannisO:  if yes, then there is a solution for you. You will need to set up the SDK PPA (that you might have done already) and create a 15.04 click chroot16:23
JoannisOI think the editor misunderstands the CMakeLists.txt as project file.16:24
bzoltanJoannisO: OK, that is a known problem. Go to the Tools->Options... -> Ubuntu tab16:24
JoannisOI'm there.16:24
bzoltanJoannisO: Hit the Maintain button of the click chroot you want to use16:25
JoannisOOkay.16:25
JoannisODo I "apt-get update; apt-get dist-upgrade"?16:26
bzoltanJoannisO:  an dinstall the intltool package16:27
bzoltanJoannisO:  but the "general messages" window in the QtCreator tells you why the cmake failed16:28
JoannisOI can't find the general messages but it works now. Thanks a lot!16:29
bzoltanJoannisO:  no probs :)16:29
=== chihchun_afk is now known as chihchun
renatupopey, hi, could you help me to find somebody to review this: https://code.launchpad.net/~renatofilho/quick-memo/fix-item-focus/+merge/24576118:29
ahayzent1mp, ping19:01
AkivaAvrahamCan you use qprocess in qml apps, or will it always be blocked by apparmor?19:13
popeyrenatu: stefano is the only guy working on that app - it's his own.19:48
renatupopey, what is his nick?19:49
popeyrenatu: sverzegnassi19:49
renatupopey, thanks19:50
popeynp19:50
renatusverzegnassi, could you take a look on this mr: https://code.launchpad.net/~renatofilho/quick-memo/fix-item-focus/+merge/24576119:50
taiebotHi all. I am looking for a charitable man. I am struggling with this bug https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1323837. I had to live with a non working phone for the holiday period due to this bug (2 weeks with no network :-(). But i have found an app designed for meego which could solve my problem. I would love if someone could port it to UT. It is written in qml so hopefully not to difficult to por20:08
ubot5Launchpad bug 1323837 in unity8 (Ubuntu) "Sim toolkit is not available on UT" [Wishlist,Triaged]20:08
AkivaAvrahamtaiebot, I'm charitable, but I don't own a phone ~20:08
taiebotThe app can be found here. https://gitorious.org/meego-ux/meego-app-satk/source/6296ebb569697c5a80ee6b518ccf8c331d7cb840:doc/sim_toolkit_design_draft.txt#L120:09
AkivaAvrahamDS-McGuire, o/20:10
DS-McGuireAkivaAvraham, o/20:10
AkivaAvrahambrb in 40 minutes.20:10
DS-McGuireok :)20:11
taiebotAkivaAvraham i suppose a phone is needed to do this20:12
AkivaAvrahamtaiebot, indeed - good luck with your quest.20:13
t1mpahayzen: hi20:16
ahayzent1mp, i see that bug 1341814 is possibly fixed :) ... however i assume it is only on vivid? ... so is there a workaround we can use now we know what the issue was?20:17
ubot5bug 1341814 in ubuntu-ui-toolkit (Ubuntu) "Using search in the header can sometimes have a text field from a different tab" [High,Fix committed] https://launchpad.net/bugs/134181420:17
t1mpahayzen: yes, gcollura fixed it :)20:18
ahayzent1mp, :) ... i'm trying at the moment to copy what the patch is but from the actual app20:19
gcolluraahayzen, I'm coming to rescue you :) give me a sec20:19
t1mphmm seems that the branch with the fix is not linked to the bug?20:19
ahayzengcollura, thanks :)20:20
ahayzen..oh yeah the one i'm looking at has been superseded20:20
gcolluraahayzen, https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1400297/comments/420:20
ubot5Launchpad bug 1400297 in ubuntu-ui-toolkit (Ubuntu) "PageHeadState doens't correctly update head.contents" [Undecided,Fix committed]20:20
ahayzengcollura, awesome thanks i'll try it :D20:21
gcollurat1mp, for a unknown reason the bug didn't get linked when I re-requested the MP with the new branch20:21
t1mpok the branch is linked to the bugs now20:21
ahayzent1mp, thanks20:22
gcolluraahayzen, you will see some warning though, related to 'cannot anchors to something which is not parent/sibling', don't worry everything works anyway20:22
ahayzengcollura, just because i'm interested why did it get changed to a QtObject {} ?20:22
t1mpgcollura: great, thanks for the comment20:23
gcolluraahayzen, to make it not accessible from the outside20:23
ahayzengcollura, cool that makes sense :)20:23
gcolluraaka 'private member'20:23
gcollurat1mp, yw20:23
ahayzenyeah20:23
t1mpahayzen: because https://code.launchpad.net/~gcollura/ubuntu-ui-toolkit/fix-1341814-and-1400297/+merge/245552/comments/60624720:24
ahayzent1mp, thanks20:25
gcolluraahayzen, if you see some weird errors/bugs ping me please :)20:25
ahayzengcollura, awesome it seems to be working :) ... bring on searching/filtering in the music-app :D20:26
gcolluraahayzen, :D great!20:26
gcolluraahayzen, do you get a warning like QML TextField: Cannot anchor to an item that isn't a parent or sibling. in the app output?21:00
ahayzengcollura, no ...21:00
ahayzengcollura, it seems to be working ok so far (i'm sure my reviewers will find something though lol)21:01
ahayzengcollura, i have a mp here if your interested https://code.launchpad.net/~andrew-hayzen/music-app/add-sdk-search-support-002/+merge/24578721:02
gcolluraahayzen, ok good, I get this warning only while using my workaround with ubuntu-sdk-14.10 weird21:02
gcollurawith staging branch everything is fine21:03
ahayzengcollura, :) i'm on utopic desktop... at which point do you get it?21:03
ahayzenand rtm device21:03
gcolluraahayzen, when the head.contents get changed by a State21:05
ahayzengcollura, hmm at the moment we either have a page with searching and no other actions... or a page with actions and no searching :)21:05
ahayzengcollura, so maybe thats wht i don't see it...but we may have both soon21:06
gcolluraahayzen, if you run my sample code attached to the bug report you can see what I am talking about21:06
ahayzengcollura, oh yeah weird i don't see that21:07
gcolluraahayzen, this is an issue of my workaround + trusty toolkit, this doesn't occur on the staging branch21:08
gcolluranothing to worry about :)21:08
ahayzengcollura, but i get it with your code but not with mine21:09
ahayzengcollura, if i remove the ... contents: Label { text: searchPage.title } ... then it is fine21:11
ahayzen...and i don't think you need it anyway?21:11
gcolluraahayzen, I used a Label there as a placeholder21:12
gcolluraI could have used a more complex component, like the header we use in telegram21:12
ahayzenah yes that is more complex21:13
t1mpin PageHeadStyle there is a binding that binds contents.anchors.fill to its parent (contentsContainer), maybe that is related to the error21:20
t1mpbut that binding should only be active while your Label is the Page.head.contents21:21
t1mphmm..21:21
t1mpmaybe its value is not being unset when it is no longer the contents of the header.21:21
t1mpgcollura: you are not using the deprecated tools property or Page.__customHeaderContents (also deprecated) right?21:27
=== salem_ is now known as _salem
gcollurano t1mp21:39
t1mpokay. I don't know then why you get those warnings21:53
ahayzent1mp, is there a known bug for where the search bar doesn't fill the width of the header after navigating to a page with 3+ actions and then back to one that only has 1 ?22:21
AkivaAvrahamahayzen, hey do you know if you can run qprocess in qml apps?22:22
AkivaAvrahamahayzen, rather, on the touch?22:22
AkivaAvrahamerm let me be more clear,22:22
ahayzenAkivaAvraham, QProcess ?22:22
AkivaAvrahamwill app armor allow you to run qprocess?22:23
AkivaAvrahamahayzen, yah, the qt library for executing system commands.22:23
ahayzenAkivaAvraham, idk try it or ask jdstrand22:23
AkivaAvrahamI tried it, i'm getting an apparmor log denying the attempt to "exec" the process.22:24
AkivaAvrahamjdstrand, any idea whether I can get this app to work? Its just executing youtube-dl22:25
t1mpahayzen: no, there is no bug report for that22:25
ahayzent1mp, ok cool i'll make a mini app and report a bug :)22:25
t1mpahayzen: thanks!22:26
t1mpahayzen: please include the code of the mini app in the report22:26
ahayzent1mp, will do :)22:26
ahayzent1mp, bug 140848122:35
ubot5bug 1408481 in ubuntu-ui-toolkit (Ubuntu) "Header contents not full width after navigating to a page with more actions" [Undecided,New] https://launchpad.net/bugs/140848122:35
ahayzent1mp, your probably gonna tell me my code is wrong ;)22:36
t1mpahayzen: yes, don't use tools ;)22:39
ahayzent1mp, tools ...22:39
t1mpI mean this         tools: WorldTabTools {22:40
t1mp            objectName: "worldTab_tools"22:40
t1mp        }22:40
ahayzent1mp, oh you mean tools: WorldTabTools { ? that is from the qtc template arg i'll remove it22:40
t1mpohh..22:40
ahayzent1mp, i'll push a new one up, and it still occurs without it22:40
t1mpzbenjamin: ^ remove the tools from the qtc template please :)22:41
ahayzent1mp, but yeah that doesn't affect it, the issue is still there22:41
zbenjamint1mp: we accept patches you know ;)22:42
t1mpzbenjamin: what's the project for the templates? to report a bug22:42
t1mpahayzen: okay. That's what I guessed. I will check out the bug tomorrow22:42
zbenjamint1mp: the project is called "bugs_for_timp"22:42
ahayzent1mp, cool thanks22:42
t1mpzbenjamin: no, that's a secret project with only supercool new stuff22:44
zbenjamin;)22:44
* t1mp going offline now. cu tomorrow.22:46
ahayzenballoons, ping22:59
=== marcoceppi_ is now known as marcoceppi

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