/srv/irclogs.ubuntu.com/2014/01/08/#ubuntu-app-devel.txt

imnicholDoes anyone have any example code for making lists of items?  The code on developer.ubuntu.com doesn't work correctly when I run it using the sdk.01:42
imnicholClarification: By "lists of items" I mean using QML01:44
=== luKe is now known as Guest34450
Guest34450Hello, anyone have tried cordova to develop app? How to detect swipe gesture?02:02
imnicholIs there documentation for U1DB?  I don't think I understand how it works.03:22
imnicholNevermind, found it here: http://pythonhosted.org/u1db/quickstart.html03:23
imnicholNevermind again, it's basically useless for QML03:46
dholbachgood morning07:59
JamesTai1Good morning all! :-D09:33
=== JamesTai1 is now known as JamesTait
=== Ursinha is now known as Ursinha-afk
=== _salem is now known as salem_
nik90zsombi: I finished the dialer transition for the clock app. https://code.launchpad.net/~nik90/ubuntu-clock-app/dialer-transition/+merge/20074012:18
nik90zsombi: When you have time, could you briefly go through it to see if the Dialer has been as you expected?12:19
nik90used as you expected*12:19
zsombinik90: I will check it12:20
nik90thnx12:21
ahayzentimp, ping12:35
timpahayzen: hello12:35
ahayzentimp, happy new year!.... could u reapprove this https://code.launchpad.net/~andrew-hayzen/ubuntu-ui-toolkit/fix-swipe-delete-001/+merge/19990612:36
ahayzentimp, we had to rerun Jenkins...but balloons didn't have permission to approve the MP12:36
timpahayzen: done12:37
timpahayzen: happy new year to you too :)12:37
ahayzentimp, thanks12:37
=== Ursinha-afk is now known as Ursinha
balloonstimp, autolanding failed again it seems: https://code.launchpad.net/~andrew-hayzen/ubuntu-ui-toolkit/fix-swipe-delete-001/+merge/19990613:38
balloonshttps://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/4469/13:39
timpballoons: looks to me like jenkins broke somehow13:40
balloonstimp, I pinged ci13:41
timpballoons: ok13:41
timpballoons: in the meantime, can you merge trunk to that branch? it fixes a test failure that we may run into later13:42
* timp bbl13:42
balloonstimp, I'm not sure what you mean, but I linked you to some failing tests. I'm not sure what's going on, but CI says it looks fine13:50
timpballoons: for merging of trunk, I meant to "bzr merge lp:ubuntu-ui-toolkit", for a bugfix that is not related to the failures you're getting now.13:54
timpballoons: as for CI, I see *all* the tests failing on this:   File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 299, in _get_dbus_addresses_from_search_parameters13:54
timp    % return_code13:54
timpballoons: its like the device failed to initialize something, or lost its network or sth...13:55
balloonstimp, I don't have any powers in ubuntu-ui-toolkit13:55
balloonstimp, ahh.. follow-up with cprov in #ubuntu-ci-eng13:55
timpballoons: cd fix-swipe-delete-001 && bzr merge lp:ubuntu-ui-toolkit && bzr commit -m "merge trunk" && bzr push13:55
timpok13:55
balloonstimp, yes, but it's andrew's branch not mine.. I can rebranch it, but I've gtg atm13:56
timpballoons: nevermind. we can try without when CI works. perhaps jenkins merges it properly already, if not I'll ask andrew13:57
=== elopio_ is now known as elopio
WebbyITHey dpm, could you update calc app on the store?14:18
WebbyITsee https://bugs.launchpad.net/ubuntu-calculator-app/+bug/1251548/comments/314:18
ubot2Launchpad bug 1251548 in Ubuntu Calculator App "Pressing decimal point before a digit prevents the user from pressing the decimal point button later on" [Undecided,Fix committed]14:18
nik90Does anyone know how to add multiple images to a Ubuntu Shape without losing the corner radius?14:27
nik90it seems that if I add a row of images inside the ubuntu shape, the corners become sharp.14:27
timpnik90: how do you do that? UbuntuShape has only one image property14:34
nik90timp: I know..but here is what I want to achieve http://ubuntuone.com/4Ucd06LiKHatFc6DnWV0vt14:37
nik90its a ubuntu shape where multiple album covers are present as per design14:38
nik90but I have no idea how to actually implement it14:38
timpnik90: hmm14:39
timpnik90: theoretically a ShaderEffectSource will work as the input for UbuntuShape, but currently the property type does not allow that14:39
timploicm: ^ are there upcoming changes to UbuntuShape that allow to put Items inside it?14:40
nik90timp: okay14:43
nik90timp: atleast I can reason this out while proposing the MP and keep an eye out on the ubuntu shape feature set.14:44
timpnik90: you may want to track this bug - https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/108959514:47
ubot2Launchpad bug 1089595 in Ubuntu UI Toolkit "[shape] UbuntuShape should shape more general Item-based components" [Wishlist,Triaged]14:47
nik90timp: thnx14:49
timpnik90: I linked your image in a commend for that bug14:49
loicmtimp, nik90: yes, the best way to do that with the current (and also the upcoming) UbuntuShape is to render the desired image in an an offscreen buffer using a ShaderEffectSource and set the UbuntuShape::image using that ShaderEffectSource id (there might be some update issues with the current UbuntuShape though, to be checked)15:39
dpmpopey, WebbyIT was requesting an update of the calculator app in the store earlier on, not sure if you saw it ^15:42
popeyi did not15:43
loicmtimp, nik90: the pile of covers (http://ubuntuone.com/4Ucd06LiKHatFc6DnWV0vt) can be rendered once without the need to be updated, so that should be fine15:43
popeydpm: will get it sorted15:43
dpmcool15:43
loicmtimp, nik90: a fragment shader implemented in a ShaderEffect might be enough to render that pile correctly15:44
nik90loicm: wonderful15:46
WebbyITdpm, popey, thanks :-)15:48
nik90loicm: I have never used fragment shader before. Would it be too much to ask for a sample app which combines two images? (pls)15:50
loicmnik90: if you've never used shaders before I guess you should just render that pile in the ShaderEffectSource using several QML Images, it will be much easier at the cost of slightly lower rendering speed and memory usage16:07
loicmnik90: that said to blend a texture over another one in a fragment shader, you should do something like that:16:07
loicmvec4 color1 = texture2D(tex1, coord1);16:07
loicmvec4 color2 = texture2D(tex2, coord2);16:07
loicmcolor1 + vec4(1.0 - color1.a) * color2;16:07
loicmnik90: to blend color1 on top of color2 using a SourceOver Porter/Duff operator16:07
nik90loicm: alrite. will try out both methods16:12
timploicm: I thought that setting shadereffectsource as input doesn't work because the type of the property is Image. But I didn't try it, and besides the property type there are no restrictions that would stop it from working.16:31
loicmtimp: the name is misleading, the type is Item :)16:32
loicmtimp: will be fixed in the upcoming one with the name changed to "source"16:33
timploicm: ahh. true. I misread. "Item" has some letters in common with "Image" ;)16:33
timploicm: cool.16:34
=== boiko_ is now known as boiko
nik90loicm: I tried using the shadereffectsource in a sample app -> http://paste.ubuntu.com/6715798/16:58
nik90however it shows up as a black image in the ubuntu shape16:58
nik90while the originial image appears fine16:59
nik90loicm: am I using the shadereffectsource wrong?16:59
loicmnik90: it doesn't seem so, that might be the issue pointed out by the bug :/17:13
loicmnik90: I'll try to take a look at the issue ASAP17:14
timpnik90, loicm the ShaderEffectSource doesn't have width/height. perhaps setting that helps17:23
ahayzenballoons, ping17:46
balloonsahayzen, pong17:46
balloonsahayzen, timp and I had fun this morning17:46
ahayzenballoons, sorry to bother u, u seen this? https://code.launchpad.net/~andrew-hayzen/ubuntu-ui-toolkit/fix-swipe-delete-001/+merge/199906/comments/46686017:46
ahayzenballoons, seems to have failed badly on mako?17:48
balloonsahayzen, yes I've seen it17:48
ahayzenballoons, wht were u and timp having fun with?17:48
balloonsyour merghe17:48
ahayzenballoons, ah lol17:49
ahayzenballoons, so wht is the issue? is it my end or the ci end?17:50
balloonsunsure.. I left it.. I'm trying to see what they discovered17:51
ahayzenah ok :)17:51
=== kalikiana_ is now known as kalikiana
=== salem_ is now known as _salem
ahayzenHi, is there anyway to make an object not within a sheet, to stay on top of the sheet when opened?22:43
nik90timp: you were right about the width/height missing the shadereffectsource. It now works! Thnx!23:38
nik90loicm: ^^23:38
loicmnik90: excellent23:48
loicmnik90: don't forget to set "hideSource" to true on the ShaderEffectSource, also the ShaderEffectSource itself shouldn't be visible I guess (but I'm not sure with regards to the current UbuntuShape implementation)23:53

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