=== chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun [06:54] zsombi: hey, I think I may doing something wrong with a Flickable + OptionSelector. Would appreciate if you can give a hand. Here is a small example: http://paste.ubuntu.com/12005153/ [06:54] what happens is: [06:54] - the flickable is not with contentY: 0 at start, it only behaves that way once drag [06:55] - it doesn't seem to take into account the new OptionSelector height when I click on it (seems it's clipped, and so, I don't have the options) [06:55] - this behavior is """fixed""" when I add the foo label. However, I find the OptionSelector animation to expand its choice to be jumpy [06:56] I hope the example is skimmed down enough to find what wrong in my practice :) [06:57] good morning [06:57] hey dholbach [06:57] hey didrocks [06:59] didrocks: the contentY is not at 0 at start as MainView header management adjusts it to be header.height [07:01] zsombi: doesn't seem to be recalculated in that example until I drag it [07:01] didrocks: let me check [07:07] didrocks: btw, you know that Column's width in the Flickable is 0 [07:08] zsombi: yeah, I changed it locally [07:08] didrocks: because Column's parent is the Flickable.contentItem, not the flickable :) [07:10] didrocks: ah, yeah, the flickable's topMargin and contentY is screwed.... t1mp may help you on that, he may know a trick to get this fixed [07:11] didrocks: but, also beware that childrentRect doesn't get updated :/ [07:11] zsombi: yeah, that's my second point, right? [07:11] didrocks: yes [07:11] zsombi: so, how to deal with this properly? [07:13] didrocks: actually I managed to fix the top margin :) [07:14] didrocks: but the OptionSelector ain't seem to work properly... [07:14] didrocks: if I put a label after it, it expands nicely [07:15] didrocks: if it is teh last component, you can see the background not expanding at all [07:15] didrocks: so OptionSelector looks the same, doesn't expand [07:16] zsombi: you don't need to put a label after it, it can be before (that's why I put a label and comment it) [07:16] didrocks: ahha... [07:16] zsombi: but anything less hackish? :) [07:16] didrocks: that seems to be a bug of OptionSelector then... [07:17] t1mp should be bugged as well on this? [07:17] didrocks: nope... [07:18] didrocks: OptionSelector is a bloatware... since we got it as a present, we got more problems with it than beneffit :( [07:18] didrocks: but, the flickable issue: [07:18] zsombi: as long as you provide me an alternative, I'm fine :) [07:19] didrocks: give an ID to your flickable (i.e. id: flickable), and set the width of the column using that (width: flickable.width) [07:19] didrocks: then, Flickable.contentHeight: column.height [07:19] didrocks: this will solve you the top margin issue [07:20] didrocks: also the childrentRect changes [07:20] zsombi: hum, I get the top margin issue fixed, but not the childrentRect one? [07:21] didrocks: for the OptionSelector, I'd use a Label with an empty string to get it working, and put it after the OptionSelector... I don't know whether we will have time to fix this bug on the component which is on teh deprecation list :( [07:21] didrocks: but, the flickable issue: [07:21] didrocks: you had two issues, I provided a fix for that first :) [07:21] "zsombi | didrocks: also the childrentRect changes" -> I thought you mentionned this non refresh [07:22] zsombi: what component should be used then, if no OptionSelector? [07:22] (also, there is no deprecation mention as of now) [07:22] didrocks: yes, it doesn't refresh, but that won't necessarily work with the extra label either... at least not always updates properly [07:22] it doesn't with the extra label [07:22] with empty text [07:22] didrocks: OptionSelector is on teh deprecation list, we are working on a component set to replace it, but we need time [07:23] didrocks: it works for me.... [07:23] didrocks: empty text means you have at least a space... sorry [07:23] ah [07:23] my mistake :) [07:23] yeah, the animation is horribly sloppy, but at least it works :) [07:24] ok, at least, I can log bugs and refer to that :) [07:24] thanks zsombi [07:24] it is, but that is just one problem with the OptionSelector [07:24] didrocks: there are bunch of others, like just not good for any app :/ [07:24] zsombi: well, we have to use something until you come with the new set I guess :) [07:24] didrocks: I know ;( [07:25] didrocks: also design changed a lot, and changing anything on the component is a pain :( [07:25] at least, the bugs will document for devs what's the workaround [07:25] zsombi: welcome to ubuntu! (on design changing a lot ;)) [07:25] didrocks: and we ahve ItemSelector and OptionSelector, both crap [07:25] *have [07:30] sudo su [07:30] oops :) [08:21] hey, I need help with my javascript animation in the qml canvas. None of the methods which are supposed to redraw, like requestPaint() or clearRect(0,0,width, height) redraw my canvas, but if i resize the window, i see progress. [08:21] it really drives me NUTS! [08:22] code is here: http://pastebin.ubuntu.com/12005466/ [08:33] it would be great to know which method is called even when the canvas resizes. Becausse if i resize it manually or from within the application, it redraws nicely. [11:04] I receieved some spam on google plus from a company who's logo made me thing it was some ubuntu product https://updraftplus.com/shop/updraftplus-premium/? [13:43] popey, is file manager going to get an update anytime soon? [13:44] I'd like to unpublish my x86 build of it :-) [13:48] balloons: yeah, will set aside some time to update it on friday if I can [15:25] hello guys [15:25] I need your help, I cannot export my application into my Aquaris E4.5 [15:25] Sdk-Launcher> Received a failed event [15:26] do you know why I have this error ? === chihchun is now known as chihchun_afk === a7med is now known as Neo31 [19:03] kalikiana: would be great to have a blog post about the new components on developer.u.c [19:04] mhall119: I guess I can do one. g+ is just tons easier :-D [19:06] kalikiana: it is, but blogs last longer and are easier to find [22:06] Hello I am trying to reset the Ubuntu SDK to it's "factory defaults" if that is the correct term, would anyone know where I should look? [22:06] The options don't immediately seem to offer any such option [22:07] I guess I could "apt-get purge" but that seems a little too much like the nuclear option [23:05] Can Ubuntu apps (which live in the top panel area) be written in Java? [23:22] skinux: do you mean indicators? [23:22] To begin with I suppose that would be it. [23:40] skinux: it should be possible, but I don't know about any ready-to-use Java library