/srv/irclogs.ubuntu.com/2015/03/23/#ubuntu-app-devel.txt

ahoneybunoh00:02
ahoneybunahayzen_: I put them on different tabs00:02
ahayzen_ahoneybun, awesome :) you should be able to make that component generic as well00:03
ahayzen_...if it is exactly the same on both tabs00:04
ahoneybunahayzen_: my friend was saying that the app I am coping from iOS has a button that switch the buttons to edit the other textfield00:06
ahayzen_you could do that00:07
ahoneybunoh?00:07
ahoneybunthat would be ideal00:08
ahayzen_just have a property TextField focusedField ... then set it to the one that the buttons are focussing on ... like you mean that both text fields are visible? you have a button to flip which the buttons write to?00:08
ahoneybunyea00:09
ahayzen_yeah do that ^^00:09
ahoneybunlet me grab a screeni00:09
ahayzen_then have a button at the bottom to flip that has... onClicked: focussedField = focussedField == fieldA ? fieldB : fieldA00:09
ahayzen_then change when you click the number buttons to reference focussedField.text00:10
ahoneybunahayzen_: too much at once lol00:10
ahayzen_hah00:11
ahoneybunnot even to the property yet00:11
ahayzen_lol00:11
ahayzen_so like put the property somewhere where the buttons can access it...so like in the Column {}00:12
ahoneybunhttps://plus.google.com/+AaronHoneycutt/posts/jA63bs8DkCp?pid=6129216980386487874&oid=11052535857154179984800:12
ahayzen_so what changes the focus of the buttons?00:13
ahoneybunthere is a button above the numbers00:13
ahoneybuneach number00:14
ahayzen_ok i think what i said will work00:14
ahoneybunso a property00:17
ahayzen_so basically have a property storing the currently focussed textfield00:17
ahoneybun2 buttons will switch the numbers button to effect each textfield00:17
ahoneybunyea00:18
ahayzen_then you have a button(s) that flip that value00:18
ahoneybunproperty TextField focusedField00:18
ahoneybun?00:18
ahayzen_yup00:18
ahoneybunI would like a example if you could00:18
ahayzen_and maybe set it to the left one to start with00:18
ahoneybunI learn like that00:18
ahayzen_erm gimme like 15min+ i gotta collect washing :) \o/00:18
ahoneybun        property TextField focusedField = score1.text?00:19
* ahayzen_ learns by example as well ;)00:19
ahayzen_property TextField focusedField = score1 ... was what i was thinking00:19
ahoneybunhttp://pastebin.ubuntu.com/10656622/00:19
ahoneybunk00:19
ahayzen_outside of anchors {} ;)00:20
ahayzen_i'll build something in a bit ;)00:20
ahayzen_brb00:20
ahoneybunk00:21
=== chriadam|away is now known as chriadam
ahayzen_ahoneybun, something like this ? http://pastebin.ubuntu.com/10656754/00:42
ahayzen_or like you could use states if you started having more things depend on the currently focused field00:43
ahoneybunwhats the add 1?01:25
ahoneybunoh01:25
ahayzen_a label lol01:26
ahayzen_ahoneybun, is that the sortof thing you were looking for?01:27
=== daz is now known as Guest74681
ahoneybunlet me try01:27
ahoneybunfrom this example the buttons should not have ids01:29
=== Guest74681 is now known as dazza5000
ahoneybunahayzen_: TypeError: Cannot read property 'text' of undefined01:30
ahayzen_ahoneybun, is that in mine or your code lol ?01:30
ahoneybunmine01:30
ahoneybunI replaced mine with ideas from yours01:31
ahayzen_ahoneybun, you probably haven't set an initial value for the focused field?01:31
ahoneybunahayzen_: http://pastebin.ubuntu.com/10656994/01:31
ahayzen_ahoneybun, ah parent.focused won't work01:31
ahoneybunyea01:32
ahayzen_it would either be parent.parent.focused.text or put an id on the column and do ... columnId.focused.text01:32
ahayzen_..or it might by inscope anyway so you can do focused.text01:32
ahayzen_one of them will work ;)01:32
ahoneybunok parent.parent works01:33
ahoneybunnow the button01:33
ahoneybunahayzen_: it works!01:34
ahayzen_\o/01:34
ahoneybunbrb bathroom and sode01:34
ahoneybun*soda01:34
* ahayzen_ is likely to go to sleep01:34
ahoneybunback01:37
ahoneybunnow to add a + and - buttons01:37
ahayzen_\o/01:39
ahoneybuncan I have the 1 2 3 and so on buttons switch from adding to sub?01:40
ahayzen_adding to sub?01:41
ahoneybun+ to -01:41
ahoneybunturn it from adding 1 to taking 1 away01:41
ahayzen_well it is appending it to a string01:42
ahayzen_but like you could take the substring of it01:42
ahoneybunoh?01:42
ahayzen_depends if you actually want them to act like push/popping from a string ... or like adding/subtracting from an integer?01:42
ahoneybun2nd one01:43
ahayzen_you'll need todo parseInt each time you want to manipulate the value then ... or have another property that stores the actual value as an int and then the textfield just 'views' that01:44
ahoneybunway above me01:46
ahayzen_hah01:46
ahoneybunparseint?01:48
ahayzen_yeah https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt?redirectlocale=en-US&redirectslug=JavaScript%2FReference%2FGlobal_Objects%2FparseInt01:48
ahayzen_and then toString() but that could get messy01:48
ahoneybunoh01:48
ahayzen_it may be best to have a property inside the textfield with the actual value ... or to use a control that allows you to use ints rather than strings01:49
ahoneybunhow would the property go?01:49
ahayzen_property int actualValue: 001:49
ahayzen_then do text: actualValue.toString()01:49
ahayzen_..i think...01:49
ahayzen_then you would be able to do parent.parent.focused.actualValue += 1 ... or -= 101:50
ahoneybunwould the property be below the other one?01:50
ahayzen_would need one inside each TextField01:50
ahayzen_but then the type of the other property may need to change to var rather than TextField as well lol01:50
ahoneybunoh boy/01:51
ahayzen_lol01:51
ahoneybunproperty inside the textfield {} ?01:51
ahayzen_yup01:51
ahoneybun{ property}01:52
ahayzen_hm?01:52
ahayzen_like TextField { property int actualValue: 0 }01:52
ahayzen_and then text: actualValue.toString() as well01:53
ahoneybunk01:53
ahoneybunfor the buttons?01:53
ahoneybuntextfield?01:53
ahayzen_the buttons need to have their parent.parent.focused.text changed to parent.parent.focused.actualValue01:54
ahoneybunok01:56
ahoneybunhow do I switch the buttons from + to - ?02:00
ahayzen_heh02:00
ahayzen_have another var ... which you set to 1 or -1 ... then do ... actualValue += 8 * myVar ... so it would do += 8 * 1  .... or += 8 * -102:01
ahayzen_(for the button for 8 ;) )02:02
ahoneybunahayzen_: var?02:02
ahayzen_property02:02
ahoneybunproperty var02:02
ahayzen_property int02:02
ahayzen_or var would work as that can be anything02:02
ahoneybunsome many "..." lol02:03
ahoneybunit makes it hard to read02:03
ahayzen_http://doc.qt.io/qt-5/qtqml-typesystem-basictypes.html02:03
ahayzen_haha02:03
ahoneybunplus I'm back at C++ or code in gerenel02:03
ahoneybunahayzen_: can you write what the 8 button property would look like?02:04
ahayzen_ok you wan't another property at the column level. which you then set to 1 (for addition) or -1 (for subtraction)02:04
ahayzen_then your onClicked for the button, say 8, would change to be parent.parent.focused.actualValue += 8 * myProperty02:05
ahayzen_you may also want to look at the repeater ;) http://doc.qt.io/qt-5/qml-qtquick-repeater.html02:05
ahoneybunproperty var myProperty: 1 or -1?02:06
ahayzen_you would change its value from another set of buttons ;)02:07
ahoneybun?02:07
ahayzen_so have a button to do addition/minus mode?02:08
ahoneybunI have a button to switch modes02:08
ahayzen_yeah which then switches the property to be either 1 or -102:09
ahoneybunhttp://pastebin.ubuntu.com/10657197/02:09
ahoneybunI'm working on the 1 button02:09
ahayzen_yeah like that will by subtracting at the moment?02:10
ahayzen_so make another button which changes myProperty = 1 then it'll be adding :)02:10
ahoneybunoh ok02:11
ahayzen_ahoneybun, anyway mate i've gotta go to sleep now ;) have fun :)02:11
ahoneybunthanks ahayzen_ alot02:11
ahayzen_no problem :)02:11
ahoneybunhave some good sleep02:11
ahayzen_thanks night o/02:11
AskUbuntuerror in uploading click package to ubuntu app store | http://askubuntu.com/q/60010702:46
mhall119ahoneybun: I am now, if you still need help03:56
ahoneybunmhall119: ahayzen has been helping a lot with *our* new app03:58
ahoneybuna scoreboard03:58
mhall119nice, I figured when I saw ahayzen talking to you that you didn't need me anymore :)03:58
ahoneybunmhall119: I sent a email to the membership board03:59
mhall119\o/03:59
ahoneybunalways need you mhall119 :)03:59
mhall119:)04:00
ahoneybunmhall119: http://imgur.com/dxXQE8x04:00
ahoneybunmy app also has 290 users now!04:02
mhall119the beginners app?04:03
ahoneybunyep04:03
mhall119awesome04:03
ahoneybunyea04:03
ahoneybunit was 240 on friday04:04
ahoneybunthen 271 on sat04:04
ahoneybunnow 29004:04
ahoneybunis there a official facebook page04:04
ahoneybun?04:04
mhall119for what?04:05
ahoneybunUbuntu04:05
ahoneybunin general04:05
mhall119https://www.facebook.com/ubuntulinux04:05
* ahoneybun needs to make a icon for gazeteer04:06
ahoneybunthats community managed04:06
mhall119https://www.facebook.com/ubuntuappdev for appdev04:06
mhall119that's our official page04:06
ahoneybunok04:06
ahoneybunI did not want to put a non offical page in my app04:06
ahoneybunin case someone put some bad stuff on there and hurt the image of ubuntu04:07
ahoneybunmhall119: I think like 5 or 6 people would vote for more including you for the Board04:14
* mhall119 is already on a Council04:17
akiva-thinkpadwhats up everyone.04:19
akiva-thinkpadbzoltan_, or zbenjamin -- ping04:19
ahoneybunhey akiva-thinkpad04:25
akiva-thinkpadahoneybun, o/ whats new?04:25
ahoneybunakiva-thinkpad: almost 300 users04:25
akiva-thinkpadlol triple :)04:25
akiva-thinkpadnice stuff04:25
ahoneybunyea04:26
ahoneybunmaking a new app with ahayzen's help04:26
ahoneybunmhall119:04:30
ahoneybunlint_maintainer_domain04:30
ahoneybun        email=aaronhoneycutt@ubuntu.com matches special domain=com.ubuntu.aaronhoneycutt.gazeteer04:30
ahoneybun?04:30
=== ahoneycutt is now known as ahoneybun
akiva-thinkpadahoneybun, new app?04:55
ahoneybunyea04:57
ahoneybuna score keeper04:57
akiva-thinkpadahoneybun, for golf?04:59
ahoneybunanything really05:01
ahoneybunit was for a card game05:01
akiva-thinkpad:)05:01
ahoneybunbut could be used for a lot of things05:01
ahoneybunakiva-thinkpad: I think it is pretty cool05:02
ahoneybunI could not find anything like it on the store currently05:02
akiva-thinkpadahoneybun, if you have a use for it, then this is reason enough to have it.05:03
ahoneybunyea05:03
ahoneybunI just need to get the icon made up05:04
ahoneybunakiva-thinkpad: still around?05:13
akiva-thinkpadahoneybun, yah05:13
ahoneybunakiva-thinkpad: I'm getting a warning from the SDK05:14
akiva-thinkpad?05:14
ahoneybunlet me get it in a pastebin05:15
ahoneybunemail=aaronhoneycutt@ubuntu.com matches special domain=com.ubuntu.ahoneybun.gazeteer05:15
akiva-thinkpadsounds like something in a json file05:19
ahoneybuncom.ubuntu.ahoneybun.gazeteer05:21
ahoneybunAaron Honeycutt <aaronhoneycutt@ubuntu.com>05:21
ahoneybunname and maintainer05:21
ahoneybunThe uploaded package name (com.ubuntu.aaronhoneycutt.gazeteer) does not use your namespace (aaronhoneycutt)05:29
akiva-thinkpadhmmmm05:38
akiva-thinkpaddon't know;05:38
ahoneybunI can't upload it till I fix it so..05:43
ahoneybunI'll wait till more people are online05:44
ahoneybunthanks akiva-thinkpad05:44
=== chihchun_afk is now known as chihchun
davidcalleMorning all o/07:46
seb128lut davidcalle07:47
davidcalleHey seb128 :)07:47
mrqtrospopey hello! If you will have some free time, please, test it: https://code.launchpad.net/~mrqtros/ubuntu-rssreader-app/ubuntu-rssreader-app-startup-time/+merge/25376908:28
popeymrqtros: saw that over the weekend, will take a look, sure08:29
dholbachgood morning08:33
seb128hey dholbach08:34
mrqtrosHi, dholbach08:35
dholbachhi seb12808:37
dholbachhi mrqtros08:37
mrqtrospopey thanks!) Joey will review too, I hope this will be enough) If you will like it, we can update version in the store. I think that it's time to up minor version ;) After transition to C++ we can up major version to 1.008:37
=== dholbach_ is now known as dholbach
akiva-thinkpad!ping09:38
ubot5pong!09:38
bzoltan_akiva-thinkpad: hello, what's up10:08
akiva-thinkpadbzoltan_, on the autopilot plugin; I could not find the widget in the run config to insert my widget into. Its not in the object pool, or a child of anything. I was wondering if I could make it my own mode instead; that would be easier I think.10:09
akiva-thinkpaddoes that make sense?10:10
akiva-thinkpadgive it its own mode*10:11
akiva-thinkpadI don't know why I said "my"10:11
akiva-thinkpadI made a thread about it in qt center; I didn't get an answer http://www.qtcentre.org/threads/61656-Cant-find-object-for-quot-Mode-Projects-gt-Project-gt-Build-amp-Run-gt-Kit-gt-Run-quot-to-add-widget10:12
akiva-thinkpadMy understanding is that if I wanted to add a configuration widget into the run config of a project, I would need to find the widget to insert my widget into from the object pool.10:13
bzoltan_akiva-thinkpad:  upstream does not want to overload the fancytabbar with new modes. That is only a simple point...maybe not even th emost relevant.10:22
akiva-thinkpadbzoltan_, does my problem make sense though?10:22
akiva-thinkpadbzoltan_, the only other way I can figure this, other than coupling it with a different mode,10:23
bzoltan_akiva-thinkpad:  I do not think that the widget what you need is exposed... so I doubt that you can add a new widget there10:23
akiva-thinkpadbzoltan_, so I would need to push to qtcreator, an addToObjectPool() right?10:23
bzoltan_akiva-thinkpad:  I am out of office today... and zbenjamin is off too, so it is hard to figure out much :)10:23
=== chriadam is now known as chriadam|away
akiva-thinkpadbzoltan_, thats fine. I just want to tie up this loose end. Do you think i should see if qtcreator would allow me to push a patch that would expose that widget?10:25
akiva-thinkpador should I ask you later when you are in the office?10:25
bzoltan_akiva-thinkpad: Not a bad idea to check with the upstream10:26
akiva-thinkpadbzoltan_, okay i'll try that then. enjoy your day off10:26
bzoltan_akiva-thinkpad:  thanks :)10:26
dholbachdpm, I look forward to rtm moving to vivid at some stage, so we can drop the hack for bug 1434415 :)11:12
ubot5bug 1434415 in Ubuntu Help App "Build fails on utopic" [High,In progress] https://launchpad.net/bugs/143441511:12
dholbachit'll require all of us hackers to move to vivid too (it's partly not on my radar because I moved to vivid a while ago :))11:13
akiva-thinkpaddholbach, huh... I just realized there is no animal background for vivid11:28
akiva-thinkpadanimal wallpaper*11:28
dholbachakiva-thinkpad, you don't want me to fix that11:29
akiva-thinkpaddholbach, lol11:29
dholbachit'd probably look a lot like http://www.goparoo.com/kids/drawings/anna-africa-monkey.gif11:29
dakerping nik90 (dekko on lxc question)12:11
=== _salem is now known as salem_
=== salem_ is now known as _salem
nik90daker: pong12:41
dakernik90: do you know how can i run dekko on lxc ?12:42
dakerdekko doesn't run on 14.0412:42
nik90daker: Have you got the ubuntu-sdk libs installed on lxc? Or do you need help with that as well?12:42
dakeryes12:42
dakerfrom A-Z12:42
nik90daker: http://nik90.com/fiddling-around-with-lxc-containers/12:43
nik90daker: ^^ should help with getting lxc up and ready from scratch on 14.0412:43
balloonsSo I see https://code.launchpad.net/~dholbach/help-app/1434125/+merge/253658 is still a thing dholbach :-)12:43
dakernik90: ok i'll try it12:44
nik90daker: once you get lxc up and running, you should be able to open a lxc terminal and run the cmake scripts for dekko like you always do12:44
nik90daker: the only drawback of lxc is that it doesn't allow creating chroots that one might need to run dekko on the phone. But I guess that time you can always use the host machine for that12:45
dholbachballoons, yes - didn't ahve time over the WE12:46
dakernik90: no i don't need a chroot, i only want to run dekko on desktop so i can fix/test stuff12:46
mardybzoltan_: hi! Do you have a minute to talk about bug 1393697?12:51
ubot5bug 1393697 in click (Ubuntu) "Cross qmake to the chroots" [High,Confirmed] https://launchpad.net/bugs/139369712:51
bzoltan_mardy:  that issue is long fixed12:52
nik90daker: ok12:53
bzoltan_mardy: but keep in mind that it is available only for Vivid. because it needed a qtbase update what was hardly possible for Utopic.12:54
ogra_nik90, it would be nice if the handle of the circle menu could drop a slight shadow ... i'm using my webapp hack wih all my webapps locally and notice that on white pages the handle kind of vanishes visually12:55
mardybzoltan_: right, so, do I understand correctly that this does not depend on which Ubuntu version the developer is using, but it depends only on the targetted framework?12:55
mardybzoltan_: I'm using vivid, but my click framework is 14.1012:55
bzoltan_mardy:  Yes12:55
faenilcontacts app shows blank page when tapping on "Import contacts via Google" but the phone is not connected12:56
mardybzoltan_: not even if we pay Mirv a beer? ;-)12:56
bzoltan_mardy: we need to offer something harder to him and to a bunh of other folks :)12:57
ogra_which folks do you want to offer to Mirv ?12:57
=== rickspencer3_ is now known as rickspencer3
mardyogra_: funny one :-)12:57
mardybzoltan_: is it only about qtbase, or would there need other packages to be updated (click, I guess)?12:58
mardy"only" :-)12:58
dobeymardy: backporting the new qtbase to 14.10/rtm is probably not something you want to have done :)13:02
Mirvqt 5.4 comes to rtm by making vivid the rtm :)13:05
dobeyyeah taht13:06
Mirvso "just" fix all the vivid bugs13:06
Mirvmardy: qtbase can't be updated alone, it needs to be all 20 Qt modules plus rebuilds of various components of ours (which means backporting qt 5.4 related fixes from trunks)13:07
bzoltan_mardy: qtbase and click, that is all13:07
Mirvbut speaking about backporting, if someone can pinpoint the needed feature from 5.4 code commits and it can be backported to 5.3, that would be possible and would only affect qtbase13:08
bzoltan_mardy:  for the sdk... and as Mirv sai, all other package what is built on qtbase should be rebuilt... joyride13:08
Mirvoh right now reading backlog, cross qmake package would probably be doable by just updating qtbase, unless there was something 5.4 specific in there.13:09
dobeyMirv: but that would still break the framework13:10
Mirvok13:11
dobeyMirv: because building against qtbase 5.4 won't be runnable by people who don't have an updated image13:11
MirvI meant adding the qmake binary package to 5.3rtm qtbase packaging13:11
dobeyoh, if it doesn't need qtbase 5.4 it might be ok13:12
Mirvalthough getting click + qmake-cross to work involved some ugly/unpleasant apt problems when creating chroot13:12
dobeyi'm just very wary of such things, because we recently ran into a problem after 5.4 landed in vivid, with the way clicks were being built in jenkins13:13
dobeyas they were being built on vivid, not rtm13:13
MirvI'm also wary, it's a rather complex path to fully enable click cross-qmake building in rtm since it wasn't a piece of cake in vivid either when it was done13:14
Mirvand introducing it had a potential to break image building (which it did) etc13:14
mardyMirv: the description of bug 1393697 says that that binary is provided with qt 5.313:14
ubot5bug 1393697 in click (Ubuntu) "Cross qmake to the chroots" [High,Confirmed] https://launchpad.net/bugs/139369713:14
Mirvmardy: in 5.3.2, in vivid, involving many other updated packages like click, ubuntu-touch-meta and even Oxide (which was then reverted later though) because it complicates the click chroot creation afaik13:16
Mirvmardy: so getting qmake-cross package in rtm 5.3.0 qtbase is not the biggest problem, but getting something functional using it is more complex13:16
dobeyanyway, vivid is supposed to be "stable" soon, right? :)13:17
Mirvyes, in a "few weeks". again depending on how quickly all bugs are fixed :)13:17
Mirvit might also take a few weeks before we'd have qmake-cross working inside click chroot for rtm-14.0913:18
mardyMirv: so, you are saying that if I isolate the patch which generates qmake-cross and apply that to 5.3.0, I still won't be able to use it?13:19
Mirvmardy: no, I didn't read the backlog at that point. the commit is there, you can recompile qtbase, but getting the qmake into automatically created click chroots might be more complicated. but I think you might even just get the 5.3.2 qmake-cross and try it out.13:20
Mirvmardy: the packaging change was http://bazaar.launchpad.net/~kubuntu-packagers/kubuntu-packaging/qtbase-opensource-src/revision/19913:20
Mirvplus some fixes in later commits13:21
Mirvmardy: .deb at https://launchpad.net/ubuntu/+source/qtbase-opensource-src/5.3.2+dfsg-4ubuntu9/+build/6754505/+files/qt5-qmake-arm-linux-gnueabihf_5.3.2%2Bdfsg-4ubuntu9_amd64.deb13:22
Mirvmardy: if you copy the binary manually to the chroot, it might work (but it might be it would need to be built from 5.3.0)13:22
Mirvyou can open the .deb with file-roller and extract the file from /usr/bin/13:22
mardyMirv: excellent, I'll try13:23
Mirvmardy: yeah, sorry, it all depends on whether you need something to hack with or if you want something Zoltan offers to all users :)13:23
mardyMirv: first let's see how well it works, then we can think whether it's worth the pain :-)13:25
ogra_dobey, FSVO "soon"13:25
dobeyogra_: well, hopefully before W is stable ;)13:26
* ogra_ sstill has his doubts :P13:27
dobeyheh13:27
nik90ogra_: I'm gonna be cheeky and say patches welcome :P13:28
nik90ogra_: I will see what I kind do13:28
ogra_nik90, me too then :)13:29
nik90s/kind/can13:29
nik90:D13:29
nik90t1mp: I added the example to the MP. I am hoping that I won't be asked to write a test :P13:30
dakerdholbach: yo, do you remember this place https://youtu.be/tNPZGc0WmfM?t=18s ?13:33
dholbachdaker, which nanosecond shot do you mean? :)13:34
dholbachbut yeah - very nice :)13:34
dakerdholbach: this one https://i.imgur.com/1xUTFIo.png13:36
dholbachyes, thought so :)13:37
daker=> https://plus.google.com/photos?hl=en%26gpsrc=gplp0&pid=5697853008942523554&oid=10979585809965882187713:37
dholbachbeautiful, yes :)13:38
dakernow let's wait for the movie :)13:39
nik90ogra_: Is the shadow sufficient? http://imgur.com/bfR0aPr13:48
ogra_nik90, totally !13:50
ogra_nik90, i also added a minor hack to make buttons active/inactive in my branch ... (probably wrongly by using opacity 0.5 for the action icon)13:51
ogra_since i want the back/forward actions to be non-active when there is no history in the webview13:51
nik90ogra_: ah, well I am converting those buttons into actionButtons (currently they are basically a qml rectangle) which would provide haptic feedback and also expose the "enabled" property.13:52
nik90ogra_: But I guess visually that can be indicated by reducing the opacity of the button13:52
ogra_line 83 and 92 in http://bazaar.launchpad.net/~ogra/junk/alternate-webapp-container/view/head:/Main.qml13:52
ogra_line 11 in http://bazaar.launchpad.net/~ogra/junk/alternate-webapp-container/view/head:/UCSComponents/RadialAction.qml and line 96 in http://bazaar.launchpad.net/~ogra/junk/alternate-webapp-container/view/head:/UCSComponents/RadialBottomEdge.qml13:53
nik90ogra_: ok I will add that functionality as well in UCS. You would get that automatically when you update the component using ucs13:54
ogra_(oh, and 118 in the last file)13:54
ogra_nik90, heh, well, my approach was rather hackish ... cp /opt/..../dekko/.../UCS /opt/.../blah/13:54
ogra_i'll roll a proper build script later :)13:55
nik90ogra_: hehe..whatever works for you13:55
ogra_(this is all after work stuff so it goes a bit slower)13:55
LangeOortjesHey, I am developing my first Ubuntu (Touch) app, which I hope to run on my Aquaris 4.5E. Now I've seen that the ListItems I plan to use intensively are being overhauled in Ubuntu.Components 1.2. Now my question is, should I target 1.2 or 1.1? My answer will depend on what the Aquaris will run and how fast updates will be pushed to that device. Is there documentation on this matter?13:57
=== _salem is now known as salem_
balloonsLangeOortjes, I would urge you towards using the new components.14:00
LangeOortjesballoons, any pointers as to what sites/repositories/lists to follow to keep in the loop on these developments?14:01
nik90LangeOortjes: the phones (BQ, N4, Meizu) etc will all transition to vivid (which provides the new listitems) soon enough ~2-10 weeks14:02
LangeOortjesthat's perfect!14:02
nik90LangeOortjes: the transition will happen when the QA team give it the green signal *only* everything continues to work as expected14:02
nik90without any regressions14:02
LangeOortjesthat makes sense14:03
=== salem_ is now known as _salem
nik90LangeOortjes: so if you want to release your app now then you would need to target 1.1. If not go for 1.214:03
balloonsLangeOortjes, to stay in the loop, checkout the phone mailing list: https://lists.launchpad.net/ubuntu-phone/14:03
balloonsand most importantly have fun LangeOortjes !14:03
nik90LangeOortjes: the current core apps (like clock) for instance, have 2 branches one for the current rtm and another for 1.2 (devel)14:04
nik90LangeOortjes: good luck with your app!14:04
LangeOortjesballoons, fun I am already having.14:04
LangeOortjesnik90, thanks14:05
t1mpnik90: it is always good to write a test ;)14:06
nik90t1mp: ;-)14:08
t1mpnik90: I approved https://code.launchpad.net/~nik90/ubuntu-ui-toolkit/fix-slider-bubble-width/+merge/25362014:08
nik90thnx14:08
t1mpnik90: no happroval yet, we are using our staging to land some final things to vivid, after that we'll land new stuff to staging14:08
nik90t1mp: sure np. I will try to be on the lookout for these kind of low hanging bugs14:08
t1mpok :) I'll let you know when I happrove it14:09
nik90t1mp: If I want to backport to vivid later, I am guessing I would need to propose it against vivid as well? Considering this is just a bug fix..14:11
nik90t1mp: also, on vivid desktop do you open the toolkit pro file and build it using qtcreator? At the moment I am doing a hackish way of making code changes in qtc and then building and testing it via the terminal14:12
zsombit1mp: nik90: this change has no new API to 1.2 so why not to happrove it?14:13
zsombinik90: open Ubuntu-sdk.pro in QtC14:13
zsombinik90: then build it14:13
nik90zsombi: I see that it defaults to debug mode, I suppose that is fine?14:14
zsombinik90: if you want to run some test app you can add to run14:14
zsombinik90: yes, you can change it any tiem to release...14:14
zsombitime14:14
nik90zsombi: ok,14:14
zsombinik90: if you disable shadow build, and want to run some sample test app from tests/resources, simply use -I modules argument to qmlscene14:15
zsombinik90: also, you can launch teh test apps using tests/launcher/launcher with -I modules and -touch14:16
zsombinik90: that can be helpful as you get all mouse events as touch14:16
nik90ah ok14:16
t1mpzsombi: is ucdeprecatedtheme.cpp new or a copy of an existing file?14:20
zsombit1mp: it's a copy of UCTheme API, prepared to deisplay deprecation note on MR #414:21
t1mpzsombi: I thought we only land approved bug fixes in vivid now?14:21
zsombit1mp: wasn't this a bugfix?14:21
zsombit1mp: bugfixes, have you seen any special list that limits us to fix only certain bugs?14:21
t1mpzsombi: yes it is. What I thought is that we have about 4 bugs that we agreed on for vivid and the rest goes to w?14:22
t1mpzsombi: no I haven't seen that list14:22
t1mpzsombi, nik90: ok, this MR looks safe. I'll happrove it.14:23
zsombit1mp: afaik only new features go to w, bugfixes still go to Vivid...14:23
t1mpok14:23
nik90t1mp: woohoo. thnx14:24
zsombit1mp: we haven't got any blockade on bugfixing for Vivid yet...14:24
zsombit1mp: palette change and MainView's auto-theming on backgroundColor is conflicting lilke hell... binding loop and crash is the result if I change the default palette's normal.background color14:28
mardyMirv: I launched qmake-cross in the chroot, and it complains about: Could not find qmake configuration file ubuntu-arm-gnueabihf-g++.14:28
t1mpzsombi: in the theming MR, what's with the docs? In uctheme.cpp you have the same as in ucdeprecatedtheme.cpp, only in uctheme, the ! after /* is missing. Is that intentional?14:28
zsombit1mp: I remove dteh UCTheme docs in purpose, as it'll be re-introduced in -214:29
zsombi0214:29
t1mpzsombi: didn't we get rid of the auto-theming on backgroundColor?14:29
zsombit1mp: and will be introduced ans ThemeSettings14:29
t1mpzsombi: maybe we should get rid of the auto-theming in 1.314:29
zsombit1mp: yes.... or add some property to disable it :/ otherwise lots of apps will be broken14:30
t1mpzsombi: no the apps import 1.2. When they change to 1.3, they have to set the theme in their MainView.14:30
zsombit1mp: right...14:31
t1mpzsombi: or shall we have a property bool useDeprecatedAutoTheming in MainView? :D14:31
zsombit1mp: yeah :D14:31
t1mpI knew you'd like it :p14:31
zsombit1mp: useOldFartAutoTheming14:31
t1mpzsombi: apps going to 1.3 will have to update some stuff anyway, because the property useDeprecatedToolbar that they most likely set to false, no longer exists14:32
zsombit1mp: that doesn't exist already in 1.214:33
t1mpehm14:33
t1mpyeah I'm confusing the versions...14:33
zsombi:)14:33
t1mpI'm happy with 1.214:34
t1mpbut 1.3 will be even better :)14:35
zsombit1mp: useDeprecatedToolbar was removed in 1.2, this affects 1.314:35
t1mpyes, I know. I realized that I got confused.14:35
t1mpzsombi: didn't we think of an alternative name for "styleset"?14:37
Mirvmardy: seems it's in a wrong place, open up http://launchpadlibrarian.net/195952527/qt5-qmake_5.3.2%2Bdfsg-4ubuntu9_amd64.deb and copy usr/lib/x86_64-linux-gnu/qt5/mkspecs/ubuntu-arm-gnueabihf-g++ to the chroot too...14:37
zsombit1mp: yes, theme... do you still see them?14:37
t1mpzsombi: yes, there are two FIXMEs that mention styleset, and a directory tests/resources/styleset14:37
zsombit1mp: ah the directory.. .the FIXMEs are gonna be removed anyway later, so those are not so relevant14:38
mhall119nik90: I have a new theme manager for you :)14:40
nik90ogra_: I added the haptic feedback and dropshadow to the upstream ucs component in https://code.launchpad.net/~nik90/component-store/add-haptic-shadow-radial/+merge/253832. Since you took the component from dekko, you will need to wait for them to update it.14:40
zsombimhall119: nik90: can you guys also show me that ThemeManager?14:40
ogra_nik90, yeah, just browsing the tree14:40
ogra_nik90, i dont think i'll stay with the hackish way of cp'ing stuff around on the phone :)14:41
nik90mhall119: ooh today has been a productive day for me..only gets better with your ThemeManager14:41
zsombinik90: we also have Haptics singleton, perhaps you wanna use that!14:41
nik90ogra_: it seems that the dekko's radial menu version adds support for the text and iconSource property which isnt yet upstreamed14:41
ogra_ah14:41
nik90zsombi: I did see that, but that only comes with Ubuntu.Componennts 1.2 ?14:42
mhall119nik90: zsombi: http://bazaar.launchpad.net/~mhall119/ureadit/3.0/view/head:/themes/ThemeManager.qml is the manager itself14:42
mhall119http://bazaar.launchpad.net/~mhall119/ureadit/3.0/view/head:/main.qml#L37 shows how I use it14:42
nik90zsombi: When we switch to vivid, I will move to the Haptics Singleton14:42
zsombinik90: ok14:42
zsombimhall119: lemme check that14:42
* nik90 looks14:42
mhall119zsombi: it doesn't use your stuff (yet, I'm trying to understand how to make them work together)14:42
zsombimhall119: I asked it as we'll have some changes there with teh subtheming14:43
mhall119zsombi: my stuff is mostly concerned with color changes14:44
mhall119nothing more complex than that14:44
zsombimhall119: byt are you using the UITK themes, liek Ambiance or SuruDark?14:44
zsombibut14:44
mhall119zsombi: not quite, I didn't know how to import them to use their values14:44
zsombimhall119: Ambiance: import Ubuntu.Components.Themes.Ambiance14:45
zsombimhall119: same for SuruDark14:45
zsombimhall119: and of course the version is 1.214:45
* mhall119 will try and make those changes14:46
zsombimhall119: and if you want to set the app theme, Theme.name = <theme_name>14:46
zsombimhall119: nik90: in 1.3 this will become like theme.name: <theme_name>14:47
nik90mhall119: the new theming infrastructure that was blogged by zsombi is a combination of app specific and component specific theming. Although at the moment it is only limited to a few components that are documented in the API docs at the moment.14:47
zsombimhall119: nik90: note the difference is not only the smal caps theme, but also teh declarative value assignment14:47
mhall119zsombi: you know what would be really useful to me? Being able to specify the color for the Icon in an Action, is that planned?14:47
zsombimhall119: nik90: and you will be able to set palette runtime in declarative way, as well as declare a Dialog using a different theme than the rest of teh app14:48
t1mpzsombi: I left a few commentso n https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/01-multiple-theme-engines/+merge/25194214:48
mhall119zsombi: nice14:49
zsombimhall119: not atm, but you can file a bug - if no tthere already - to be able to do some hinting on the actions14:49
t1mpmhall119: what is the use case for setting to color of an action? Do you want different colors of actions in the header?14:50
zsombimhall119: that particular thing is not really a theming issue, is more like Action specific14:50
zsombimhall119: but if the action visualization is context specific, that can be done on the given context14:50
zsombinik90: mhall119: but as we discussed with t1mp, we most likelly have to get rid o fthe auto-theming we have in MainView... it causes lots of trouble, and the binding loop sometimes comes back even with the current 1.2 theming14:52
t1mpif Action gets a color, in each component where you can set an action we have to determine what the color does. For example, in the header it may change the icon color, in a regular button the button color14:53
nik90zsombi: auto-theming as in if the app dev chooses a dark mainView background color, the text automatically using a lighter color?14:53
zsombinik90: yes14:54
zsombinik90: the backgroundColor forces the theme to be set to SuruDark when its luminance < 85%14:54
zsombinik90: if I change the palette values of the normal.background, I end up in a binding loop, and even worst, binding transfer crash14:55
nik90ack.14:55
zsombinik90: I'm trying to find a workaround, but I doubth it can be solved...14:56
nik90zsombi: so in 1.3, it would be such that the app dev should use the theming stuff you showed in your blog post to theme every necessary component he uses in his app at least with regards to the colors used.14:57
zsombinik90: nope ;)14:57
zsombinik90: more14:57
zsombinik90: no need to wait till Component.Completed14:58
zsombinik90: you can do it straight in teh MainView { theme.name: "Ubuntu.Components.Themes.SuruDark" }14:58
nik90ok14:59
zsombiwow...15:00
zsombiwoooooooooow!!!!15:01
nik90?15:01
zsombinik90: I must test it, but seems I managed to get rid of the binding loop :D15:02
nik90oh!15:02
JamesTaitIn a scope, is a card a single item in the grid? e.g. in the Store scope, "Top Apps" would be a category with, say, six apps, and each app would be a card? And "App of the week" would be a category with a single card?15:02
zsombinik90: haha, I did! :D15:02
zsombit1mp: ^15:03
zsombinik90: also, if you want an AMbiance themed app to open  a Dialog wiuth SuruDark theme, you define your Dialog with Dialog { theme: ThemeSettings { name: "Ubuntu.Components.Themes.SuruDark" } } and that's it15:04
t1mpzsombi: good :)15:05
zsombinik90: or , if you want to have a different palette than the default Ambiance: Dialog { theme: ThemeSettings {name: parentTheme.name; palette: Palette { normal.foreground: "pink" } } }15:05
nik90zsombi: so the components provide a "theme" property which one can use to theme them individually, that's sweet15:06
zsombinik90: yep15:06
zsombinik90: and will also gave a font property15:06
zsombihave15:06
t1mpnik90: yes, that will theme the item and all its children (unless the children override it by setting another theme) :)15:06
nik90zsombi: yeah all the properties defined in styles/Themes/Ambiance/DialogStyle.qml I guess15:06
zsombinik90: right... and we hope we'll have more API in the Ubuntu.Components.Styles15:07
ahayzenballoons, ping15:07
nik90zsombi: precisely15:07
mflowAny ideas what I get undefined reference to symbol 'dlclose@@GLIBC_2.2.5' ?15:07
balloonsahayzen, pong15:08
ahayzenballoons, are you able to easily trigger jenkins on a non-team member mp? ... eg this one https://code.launchpad.net/~darran-kelinske/music-app/lp_bug_1428454/+merge/253566 ?15:08
zsombinik90: but, to be honest, a MainView's backgroudn I'd rather change with MainView { theme.palette: Palette { normal.background: "whatever_color" } }15:08
zsombinik90: because then teh background can be valid for the whole app, would give more consistency in colors15:09
nik90zsombi: I agree15:09
zsombinik90: changing teh MainView's bacgroundColor only changes teh app's background, but perhaps that's not only the only place one would like to see the color changed...15:09
zsombinik90: and, apps could have their own colors on the Ambiance theme. without defining their own theme15:10
dholbachballoons, I just had a chat with dpm - would it be possible to hook up the help app with the jenkins infrastructure?15:10
balloonsdholbach, ahh right. Certainly, we'll just need to ask CI to coordinate. I think I might be able to propose an MP for some of it to make there lives easier15:12
dholbachballoons, cool - what do we need to do?15:12
balloonsdholbach, we should also add it to the core apps group so jenkins can acess it15:12
ahayzenballoons, also i was thinking for your quality section of developer.ubuntu.com ... is there a section on pep8/pyflakes? as it would be useful to be able to point someone to a page explaining what it is, how they can set it up etc15:13
dholbachyes, sure - do you think you could look into that?15:13
nik90ahayzen: ooh +115:13
balloonsdholbach, sure thing15:13
* dholbach hugs balloons15:14
balloonsahayzen, I added him to the test writers team; shouldn't be a problem anymore15:15
ahayzenballoons, ah ok thanks :) ... is this the best way of doing things in the future for 'drive-by' or non-team folks?15:16
balloonsahayzen, if you approve the mp it should kick off jenkins, but I understand why that's annoying15:16
balloonsin this case I think drizzle is going to be doing more than just this contribution, so it makes sense15:17
ahayzenyeah :/ sometimes i wanna see if jenkins is happy before top approving15:17
balloonsahayzen, http://91.189.93.70:8080/job/music-app-ci/1282/ is running now15:18
ahayzenballoons, thanks :)15:18
balloonsdholbach, so we want to make help an official core app n'est pas?15:19
dholbachyep15:19
zsombit1mp: the tests/resources/styleset/Simple I used for testing, later it would be more visible what it does, yet it only prints out the theme it uses15:29
=== chihchun is now known as chihchun_afk
ahoneybunhowdy15:36
ahoneybunahayzen: I got it to work15:37
ahayzenahoneybun, well done man :)15:37
t1mpzsombi: okay15:45
ahoneybunbig thanks to you though ahayzen15:45
ahayzenahoneybun, no problem :)15:45
ahoneybunI need to get the emulator to load15:45
ahoneybunahayzen: I'm having a problem uploading the package though15:46
ahoneybunThe uploaded package name (com.ubuntu.aaronhoneycutt.gazeteer) does not use your namespace (aaronhoneycutt)15:46
ahayzenahoneybun, iirc the package names should be gazateer.aaronhoneycutt now?15:47
t1mpnik90: your MR landed in staging :)15:47
ahoneybunahayzen: I'm on 14.1015:47
ahayzenahoneybun, the stores policy has changed...let me see if i can find the docs15:48
ahoneybunoh darn15:48
dholbachballoons, sorry... please ignore the next mails about the help-app - I pushed changes to the wrong branches - let me go back and fix it :)15:48
dholbachI'll let you know when I'm done :)15:48
ahayzenahoneybun, https://developer.ubuntu.com/en/publish/ ... "Be sure to pick a unique namespace for your submissions, such as <appname>.<username> – this is the only setting which can not be changed later on."15:49
ahoneybunthat name worked15:50
ahayzen\o/15:50
ahoneybunnow for someone to review it15:51
ahoneybunpublished15:51
t1mpkalikiana: I resubmitted https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/waitForHeaderAnimation/+merge/253843 with a prerequisite. Nothing changed besides that, but it will need a new approval from you15:52
zsombit1mp: btw, those tests do test warnings, the test is failing if there are binding loops, remember?15:52
dholbachballoons, https://code.launchpad.net/~dholbach/help-app/1434415/+merge/253844 is good to go now15:52
t1mpzsombi: ok. But can you somehow also verify that setting or unsetting the theme was successful?15:55
zsombit1mp: I can, but there are the other tests which do that AFAIR, so it would be a double test15:56
t1mpzsombi: if you think I am too strict in reviewing,  please take revenge here :) https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/headlock/+merge/25312115:56
zsombit1mp: strictnes sis good, I have to convince you that your worries are not needed ;)15:56
t1mpoh wrong link, I meant here: https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/headlock/+merge/25384515:57
kalikianat1mp: ack15:57
zsombit1mp: I'll take it15:58
t1mpzsombi: if those tests are there only to check for binding loops, make that obvious from the code. I'd say update the function names (maybe a comment that binding loops generate errors)15:58
t1mpzsombi: thanks15:58
zsombit1mp: ok, will give more descriptive names or comments, whatever :)15:58
t1mpkalikiana: thanks15:59
ahoneybunahayzen: https://appstore.bhdouglass.com/app/gazeteer.aaronhoneycutt16:01
ahayzenahoneybun, yey .... version 0.2 already ;)16:01
ahoneybunhad a problem16:01
zsombit1mp: you're killing me with these copyright dates :D16:01
t1mpzsombi: I wonder now whether we really need to update them16:02
t1mpzsombi: if (C) 2012 means 2012 and after, then we don't need to update16:03
zsombit1mp: why only now?16:03
zsombit1mp: well, it used to mean...16:03
kalikianat1mp: there is no implied "and after" in copyright law…16:04
zsombit1mp: tst_theme_engine tests only the deprecated test... I can rename it to tst_deprecated_theme, however teh new one will have a different test module16:05
zsombit1mp: it'll be called tst_subtheming, which includes the same tests but with the new context16:05
t1mpkalikiana: so we should update the year when we make changes to a source file?16:06
kalikianat1mp: yes16:06
t1mpkalikiana: ok, I trust you :)16:07
t1mpzsombi: ^ there you have it ;)16:07
t1mpzsombi: better to rename it, so when we do a clean-up for 2.0 eventually we know which files are no longer needed16:07
zsombit1mp: I have copyrigth laws16:07
zsombiyeah, will do16:07
t1mpzsombi: you have copyright laws? What does that mean?16:08
zsombit1mp: I don;t have any laws, I'm not a liar :D16:08
=== Guest46886 is now known as dazza5000
kalikianazsombi: but maybe a lier? http://img01.cp.aliimg.com/imgextra/i1/836620130/T22uVwXh0NXXXXXXXX_!!836620130.jpg16:13
zsombikalikiana: me not a catman ;)16:14
dee_hi, is it normal that i have to debug my html 5 app (with a usb connected ubuntu phone) in the webbrowser? i get some errors in the application output http://pastebin.ubuntu.com/10661935/16:25
zsombit1mp: pushed an update on the theming16:26
t1mpzsombi: thanks, I'll check it16:27
t1mpkalikiana: care for a small review? https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/removeToolbarExample/+merge/25385116:27
t1mpseb128: ^fyi, fixing your bug16:27
seb128t1mp, thanks ;-)16:27
dee_nobody who can help me?16:29
dee_..16:29
popeyalex-abreu: are you able to help dee_ ?16:30
t1mpzsombi: https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/01-multiple-theme-engines/+merge/251942 looks good, approved.16:30
zsombit1mp: thx!!!16:31
t1mpzsombi: this one will be 1.3, so no happroval yet.16:31
zsombit1mp: yes.... though teh changes are not really something that are altering the 1.2 in any form...16:31
t1mpzsombi: true. But it is safer to start landing all these changes in w16:33
t1mpthat will be easier to fix if something breaks :)16:33
zsombit1mp: yep16:33
=== _salem is now known as salem_
zsombit1mp: ehh... this MR of your si really hard to review...16:39
t1mpzsombi: yes, I realized that16:40
t1mpzsombi: yours too ;)16:40
zsombit1mp: :D16:40
t1mpzsombi: is there a way I can make it easier?16:40
zsombit1mp: the only way is to chain them...16:40
zsombit1mp: basically both prereqs are approved, so I'd say they'll be landing all at once16:41
t1mpzsombi: I did. Everything you see in the diff on launchpad is changed only for this MR16:41
zsombit1mp: ahh... ok, I thought you have still the logs from one of the prereqs...16:41
zsombit1mp: I though I saw already some part of the code :)16:42
zsombit1mp: so seems you can also produce 1k+ lines MR ;)16:42
t1mpzsombi: yeah. A large part of that consists of new unit tests16:43
zsombit1mp: same here :)16:44
t1mpzsombi: also there are now two PageHeadConfiguration versions, and I moved its docs into a separate file. That counts for a lot of lines too16:44
zsombit1mp: so you expect the page tiotle being set to "" shoudl not longer hide the header?16:45
t1mpzsombi: the tst_header_visible.qml can be run with qmltestrunner, but also launched with ../../launcher/launcher :) the app has buttons to test out the functionality manually16:45
t1mpzsombi: yes, that's correct. But if you are using version <= 1.2, setting the title to "" will still hide it16:46
zsombit1mp: make sure guys from this list will know this!!!16:46
t1mpzsombi: to hide it, use head.visible now. Empty string to hide is no good, see https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/140205416:46
ubot5Ubuntu bug 1402054 in ubuntu-ui-toolkit (Ubuntu) "Page header with no title does not have a back button" [High,In progress]16:47
t1mpzsombi: that change will be for 1.3. We can mail all the changes for that before we release it16:47
zsombit1mp: few apps use that now, I feel transitioning to 1.3 would be painful a bit if you remove that functionality...16:47
t1mpzsombi: perhaps we should track what's changed in 1.316:47
zsombit1mp: good idea16:47
t1mpzsombi: it is an easy change to use the proper API for hiding the header. But yeah we have to tell people16:48
zsombit1mp: perhaps a "What's new?" section should be prepared already in the docs16:48
t1mpsetting the title to "" was always a workaround until the proper API is there16:48
t1mpzsombi: yes, good idea.16:48
t1mpzsombi: you want that in this MR?16:49
zsombit1mp: I am affraid people will hate us if we'll have lots of these "small" changes... they can easily pile up to a morman of changes...16:49
zsombit1mp: I'd rather do in a separate one once we get the W open16:49
t1mpok16:49
zsombit1mp: till then we should have a doc where we log16:49
zsombit1mp: in the API doc folder16:50
t1mpzsombi: we used to use the CHANGES file for that16:50
zsombit1mp: we neve rhad tags for what's new...16:50
zsombit1mp: but we can have a CHANGES-1.3 and we add everything we do for 1.3 so at the release time we can create a nice doc out of it16:51
t1mpzsombi: * ADDED IN: Action: property string iconName16:51
t1mpzsombi: we never had that in CHANGES.syntax, but we used it16:51
zsombit1mp: but nothing like NEW\16:51
dholbachballoons, https://code.launchpad.net/~dholbach/help-app/1434125/+merge/253658 might be ready now too16:51
zsombit1mp: how woudl we add theming? ADDED ID: plugin?16:51
t1mpzsombi: I had this suggestion a while ago https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/no-NEWS-no-CHANGES/+merge/25157916:51
dholbachballoons, I'll appreciate your testing on both on pad.lv/mps/help-app :)16:52
zsombit1mp: right... those both are pretty outdated, and we've lost track of them. We've added a section to the docs, and that should be one to track things, teh audience is bigger than for those two files tbh16:52
zsombit1mp: and at the 1.3 release, we can just blog about it16:53
t1mpzsombi: your suggestion is good to track it in a doc16:53
t1mpzsombi: and then when we release we simply copy&paste that into a blog post16:53
zsombit1mp: +116:53
t1mpand send the link to the blog post to the mailing lists16:53
zsombit1mp: and to G+, right16:54
t1mpand to slashdot.org ;)16:54
ogra_hey SDK guys ... i'm trying to set applicationName from a variable ... but that shows weird behavior of Qt ...16:54
ogra_http://paste.ubuntu.com/10662121/16:54
t1mpogra_: appName does not exist in your .js file. You called it  webappName16:55
ogra_any idea what to file a bug against ? i asked ricmm, he says it isnt QML cache related ... pointing me to ted ... who then pointed to SDK16:55
ogra_t1mp, yeah, thats just a typo when transferring into the pastebin ...16:56
ogra_assume it says appName there :)16:56
t1mpthe log is indeed not very descriptive.16:56
ogra_(it wouldnt start at all indeed)16:56
ogra_here it starts but without using any cached data16:57
ogra_i actually want to write a generic framework, so all app specific bits should live in config.js ... i.e. so that app devs can bzr pull the upstream source without havin to fiddle with anything but the config file16:58
ogra_but that restriction kind of gets in my way :)16:58
t1mpogra_: hmm, changing the applicationName will change the data folder of the app.. There may be a potential security risk there16:58
t1mpkalikiana: perhaps you know more about this?16:59
ogra_it indeed works fine if i just hardcode the value for applicationName in Main.qml16:59
* kalikiana reading16:59
ogra_t1mp, i think it is rather a matter of processin the import earlier so the value for applicationName is set before it tries to do anything with it16:59
kalikianaogra_: is foo-bar.ogra the correct app name here? does it work if you put it in applicationName directly?17:03
ogra_thats only an example indeed17:03
ogra_the app name is google-plus.ogra ... and it works fine if i put it into Main.qml directly, yes17:03
kalikianaogra_: did you check if any files are written? maybe the name is evaluated more than once17:08
kalikianaI've seen that happen using Qt.resolvedUrl17:08
ogra_no, there are no files written at all and i get apparmor denials for the file accesses you se in the log in pastebin17:09
ogra_it liiks like something in Qt tries to make use of the applicationName before it has any value17:09
ogra_*looks like17:09
dee_back ... there was someone who did answer to my question?17:12
ogra_it actually seems to replace the applicationName with "QtProject"17:13
xhoch3when building an app for Ubuntu Touch I just get error code 1 by qmake17:15
xhoch3I have to leave the office in 5 minutes17:15
xhoch3so building QML only apps works just fine, if I build any of the examples that contain c++ code it fails17:16
dee_mhhh develope a ubuntu phone app isent so easy at last ... i dont like that docu and that there are no example codes ...17:17
xhoch3So, new project, then on Applications (not Ubuntu, because I want to write apps that run on all platforms and I need qmake)17:17
xhoch3then Qt Quick application17:17
dobeyxhoch3: to use qmake for c++ apps you need to target the 15.04 framework17:18
xhoch3ok, I am on 14.1017:18
dobeyxhoch3: qmake cross compiling wasn't supported on 14.10 framework17:18
xhoch3ah that would explain a lot17:18
kalikianadee_: what are you looking for?17:18
xhoch3but good to hear this will work17:18
xhoch3dobey, thank you first, I will upgrade my machine to 15.04 and then we'll see =)17:19
dobeyxhoch3: it's not your machien that's the issue17:20
xhoch3ok, but in order to get the 15.04 framework I need it, or not?17:20
dobeyxhoch3: in the sdk, you need to create a kit for the 15.04 target, and build your app in that. you will also need to specify the 15.04 framework version in the manifest.json file for the click packge17:20
dee_kalikiana i wana save a file on the phone, but cant find any api call for that17:20
dee_html 5 btw17:21
dobeyxhoch3: no, click packages are built inside a chroot. you just need to create the one for the 15.04 framework target17:21
xhoch3dobey, I cannot select 15.04 in Ubuntu SDK17:21
xhoch3ie in the QtCreator17:21
xhoch3the highest I can select is 14.1017:22
xhoch3ok, I have to go now, I will contact you later, dobey17:22
dee_xhoch317:22
xhoch3do you know when you will be available?17:22
dee_u can add something in "tools -> options -> ubuntu"17:23
xhoch3yes, create click target17:23
xhoch3but it doesn't offer me 15.04 :)17:23
xhoch3bb, dee_ thx =)17:24
dobeyeh, it does here17:24
dee_kalikiana, i found that: https://developer.ubuntu.com/api/html5/current/17:24
kalikianadee_: hmm I know just a little about html truth be told, there's the tutorial https://developer.ubuntu.com/en/apps/html-5/guides/introduction-to-the-html5-ui-toolkit/ which you might have already seen17:25
dee_thats all about the UI, i wana start with the logic, if i dont get that to work, i dont need to start the gui ...17:26
kalikianadee_: if you want to open files like pictures, dcuments etc there's content hub https://developer.ubuntu.com/api/html5/sdk-14.10/ContentHub/17:28
=== ahoneycutt is now known as ahoneybun
kalikianadee_: if you see a dialog letting you pick a file that's how that's implemented in apps17:29
dakernik90: anyidea how to solve this ?http://paste.ubuntu.com/10662385/17:30
dee_kalikiana, no i need to save and load a config file, with my own format17:30
nik90daker: its got to do with the GPG keyring..since that command works on my comp17:34
nik90daker: I cant tell why it is unable to retrieve it from the keyserver17:35
dakernik90: ok i think i found the problem17:35
dakernik90: i just added --keyserver hkp://p80.pool.sks-keyservers.net:80 to force port 8017:38
nik90daker: ah ok. does it work now?17:38
dakernik90: yes it's downloading the rootfs17:38
nik90ll17:39
nik90cool17:39
dee_someone a idea to save and load a config file in a html5 app?17:41
dobeydee_: if it's html5, wouldn't you just use html5 storage for that?17:44
dee_dobey ok thats work .... sry ^^17:53
dee_but i have to test a restart from the phone17:53
dee_there comes the next question ... how can i install my app c17:54
dee_?17:54
nik90dee_: do you build a click package?17:54
nik90s/a/the17:54
dee_did start a "html5 app"17:56
dee_and test it on my bq ubuntu phone live17:56
dee_with the debug method17:56
nik90dee_: if you are using QtC, there should be tools->ubuntu->install application on device17:57
nik90I don't have experience with html5 apps, so not sure what IDE developers usually use for development17:58
dee_y found it, thx17:58
dee_dobey, its work perfect the data is still after a restart avarible18:06
dobeynik90: the ubuntu sdk is the documented/supported method of creating apps in html5 for the phone18:06
dee_nice i can start my bitcoin wallet app :)))18:06
dakernik90: faced this before http://paste.ubuntu.com/10662821/ ?18:19
nik90daker: hmm not really18:35
=== salem_ is now known as _salem
wallermadevhey19:24
wallermadevhaving a bit of trouble deploying an application to ubuntu device..19:25
imnicholI'm setting up a new project, and I'm getting prompted to "select a path to the cmake executable".  Did I do something wrong?19:41
imnicholI'm testing vivid at the moment.19:41
imnicholI was able to get around it by creating a project with qmake19:47
nik90imnichol: I am pretty sure you don't have the package "cmake" installed :)19:49
nik90imnichol: I had this issue on a fresh ubuntu install19:49
imnicholnik90, Yeah I kinda figured.  I wasn't sure which one to choose so I flipped a coin and apparently chose the wrong one to begin with19:50
nik90bzoltan_: ^^ may be "cmake" should be a dependency of the ubuntu-sdk19:50
=== _salem is now known as salem_
imnicholWhile I'm here: it seems like I don't remember where to get documentation for using plugins with qml19:53
imnicholI want the user to enter a URL and then hit "go" and get the raw content back from the server19:54
imnicholMy google-fu seems to have failed me, is there a tutorial?19:55
imnicholIs there a broken image link in https://design.ubuntu.com/apps/getting-started/ui-model for anyone else?20:28
popeyimnichol: yeah, looking into it20:36
popeyimnichol: fired a mail at the person responsible.20:41
imnicholIs it possible to add a C++ plugin to an existing simple QML project?  Or do I need to start over again?20:41
imnicholpopey, is there a project that I can just file a bug on?20:42
imnichol(to report issues with d.u.c)20:42
popeyfor the C++ plugin option, I don't know, bzoltan_ will.20:44
popeyfor the d.u.c, do you mean design.u.c or developer.u.c ?20:44
imnicholdeveloper.u.c20:44
imnicholOr, either I guess20:44
popeywell, the answer is different20:44
dobeyit is possible, but it's not trivial to do, for an exissting project20:44
popeydeveloper.u.c is linked at the bottom20:44
dobeysince the simple qml project doesn't use cmake20:45
popey"Report a bug on this site"20:45
imnicholpopey, I'm running Chrome on 15.04 and I don't see any links to report bugs20:45
renatupopey, hi. Who is working on calendar app?20:46
imnicholBut I can figure it out thanks to the link to it's launchpad site20:46
imnicholdobey, how untrivial is it?20:46
popeyrenatu: kunal mainly.20:46
renatupopey, ok nice thanks20:46
renatupopey, what is his tz?20:46
imnicholI have maybe 50 lines of QML, so if it's possible I could just throw it into a new project too.  I wouldn't know where to stick it though20:46
popeyimnichol: in fact both sites have that link at the bottom20:46
popeyrenatu: South Korea20:47
renatu:(20:47
popeyimnichol: and I'm using chrome too20:47
popeywassup?20:47
dobeyimnichol: it involves adding a build system to the project that doesn't exist in it20:49
dobeythe c++ project template is a fair bit different than the simple qml one20:49
mhall119rickspencer3: do you know who managed dc.ubuntu-us.org ?21:20
rickspencer3mhall119, wow, no idea21:20
rickspencer3Kevin Cole, maybe?21:20
=== ahoneycutt is now known as ahoneybun
mhall119ok, thanks21:22
imnicholpopey, ahah you're right, I misinterpreted what you were saying21:43
nik90Elleo: hey, I am curious as to how many people have downloaded podbird. I see 3 new bug reports from a new reporter ;)21:51
nik90Elleo: Any spike after the recent BQ phone sales?21:52
dakernik90: managed to fixed lxc just by restarting :)23:03
dakerfixe*23:04
nik90daker: so are you able to get it started?23:16
nik90daker: I don't remember if I restarted or not .. if not I would have mentioned that in my blog post23:17
dakernik90: it did start, and managed to attach the shell23:17
nik90daker: cool. Now you just need to create the appropriate .desktop files for the gui apps you want to open using your lxc like Qtcreator and a terminal app where you can build stuff23:18
dakernik90: the only issue is that when apt-get ubuntu sdk it needs to grab a lot of packages23:19
dakerhttp://paste.ubuntu.com/10664713/23:19
nik90daker: yup, there is no work around for that since the lxc container we downloaded was minimal23:20
nik90daker: it is similar to installing the sdk on xubuntu or ubuntu mate for instance23:20
dakerok23:20
ahoneybun300 users!23:23

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