[01:42] Does 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:44] Clarification: By "lists of items" I mean using QML === luKe is now known as Guest34450 [02:02] Hello, anyone have tried cordova to develop app? How to detect swipe gesture? [03:22] Is there documentation for U1DB? I don't think I understand how it works. [03:23] Nevermind, found it here: http://pythonhosted.org/u1db/quickstart.html [03:46] Nevermind again, it's basically useless for QML [07:59] good morning [09:33] Good morning all! :-D === JamesTai1 is now known as JamesTait === Ursinha is now known as Ursinha-afk === _salem is now known as salem_ [12:18] zsombi: I finished the dialer transition for the clock app. https://code.launchpad.net/~nik90/ubuntu-clock-app/dialer-transition/+merge/200740 [12:19] zsombi: When you have time, could you briefly go through it to see if the Dialer has been as you expected? [12:19] used as you expected* [12:20] nik90: I will check it [12:21] thnx [12:35] timp, ping [12:35] ahayzen: hello [12:36] timp, happy new year!.... could u reapprove this https://code.launchpad.net/~andrew-hayzen/ubuntu-ui-toolkit/fix-swipe-delete-001/+merge/199906 [12:36] timp, we had to rerun Jenkins...but balloons didn't have permission to approve the MP [12:37] ahayzen: done [12:37] ahayzen: happy new year to you too :) [12:37] timp, thanks === Ursinha-afk is now known as Ursinha [13:38] timp, autolanding failed again it seems: https://code.launchpad.net/~andrew-hayzen/ubuntu-ui-toolkit/fix-swipe-delete-001/+merge/199906 [13:39] https://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/4469/ [13:40] balloons: looks to me like jenkins broke somehow [13:41] timp, I pinged ci [13:41] balloons: ok [13:42] balloons: in the meantime, can you merge trunk to that branch? it fixes a test failure that we may run into later [13:42] * timp bbl [13:50] timp, 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 fine [13:54] balloons: 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] balloons: 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_parameters [13:54] % return_code [13:55] balloons: its like the device failed to initialize something, or lost its network or sth... [13:55] timp, I don't have any powers in ubuntu-ui-toolkit [13:55] timp, ahh.. follow-up with cprov in #ubuntu-ci-eng [13:55] balloons: cd fix-swipe-delete-001 && bzr merge lp:ubuntu-ui-toolkit && bzr commit -m "merge trunk" && bzr push [13:55] ok [13:56] timp, yes, but it's andrew's branch not mine.. I can rebranch it, but I've gtg atm [13:57] balloons: nevermind. we can try without when CI works. perhaps jenkins merges it properly already, if not I'll ask andrew === elopio_ is now known as elopio [14:18] Hey dpm, could you update calc app on the store? [14:18] see https://bugs.launchpad.net/ubuntu-calculator-app/+bug/1251548/comments/3 [14:18] Launchpad 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:27] Does anyone know how to add multiple images to a Ubuntu Shape without losing the corner radius? [14:27] it seems that if I add a row of images inside the ubuntu shape, the corners become sharp. [14:34] nik90: how do you do that? UbuntuShape has only one image property [14:37] timp: I know..but here is what I want to achieve http://ubuntuone.com/4Ucd06LiKHatFc6DnWV0vt [14:38] its a ubuntu shape where multiple album covers are present as per design [14:38] but I have no idea how to actually implement it [14:39] nik90: hmm [14:39] nik90: theoretically a ShaderEffectSource will work as the input for UbuntuShape, but currently the property type does not allow that [14:40] loicm: ^ are there upcoming changes to UbuntuShape that allow to put Items inside it? [14:43] timp: okay [14:44] timp: atleast I can reason this out while proposing the MP and keep an eye out on the ubuntu shape feature set. [14:47] nik90: you may want to track this bug - https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1089595 [14:47] Launchpad bug 1089595 in Ubuntu UI Toolkit "[shape] UbuntuShape should shape more general Item-based components" [Wishlist,Triaged] [14:49] timp: thnx [14:49] nik90: I linked your image in a commend for that bug [15:39] timp, 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:42] popey, WebbyIT was requesting an update of the calculator app in the store earlier on, not sure if you saw it ^ [15:43] i did not [15:43] timp, nik90: the pile of covers (http://ubuntuone.com/4Ucd06LiKHatFc6DnWV0vt) can be rendered once without the need to be updated, so that should be fine [15:43] dpm: will get it sorted [15:43] cool [15:44] timp, nik90: a fragment shader implemented in a ShaderEffect might be enough to render that pile correctly [15:46] loicm: wonderful [15:48] dpm, popey, thanks :-) [15:50] loicm: I have never used fragment shader before. Would it be too much to ask for a sample app which combines two images? (pls) [16:07] nik90: 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 usage [16:07] nik90: that said to blend a texture over another one in a fragment shader, you should do something like that: [16:07] vec4 color1 = texture2D(tex1, coord1); [16:07] vec4 color2 = texture2D(tex2, coord2); [16:07] color1 + vec4(1.0 - color1.a) * color2; [16:07] nik90: to blend color1 on top of color2 using a SourceOver Porter/Duff operator [16:12] loicm: alrite. will try out both methods [16:31] loicm: 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:32] timp: the name is misleading, the type is Item :) [16:33] timp: will be fixed in the upcoming one with the name changed to "source" [16:33] loicm: ahh. true. I misread. "Item" has some letters in common with "Image" ;) [16:34] loicm: cool. === boiko_ is now known as boiko [16:58] loicm: I tried using the shadereffectsource in a sample app -> http://paste.ubuntu.com/6715798/ [16:58] however it shows up as a black image in the ubuntu shape [16:59] while the originial image appears fine [16:59] loicm: am I using the shadereffectsource wrong? [17:13] nik90: it doesn't seem so, that might be the issue pointed out by the bug :/ [17:14] nik90: I'll try to take a look at the issue ASAP [17:23] nik90, loicm the ShaderEffectSource doesn't have width/height. perhaps setting that helps [17:46] balloons, ping [17:46] ahayzen, pong [17:46] ahayzen, timp and I had fun this morning [17:46] balloons, sorry to bother u, u seen this? https://code.launchpad.net/~andrew-hayzen/ubuntu-ui-toolkit/fix-swipe-delete-001/+merge/199906/comments/466860 [17:48] balloons, seems to have failed badly on mako? [17:48] ahayzen, yes I've seen it [17:48] balloons, wht were u and timp having fun with? [17:48] your merghe [17:49] balloons, ah lol [17:50] balloons, so wht is the issue? is it my end or the ci end? [17:51] unsure.. I left it.. I'm trying to see what they discovered [17:51] ah ok :) === kalikiana_ is now known as kalikiana === salem_ is now known as _salem [22:43] Hi, is there anyway to make an object not within a sheet, to stay on top of the sheet when opened? [23:38] timp: you were right about the width/height missing the shadereffectsource. It now works! Thnx! [23:38] loicm: ^^ [23:48] nik90: excellent [23:53] nik90: 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)