[07:50] AlanBell, you need ppa:ubuntu-sdk-team for newest SDK [07:57] MacSlow, o/ long time no see :) [08:17] tsdgeos, \o [08:17] Saviq: welcome, how was south africa? [08:17] tsdgeos, hot and sunny ;) [08:18] tsdgeos, now back home - 10° below 0 here ;) [08:18] booo [08:18] so ~ 40° degrees difference ;) [08:18] -degrees [08:18] tsdgeos, how was here? [08:19] otto broke again [08:19] and then fixed itself [08:19] except for one particular test [08:19] so we have all CI failing again [08:19] tsdgeos, :/ [08:20] tsdgeos, fginther wrote that it disappeared with updates to lp:unity-scopes-api [08:21] And i discovered the Qt 5.2 JS engine is totally broken in x86, but failed to get any traction from upstream to fix it https://codereview.qt-project.org/#change,76374 https://bugreports.qt-project.org/browse/QTBUG-36430 https://bugreports.qt-project.org/browse/QTBUG-36289 [08:21] Saviq: https://app.asana.com/0/9785046628744/9782553540311 is tracking the new one [08:21] there's a new comment in there, i'll see if i can get it to fail doing what they say [08:22] tsdgeos, apparently I don't have access to that task or something - empty here [08:22] Saviq, hey :) [08:24] Saviq: hmmm, there's a "Make public to canonical.com addresses, but not sure if the guys will get angry if i do that :D" [08:24] tsdgeos, yeah, leave it to them [08:24] Saviq: anyway, the interesting link was https://wiki.canonical.com/UbuntuEngineering/CI/Playbook/UpstreamMerger#Reproducing_generic-mediumtests-runner_touch_testing [08:25] tsdgeos, mhm [08:43] ricmm, o/ how's Londres? [08:44] * tsdgeos tries reproducing the otto failures with those instructions [08:46] Mirv: ping [08:48] tsdgeos: pong [08:48] Mirv: seen my comments from friday about qtubuntu? [08:48] in this channel [08:49] tsdgeos: yes. not really sure why it'd be, but at least the qtdeclarative snapshot was added only after the last rebuild. so I triggered another rebuild, but I haven't got my device yet to the state of testing it. [08:49] ok [08:59] Saviq, heya, back from holidays? [08:59] mhr3, yup, here [08:59] mhr3, I saw you had some confusion with the preview JSONs in #ferrets? [09:00] Saviq, yep can we talk in a bit? [09:00] also thomas wants to join [09:00] Saviq, in 30mins good for you? [09:00] mhr3, sure, I've a half-hour at 11am/UTC, free until/past that [09:01] mhr3, yeah [09:03] Saviq: oh, so the blurry icons thing was already reported :D good thing i didn't know so i did actually look into it instead of just duplicating ^_^ [09:03] tsdgeos, ;) [09:06] tsdgeos, I saw bug #1271676 creep up on us some time ago, feels like a LVWPH issue? [09:06] bug 1271676 in Unity 8 "Launching an app from the app scope causes app scope to jump to the top" [High,Triaged] https://launchpad.net/bugs/1271676 [09:06] Saviq: isn't that the expected behaviour? [09:07] i mean you launch an app it shows the running apps [09:07] i thought it was by design [09:07] tsdgeos, not if you scrolled down [09:07] tsdgeos, i.e. expand "Installed", scroll to the bottom, launch → it jumps to top [09:08] should remain in place, IMO (and should definitely *not* jump in just one frame) [09:09] pete-woods, hey, any idea how https://errors.ubuntu.com/problem/5eef1d661e41b06e44728924231b45e26457dbb7 might happen? [09:09] Saviq: perhaps if the XDG_DATA_DIR environment variable was messed up somehow? [09:09] pete-woods, and whether we could/should protect against it? [09:10] pete-woods, hmm [09:10] Saviq: ah ok [09:10] Saviq: i can have a look then [09:10] Saviq: I guess that must be where gsettings-qt looks for the schemas.. [09:10] Saviq: let me try reproducing the autopilot/otto errors first though [09:10] tsdgeos, of course [09:11] but why does it log fatal? seems a bit dramatic [09:11] pete-woods, that's G [09:12] true! [09:12] pete-woods, you need to check for a schema to exist before trying to load it [09:12] Saviq: okay, that's a good idea, I'll try and figure out how to do that with the API [09:13] pete-woods, I think it'd need to be gsettings-qt that needed changing, TBH [09:13] larsu, WDYT? https://errors.ubuntu.com/problem/5eef1d661e41b06e44728924231b45e26457dbb7 [09:13] larsu, protect against crash because of missing schema in gsettings-qt? [09:19] Saviq: ah, the old discussion :) [09:20] larsu, I imagine it is ;) [09:20] Saviq: why is this happening. Is unity supposed to work even when UserMetrics is not installed? [09:20] larsu, we don't yet know the reason, but yes it should [09:21] larsu, as I haven't seen anyone reproduce it [09:21] Saviq: right. In that case, I think we should have a way to find out if it is installed [09:21] because which values of which types should gsettings-qt return if the schema is not installed? [09:22] probably unity would crash anyway (or behave weirdly) if we just returned empty variants [09:22] larsu, undefined, probably ;) [09:22] well, it looks like they're really old installations - unity8 from Oct 16, and I don't know of a way to reproduce... [09:23] Saviq: uninstall UserMetrics probably :) [09:24] larsu, well, yeah, :P [09:24] larsu, I mean not sure how that happens to people [09:25] Saviq: usermetricsservice (the package that contains the schema) is not a dependency of unity8 [09:25] mzanetti, oi man o/ [09:26] larsu, it is through libusermetricsoutput1 [09:26] * greyback waves [09:26] Saviq: ah, through unity8-private, thanks. Well in that case the bug can't happen and we should ignore it :P [09:27] larsu, yeah indeed [09:28] greyback, \o got home OK? [09:28] greyback, how long at the airport before you could check in? [09:28] Saviq: yep, home ok. I managed to check in at 6.30, so wasn't long wait [09:28] greyback, good [09:49] tsdgeos: confirming qt 5.2 unity8 now runs. apps lens seems to be empty, and starting an app from the home lens does not work, but all in all seeing unity8 itself smooth and working looks really nice. [09:49] Mirv: i had the apps lens i think [09:49] it seems I'm able to launch stuff via indicators, like battery view [09:50] but maybe not [09:50] don't really remember [09:50] yeah, system settings etc works via indicators, just not via normal app launchers [09:50] Saviq: welcome back, and sorry for the highlighting noise :) [09:53] Saviq: so this actually works now. http://pastebin.ubuntu.com/6808355/ - the qtmultimedia-touch packaging does not clean itself up, otherwise those lines wouldn't be needed [09:53] Mirv, hey, no worries [09:54] Mirv, cool beanz [10:09] tsdgeos, 2:30pm for a hangout about CI train? [10:10] Saviq: it's a bit tight with my lunch schedule but should work [10:11] tsdgeos, no that's fine [10:11] tsdgeos, say when [10:11] 3pm is a bit better [10:11] s/bit// [10:13] tsdgeos, ok, half an hour should do I think, mzanetti ↑ [10:13] * Saviq does invite [10:14] still fine with me === dandrader is now known as dandrader|bbl === MacSlow is now known as MacSlow|lunch [11:06] bah [11:06] took me ages to setup that thing for autopilot [11:06] just to have it still succeed [11:06] :D [11:06] :'( [11:09] :/ [11:11] Saviq: do we know if the QA phones use trusty or trusty-proposed? [11:11] we do [11:11] because it upadtes [11:11] tsdgeos, good question [11:11] * tsdgeos checks [11:12] doesn't seem to use -proposed [11:12] wonder if that is the case since i'm using it [11:13] let me flash the phone with trusty only and see if it fails then [11:13] tsdgeos, hmm I'm seeing -proposed http://s-jenkins.ubuntu-ci:8080/job/touch-flash-mako-0090f741e3d141bc/792/console [11:13] Saviq: but https://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/2266/consoleFull ? [11:13] tsdgeos, otto is on x86 [11:13] tsdgeos, no images there [11:14] is it? [11:14] tsdgeos, yup [11:14] and why am i pointed at stuff running on the phone? [11:14] sigh [11:14] "ps-nvidia-gt630" [11:14] is what this job run at [11:14] ok [11:15] question, if i pass a qobject without a parent to qml, will it take ownership of it by calling setParent()? [11:16] what's "pass a qobject" ? [11:16] mhr3, ownership, not parentship [11:17] mhr3, I don't think it will assign a parent... [11:17] so i will try yet again on my desktop just for the fun [11:17] tsdgeos, return from a model, for instance [11:17] no, won't call setparent at all [11:17] in that case the model we're using is kinda broken [11:18] mhr3, meaning? [11:18] we construct a preview before emitting previewReady() with the preview as a param, if there was noone listening to that signal the instance would leak [11:22] and setting the scope as the preview parent doesn't seem to be helpful unless shell notified the plugin everytime it's done with a preview [11:26] sounds like the correct way to do this would be to return an object from the preview() request itself and have a finished() signal on that when all the data is ready [11:29] so yeah, oran again the tests on my machine and still work _:'( === _salem is now known as salem_ [11:48] Saviq: Welcome back :) [11:48] karni, hey, how are you? [11:48] Saviq: Not bad, thanks :) Rested after your holiday? :) [11:49] karni, when have you last rested on holidays, I ask you? [11:49] ;) [11:49] Saviq: honestly, had to take last Thursday off. We're not that long after christmas, are we? haha [11:50] karni, I rather meant that I could usually use another week or two to actually rest past the holiday part ;) [11:51] Saviq: I found that ResponsiveGridView margins always evaluate to 0, and all columns have spacing to its right (including the last one), which is clearly visible when you do tryFilterGrid. That was highly confusing :S [11:51] Saviq: hahahahahah right ;) [11:51] Sometimes I don't get the simplest jokes lol [11:51] karni, that's right, the tiles themselves need to center themselves [11:52] karni, as the Grid doesn't actually change the size of the delegates [11:52] Saviq: Does Card(.qml) center itself? i.e. the renderer should not care? [11:52] karni, no, it doesn't indeed [11:52] karni, but there's more - Card doesn't know about the size it "should" be [11:53] karni, so it's CardFilterGrid that should wrap the Card in an Item, that will be sized accordingly [11:53] karni, and which will center the Card inside of itself [11:53] I see. And about margins - if they always evaluate to zero - does that mean we're not interested in ResponsiveGridView margins? If so, I'd like to remove those bits. I tried to make them work, which resulted in really strange behavior of 2 columns always displaying as one, as if there was not enough space (all worked fine for 3+ number of columns) [11:54] Saviq: That makes sense. I wonder if that's the case already, I recall CardFilterGrid had "Card" as delegate [11:54] karni, which was probably a fail on my part [11:54] aha [11:55] Saviq: I understand that I should drop the "margin" evaluating code from ResponsiveGridView, because they always (mathematically) resolved to zero width. [11:56] karni, if you can confirm they did, yeah [11:56] karni, but I'm not entirely sure that's correct [11:57] Saviq: I'll find that and let you know. [11:57] karni, thanks [11:57] sure [11:58] karni, yeah, if I resize the window, I get them to be 8/14 or something [11:59] karni, I mean onMarginsChanged: console.log(margins) in ResponsiveGridView [11:59] karni, prints different values, depending on the size of the window [12:00] Interesting. [12:07] Saviq: ok, let's start elsewhere. qml/Components/ResponsiveGridView.qml ln 73 columnsForSpacing function - the formula should be return Math.max(1, Math.floor(parent.width / (delegateWidth + spacing))); [12:07] Saviq: me and tsdgeos agree on that, I just wanted for you to validate. [12:07] Saviq: if margin is half of spacing, then we should divide parent.width over (delegateWidth + spacing) -- the last spacing is spread over two margins. [12:08] There's no reason anything would be subtracted from parent.width before division. [12:08] Is there. [12:12] karni, spacing is only applied on one side of the delegate, so I feel like it does make sense [12:13] karni, taking "// minimum margin is half of the spacing" into account [12:13] Saviq: and by "margin" the author meant "sum of left and right" margins? [12:14] Saviq: spacing is only applied in one side of the delegate?¿ [12:14] 2x spacing/2 = spacing. n-1 columns have spacing. n*(delegateWidth + spacing) would make n columns, n-1 spacings, and 1 spacing being both margins. [12:14] * Saviq needs a drawing [12:14] Saviq: sending it to you [12:15] Sent. [12:15] tsdgeos, in RGV we're not *really* using GridView's spacing [12:15] Saviq: what are we using? [12:16] tsdgeos, nothing, we're just telling the delegates to center within themselves [12:16] tsdgeos, and tell them their size [12:16] tsdgeos, which, granted, might not be the best thing to do [12:16] Saviq: RGV is not doing that, is it? [12:16] maybe someone below is doing that [12:16] tsdgeos, no, it's just telling: [12:17] tsdgeos, ok, I've space for so many columns, and each of them is so wide [12:17] but if you think in RGV terms what karni says makes sense, actually if you look at the test you see it's wrong [12:17] Saviq: CardFilterGrid also has "Card" as immediate delegate. Maybe that is why I was confused. [12:17] karni, yeah, it shouldn't have [12:17] ok, now I understand [12:17] tsdgeos, so it tells the delegate to *be* that size, and center within itself [12:18] tsdgeos, karni, anyway, I don't think I'm needed here, if you guys understood it and say that's incorrect, I'm fine with that [12:18] yes and no :D [12:18] trying to be the devil's advocate here [12:18] i think there's something wrong at both levels [12:18] and that one wrong fixes the other [12:19] * karni tries something on new-scopes branch [12:19] karni, tsdgeos the "minimum margin is half of the spacing" part is an assertion [12:19] yes [12:19] yes, I did take that into consideration [12:19] 2 margins (left+right) = 1 minimum spacing [12:19] and the calculation takes it into account [12:19] not really [12:19] wait.. *thinks* [12:19] i mea [12:19] it does [12:19] but right [12:19] that's not the issue [12:19] if we center the children [12:19] the issue is that it also takes into account an *extra* column [12:20] on the right [12:20] then last column could also have "spacing" [12:20] yeah now I see what you mean [12:20] Now that I know children are centered in the delegates, there's a slighty different light to the matter. [12:20] but [12:20] the "last" spacing [12:20] still, if *one* margin is spacing/2 [12:21] it is true that make tryResponsiveGridView [12:21] then both add up to *spacing* [12:21] makes it look centered [12:21] is the one that is "sacrificed" for left and rigth margin [12:21] while make tryFilterGrid [12:21] is not [12:21] +1 [12:21] so someone is doing it wrong somewhere :d [12:21] Looking at the code I assumed there was no layer between the delegate and the future (Card) delegate. No item we could center in. [12:21] That is why tryFilterGrid was right aligned [12:22] If we allow an Item above the delegate body, we can center the child. [12:22] karni, we need to, as the positioners won't do it for use [12:22] - [12:22] -e [12:22] So, tryFilterGrid would also look different, it's just the test is implemented in this way. [12:22] Right [12:22] karni, tsdgeos, ok I agree the right-most spacing in that calculation is "sacrificed" for left/right margin [12:23] so no need for the subtraction [12:23] Saviq: Now I don't :| Because if that was the case (which I initially thought) then if delegates are center aligned (in the width including the spacing), where would the last column *align*? [12:24] (and I was the one suggesting it was wrong) [12:24] karni, the whole thing is shifted from the right [12:24] karni, so it still centers within itself [12:24] ok [12:24] karni, but the whole thing is pushed from the left by margin/2 [12:24] so on the right there's still margin/2 space [12:25] * karni admits he needs a moment to think about it [12:25] I was assuming spacing was always to the right, that's why we 1) neede margins 2) needed not spacing for the last column [12:26] If we center align delegate bodies, left margin + bit of spacing (that'd appear on left and right of center-aligned left most delegate) would be more than right margin of the grid view [12:27] karni, spacing is actually "inside" the delegate in our case [12:27] correct [12:27] so it's centered within that [12:27] it's only used to calculate how big the delegate is meant to be [12:28] so every delegate is minimumWidth + spacing wide [12:28] return Math.max(1, Math.floor((parent.width - spacing) / (delegateWidth + spacing))); (not -spacing/2) would be correct formula now, knowing delegates have center aligned bodies. [12:28] exactly [12:28] And because of that, I take back we should not subtract anything from parent before division. We should, the width of both margins. [12:29] * karni makes a new picture [12:34] Saviq: tsdgeos: Sent updated picture, considering center-aligned body of the delegates [12:35] Maybe one of you could point out what I'm not getting right in the new situation. [12:35] Margins are specifically free space on left and right of the layout, different from the "free space" that may show up on left/right of a delegate because of it's center-alignment. === MacSlow|lunch is now known as MacSlow [12:36] karni, right, and in effect all spaces are equal A === salem_ is now known as _salem === _salem is now known as salem_ [12:37] Saviq: and there's n+1 of them [12:37] thus (parent.width - spacing) / (delegateWidth + spacing) [12:38] ok [12:39] karni, yes, but that's why the /2 I think, in your case all spaces are always equal, where the left/right margin was meant to be able to be /2 [12:39] but that assumes that the delegate will center itself [12:39] tsdgeos, RGV does assume that [12:39] if it doesn't will look bad [12:39] but ok [12:39] tsdgeos: yes, and it turns out we should assume that. [12:40] tsdgeos, karni, I think that's because we wanted to allow smaller margins than spacing [12:40] Saviq: You mean the comment was meant to be "the sum of left and right margin equals spacing/2 at minimum"? [12:40] or well, Kaleo did [12:41] it's so confusing the code says "margin" and in fact means "left+right margin" [12:41] karni, no, the _visual_ left/right margin is meant to be A/2 at minimum [12:41] right [12:41] oh [12:41] karni, I don't think it does [12:41] ... [12:41] _visual_ [12:41] karni, so in your image, if you take the extreme A/2 out [12:42] that will result in visually A/2 left and right, and A between items [12:42] karni, but your formula wouldn't allow it [12:44] karni, if you go tryResponsiveGridView, maxCol 1000, minSpac 16 [12:44] karni, you can see we're at 8px on left/right, but 16 between items [12:44] 8px to the left of grid item, 16px between delegate bodies, yes [12:45] karni, that's actually when you drop the -spacing/2 [12:45] yes [12:45] karni, when it's there, you get huge margins [12:45] so, parent.width / (delegateWidth + spacing), is that right? [12:45] karni, that sounds correct to me, yes === dandrader|bbl is now known as dandrader [13:00] karni, just saw your crash in the vj with filter integration, it looks like you've looped the models somehow [13:01] karni, as it's calling roleNames() on itself until it decides it's enouh [13:01] +g [13:02] karni, yup: property alias model: verticalJournal.model [13:02] model: LimitProxyModel { [13:02] model: root.model [13:03] karni, which means the LimitProxyModel uses itself as the backing model [13:03] :O [13:03] tsdgeos: you where right... I did loop them [13:05] truth be told I'm not sure we want the LimitFilterModel at all any more... [13:05] karni, tsdgeos, as we talked, now that we have delegate ranges, we can just clip the views and let them just not draw the delegates outside of the views [13:06] sure, I really doubt the overhead of drawing one more row (and would we, actually?) is worth the whole Filter dance [13:07] -sure [13:07] I dont think I'm familiar with delegate ranges, but I do know VerticalJournal has no concept of row so.. I got stuck there a bit. [13:07] karni, yeah, exactly [13:08] karni, QML *Views only draw the delegates that are within their geometry [13:08] karni, so, say your GridView is fullscreen, and you can only see 3 rows, 2 items each [13:09] neat [13:09] karni, the GridView will make sure to only instantiate/draw the delegates you have on screen, not the whole model [13:10] karni, in the dash our problem is that we make the *Views as high as their content is, so that the overall ListViewWithPageHeader behaves correctly [13:10] karni, so when you expand a category, it expands to its full height, and draws all of them [13:10] karni, so tsdgeos introduced two new props: delegateCreationBegin and *End [13:10] ahaa [13:11] okay :D [13:11] karni, those were unfortunately rejected upstream, but the reason was "because we want to re-do it somewhen in the future completely, and don't touch the crap, 'cause it stinks" [13:11] karni, with no timeframe [13:11] karni, so we patched the *Views to include the two above [13:12] karni, which let us tell the *Views that instead of considering your full geometry, only draw the delegates between *Begin and *End [13:13] karni, which results in only the delegates which you can see being drawn, even though the *View itself is full-height [13:14] karni, so yeah, I'm basically starting to think we should drop the *Filter* parts, and just clip the views / change their geometry, so that they take care of the delegates themselves [13:15] karni, especially with VJournal, where there are no rows, as you said yourself [13:15] Now I get it :) [13:16] Saviq: thank you for the explanation [13:16] Saviq: so delegateCreationBegin/End are used for clipping the rest? [13:16] karni, so yeah, don't do filtering for VJ [13:16] Saviq: hey, so we still have the issue that the phone's rendering performance drops drastically when we have more than ~5 apps open. [13:16] which turns out to be an issue for showcasing the right edge [13:17] karni, well, in that case it's actually not even the delegate*Begin/End, but just the view geometry [13:17] cause first thing you do with that branch is to check how it looks with 10 apps in it [13:17] mzanetti, file a new bug against unity8 and mir please [13:18] ok [13:18] mzanetti, and unity-mir, too, in case it's something there [13:18] karni, what's more, as you probably saw in the spec [13:18] Saviq: clip at 35gu height [13:18] karni, exactly [13:18] karni, so just do that in CardVJ [13:18] Saviq: given that everything gets slow, I expect it to be in mir's rendering code. but yeah, I'll put all related stuff to it [13:19] karni, height: filtered ? min(35GU, fullHeight) : fullHeight [13:19] karni, pseudo-code of course [13:19] Saviq: ack, thank you :) [13:27] Saviq: https://bugs.launchpad.net/unity8/+bug/1273224 [13:27] Ubuntu bug 1273224 in Unity 8 "Rendering gets really slow with more than ~4 running (or well, suspended) apps" [Undecided,New] [13:27] mzanetti, thanks [13:31] mzanetti, confirmed [13:31] Saviq: nice [13:32] Saviq: given that this issue exists ever since we switched to Mir and noone cared about it, I guess we should raise this bug with kgunn [13:32] mzanetti, yup [13:32] ok. I will do so === salem_ is now known as _salem [13:40] Saviq, mzanetti btw bug 1227739‎ is probably related [13:40] bug 1227739 in platform-api "Mir continues to render background application surfaces even when they're not visible" [High,In progress] https://launchpad.net/bugs/1227739 [13:49] om26er: interesting, might be related indeed [13:50] om26er, about QT_LOAD_TESTABILITY, did you use --global for set-env? [13:51] Saviq, yes I did, I tried with and without it [13:51] even I just replied to your comment there [13:52] I did: [13:52] initctl set-env --global QT_LOAD_TESTABILITY=1 === dandrader is now known as dandrader|afk [13:53] om26er, truth be told, did it *ever* work like that for apps? [13:53] om26er, we have a bit of code in unity8's main() [13:54] om26er, that loads testability based on the env var, but that would suggests it's a unity8-specific thing at the moment [13:54] Saviq, network failed me. did you read my message ? [13:55] om26er, truth be told, did it *ever* work like that for apps? [13:55] om26er, we have a bit of code in unity8's main() [13:55] om26er, that loads testability based on the env var, but that would suggests it's a unity8-specific thing at the moment [13:55] Saviq, how much effort is it to hook up tapping in new-scopes? [13:55] Saviq, Yes, it worked for me a couple of weeks ago [13:55] Saviq, cuold use it so i can test the previewing and stuff [13:55] Saviq, I had a working script [13:56] om26er_, either way it's not a unity8 issue [13:56] om26er_, not sure where it happened for apps, then [13:56] om26er_, hopefully thomi/veebers will know [13:56] mhr3, let me see [13:57] Saviq, right, QT_LOAD_TESTABILITY is that a qt flag or does it live inside autopilot ? [13:57] om26er_, it needs to be interpreted by Qt [13:58] seems like card itself is just missing onClicked... plus some uncommenting then [13:59] mhr3, http://paste.ubuntu.com/6826324/ should get you going [14:00] Saviq, mind just pushing that to new-scopes? [14:00] Saviq: sup [14:00] Saviq: Londres is good as usual [14:00] mhr3, otp now [14:00] but im tired of not being home [14:00] Saviq, i take that as "feel free to push yourself" :) [14:00] mhr3, as long as you fix it first ;) [14:00] mhr3, or verify it works, at least [14:03] ricmm: I know that feeling :) === dandrader|afk is now known as dandrader [14:30] all: kgunn, Saviq, tsdgeos and me will be a bit late for the standup. Cimi, can you take over with guiding the standup? [14:31] mzanetti, sure [14:37] kgunn, going to standup [14:39] Saviq: ack, i'm in ...my network freaked out [14:40] kgunn, your pulseaudio freaks out again, too :/ [14:42] didrocks, were the compiz/nux/unity7 daily PPA builds really supposed to be turned off again? The latest rare and precious CI build failed because of weeks-old binaries. [14:43] bregma: I asked to turn it on on Friday, not sure if it was done. let's see if sil2100 can have a look ^ [14:44] didrocks, bregma: those don't seem to be re-enabled from what I see, let me reenable [14:44] is there any reason why the dailes need to be turned off? nothing in Touch depends on them, they're leaf nodes [14:46] bregma: we had all dailies disabled and doing only manual stack runs because of some crucial landings - but we can reenable now I guess [14:46] didrocks: can I reenable? [14:46] sil2100: sure, I asked on Friday already :) [14:46] sil2100: thanks a lot! [14:48] elopio: a, forgot to mention: at some point we did have those coverage results in jenkins, but some jenkins upgrade broke the collection of artifacts and we didn't get it back since [14:48] didrocks: oh, one question while we're at it - the unity stack has like unity-scope-mediascanner in it, and since it's basically a unity8-specific scope, it's not building for powerpc [14:48] elopio: but the coverage.xml file generated by runtests.sh is compatible with jenkins [14:48] didrocks: so the unity stack keeps waiting for it in the build phase, while it depwaits [14:48] didrocks: can we disable this one scope for powerpc in cu2d in the unity stack build? [14:48] didrocks: or it's per-stack only? [14:49] sil2100: it can be per project, but it's per run [14:49] mzanetti: good to know, I'll take that into account. [14:49] so you will get the same issue in the next 8 hours [14:49] kgunn: may I ask you to create some visibility/priority on this one? https://bugs.launchpad.net/unity8/+bug/1273224 [14:49] Ubuntu bug 1273224 in Unity 8 "Rendering gets really slow with more than ~4 running (or well, suspended) apps" [Undecided,Confirmed] [14:49] didrocks: ah, cu2d-skip - but a global skip, like for unity8 stack? [14:49] didrocks: since you made unity8 ignore powerpc right? [14:49] sil2100: yeah, it's support per stack or per projects IIRC [14:49] (for ever) [14:49] no [14:49] it doesn't ignore forever [14:50] it ignores because it was never published in ubuntu [14:50] on powerpc [14:50] ah, ok [14:50] Crap [14:50] Thanks ;) [14:50] mzanetti: ack [14:50] sil2100: yw! ;) [14:52] tedg: were you involved in the original "multiple apps open = slow" investigation ? [14:55] mzanetti: neither the plugins or qml folder seems to have the qml files included with the Unity/Indicators plugin. Any idea what needs doing? [14:55] dednick: what? [14:55] kgunn, Sorry, xchat crashed. [14:55] kgunn, I don't think I was in that one. [14:56] dednick: ah... you're missing qml files in the project tree? [14:56] mzanetti: you did the CMake thing for qtcreator right? [14:56] mzanetti: yah [14:56] dednick: where are they? [14:57] mzanetti: plugins/Unity/Indicators/qml [14:57] Are unity8 CI runs just borked? I have a simple branch that doesn't even touch anything tested and they are failing [14:57] dednick: I see. I'd suggest adding them to the Indicators target in there [14:57] mzanetti: maybe they should be moved to qml/plugins/Unity/Indicators ? [14:57] Saviq: ^ ? [14:58] tsdgeos, I have some info on the unity8 otto test failure [14:58] fginther: cool [14:58] dednick: so yeah, either that or add them to the target in plugins/Unity/Indicators [14:58] tsdgeos, the problem appears to be dependency related. If I remove http://naartjie.ubuntu-ci/archive/head.unity8/trusty/ as an apt archive, the tests pass [14:59] mterry, yes, tsdgeos and fginther are on it ↑ [14:59] mzanetti: ok, thanks [14:59] dednick: I for one would keep them where they are and add them to the target in there. [14:59] Saviq, awesome [14:59] tsdgeos, example: http://s-jenkins.ubuntu-ci:8080/job/autopilot-testrunner-otto-trusty/2297/ [15:00] woot, i think i just found a bug in lvpwh [15:00] fginther: interesting, i was thinking that was the case, but when i ran on the phone with naartjie enabled it still worked, but i'll try again on my desktop [15:01] mzanetti, not sure what question am I supposed to answer? [15:01] fginther: have you been able to reproduce the problem locally? [15:01] Saviq: would you keep indicators qml files where they are and add them to the target in there, or would you move them to qml/ so they show up in the project tree in there? [15:02] tsdgeos, I'm not in a position to retest locally at the moment, but I have another example: [15:02] mzanetti, dednick, I think we'll be splitting up other .qmls a bit into plugins, too, so yeah, keep them there [15:02] ack [15:02] http://s-jenkins.ubuntu-ci:8080/job/autopilot-testrunner-otto-trusty-debug-fjg/15 also passed when I removed the naartjie source, but failed when it was there (see build 14) [15:03] tsdgeos, this appear to be desktop only perhaps? [15:03] fginther: might be [15:03] fginther: i'll try polluting my destkop with naartjie and see what happens [15:04] tsdgeos, there are only a few packages there, you should be able to track them and revert back when you're done [15:09] mzanetti: hm, as far as i can tell, they are added to a target. Although it uses a macro to do it... === rachelliu_ is now known as rachelliu [15:18] dednick: still not working? need help? [15:18] mzanetti: please [15:19] ack. [15:20] mzanetti: thanks. [15:20] mzanetti: what actually determines which files are added to project in creator? [15:21] dednick: with cmake, I think it's listing everything that's given as source of a target [15:21] mzanetti: the plugins/Unity/Indicators/qml folder is there with the CMakeList.txt file, but there's no other files listse [15:22] mzanetti: hmm. let me try adding files on another target to confirm [15:24] dednick: https://code.launchpad.net/~mzanetti/unity8/indicators-qml-to-cmake/+merge/203351 [15:26] dednick: just pushed again to align it with the rest of the file [15:28] hm. wonder why it doesnt work with the export_qmlfiles macro [15:28] mzanetti: ^ ? [15:28] * mzanetti reads [15:29] dednick: I don't think it does custom_targets, only real targets [15:29] dednick: as custom targets mostly do some command line execution which cmake and qtcreator don't have any clue about [15:30] i c [15:30] fginther: awesome, it fails :-) [15:30] dednick: but yeah, we try to could create some no-op but real target inside the macro I guess [15:30] which means NOT_OUR_BUG [15:30] btu still have to fix it :D [15:31] ... we could try... [15:31] mzanetti: yup, looking at it now [15:31] cheers [15:33] tsdgeos, whew! glad that helped [15:36] mzanetti: hm... there doesnt seem to be a target for the root/qml qml files other than the install target. so... [15:52] * tsdgeos does evil eyes to MacSlow and mzanetti [15:52] tsdgeos, ? [15:52] your last unity-notifications breaks your notification unit tests in unity8 [15:53] tsdgeos, outch [15:53] yeah, has been making our CI fail the whole last week and i was blaming CI machines [15:53] just did not understand they used some packages that are not in distro [15:55] tsdgeos, so it's got to be r192 of lp:unity-notifications [15:55] 193 [15:56] oops [15:56] tsdgeos: hmmm... does that mean we should run unity8 tests when merging to unity-notifications? [15:56] mzanetti: that means unity-notifications needs better tests :D [15:57] mzanetti, tsdgeos: hm [15:57] tsdgeos, do you have a link to one such CI-failure handy? [15:58] mzanetti: please build unity-notifications, install it, and then run PYTHONPATH=../tests/autopilot autopilot run unity8.shell.tests.test_notifications.InteractiveNotificationBase.test_sd_incoming_call [15:59] tsdgeos, I'll try that on the emulator too [15:59] MacSlow: this is blocking all our CI, do it on your computer, will be faster than messing with the emulator [16:00] tsdgeos, doing that too === dandrader is now known as dandrader|doctor [16:06] mzanetti: MacSlow: https://code.launchpad.net/~aacid/unity-notifications/qcompare/+merge/203362 [16:07] tsdgeos, mzanetti: ok, I'm onit [16:07] cheers [16:07] tsdgeos: what exactly caused the fail in here? [16:07] mzanetti: that doesn't fix anything [16:07] ah ok [16:07] just makes stuff better [16:08] yeah. I agree with that [16:08] MacSlow: [16:08] tsdgeos, so it's not fixing the CI-failure you mentioned earlier?! [16:08] if (!inserted) { [16:08] - insertToVisible(n, 0); [16:08] + insertToVisible(n, insertionPoint(n)); [16:08] } [16:08] fixes unittest in unity8 for me [16:08] ok [16:08] but breaks unity-notification unittests [16:08] so you have to make them agree :D [16:09] tsdgeos, I'll make sure to get this sorted before tomorrow [16:10] tx === charles_ is now known as charles === _salem is now known as salem_ [16:19] xnox, xnox, is there a way to set a global variable in the environment so that every app that starts with initctl appends that parameter ? talking a parameter thats not a keyword arg [16:20] om26er: can you please tell me what you are trying to do? and is it generic, or upstart-app-launch specific? === salem_ is now known as _salem [16:22] xnox, not sure about the details on what 'initctl start' uses. there is a parameter QT_LOAD_TESTABILITY=1 which if set in the environment starts all the apps with the testability driver load, due to some reason its broken. So there is an alternative parameter '-testability' which is working, So I would like to start my apps with that [16:23] om26er: talk to qa / ci / tedg about it. check why your environment doesn't have that variable. [16:24] om26er: cause environment variable is supported better, but it also depend on your code. [16:24] om26er: do you have your log, where testability is / isn't loaded? [16:28] om26er, It might be when it gets set, for best results I'd say make a job that is "start on starting dbus" that sets it. [16:29] xnox, where are the upstart logs when an app is started with initctl ? === _salem is now known as salem_ [16:30] tedg, will '-testability' work as well ? I though initctl supported arguments of the form key=arg ? [16:30] om26er, Nope, it doesn't. [16:31] om26er, The app will put logs in ~/.cache/upstart/application* [16:33] xnox, logs when started with upstart http://paste.ubuntu.com/6827040/ [16:34] xnox, and with -testability (without upstart) http://paste.ubuntu.com/6826992/ [16:34] note the line: Testability driver loaded. Wire protocol version is "1.4". [16:38] om26er, How are you setting the env var? [16:38] initctl set-env --global QT_LOAD_TESTABILITY=1 ? [16:38] tedg, inictl set-env -g QT_LOAD_TESTABILITY=1 [16:38] or that [16:39] tsdgeos, btw... your fix-suggestion for unity-notifications does cause 2 of the current unit-tests of unity-notifications to fail [16:39] MacSlow: yes, is exactly what i said [16:39] [17:08:31] fixes unittest in unity8 for me [16:39] [17:08:40] ok [16:39] [17:08:40] but breaks unity-notification unittests [16:39] [17:08:47] so you have to make them agree :D [16:40] tsdgeos, hm... guess xchat's scrollback doesn't like me then :) [16:40] om26er, initctl get-env QT_LOAD_TESTABILITY ? [16:40] tsdgeos, with current lp:unity8 and lp:unity-notifications only notification-autopilot-tests fail for you? [16:40] no [16:41] well [16:41] tsdgeos, ah ok... atm 48 out of 65 fail for me here [16:41] what does "notification-autopilot-tests" mean? [16:41] ah yes, only the one i told you fails [16:41] unity8.shell.tests.test_notifications.InteractiveNotificationBase.test_sd_incoming_call [16:41] MacSlow: how are you running the tests? [16:41] tsdgeos, *sigh* [16:42] tedg, that does not work as well. So I just concluded it to be a bug in autopilot somewhere. Apps that are started with qmlscene are loading the testability driver, but the ones that have a c++ binary are showing the issue [16:42] * om26er reports a bug for autopilot-qt [16:43] tsdgeos, doing the usual compile (and installing unity-notifications via the build .deb), make install in builddir and then starting autopilot [16:43] MacSlow: read the CODING file [16:43] make autopilot [16:44] or you need to properly pass PYTHONPATH stuff around [16:45] mzanetti: have a sec? [16:51] mhr3: Can you tell me what you meant by "they stop being centered" comment? https://code.launchpad.net/~unity-team/unity8/new-scopes-fix-grid/+merge/202593 [16:51] mhr3: Do you mean "it makes things look worse", as opposed to the screenshots? [16:52] karni, yes, the patch de-centered them [16:52] mhr3: ack, thanks [16:52] karni, but in trunk [16:54] mzanetti, hello [16:54] greyback: Hiya. I believe you where the author, allow me to ask - where did the "- spacing/2" come from in qml/Components/ResponsiveFilterGrid.qml columnsForSpacing function? [16:54] return Math.max(1, Math.floor((parent.width - spacing/2) / (delegateWidth + spacing))); [16:54] karni: that was a while ago, let me try refresh my memory [16:55] greyback: thank you, I'd appreciate [16:58] greyback: Two people other than me got convinced it should probably be (parent/(delegateWidth + spacing)) (i.e. nothing should be subtracted from parent width, because that far right spacing would be spread to both margins) [16:59] greyback: http://paste.ubuntu.com/6827155/ ~3:50 ago on this channel [17:00] karni, your formula was correct if the margin assumption was... if margins are 0 it isn't [17:01] mhr3: by margins you mean the visual space between a delegate and screen edge, or from the delegate body to delegate edge? (because we assume the deletate contents are center aligned) [17:02] karni: yeah I can't think of a good reason why I subtract the spacing/2 [17:02] oh wait, that space is allocated to the columns anyway, so nevermind [17:03] greyback: ack [17:14] mhr3: quick question, how did you check that? in a test, or you built it and tried on a device/in a simulator? [17:14] the fact that it didn't work with trunk [17:14] I'm not assuming it does, I'm just asking to ensure best work flow on my end [17:17] karni, i merged that one commit you did into trunk [17:17] right, and then? :) [17:33] mhr3: If you're still around, I was wondering more about the next step :) How you verified that merge to trunk broke it. [17:50] karni, i just run the scope tool [17:50] mhr3: ack [17:51] in trunk it's talking to old scopes, and not using cards, and was not centered [17:51] gotcha, thanks buddy === alan_g is now known as alan_g|EOD [18:03] mterry, it still failed, though https://code.launchpad.net/~unity-team/unity8/unity8.test_nested_mir/+merge/203088 [18:04] Saviq, still around? [18:05] Cimi, I think CI tests are having problems right now [18:14] Cimi, mterry yes, we're getting closer, though [18:27] Saviq: How is it possible that Cards delegates (scope-onlinemusic in new-scopes unity-scope-tool) are left-aligned, as it seems, while tiles in unity8 trunk unity-scope-tool are centered? When I manage to center align the Card delegates, the trunk tiles get moved to the right. I feel like someone cheated, stuff is actually shifted/centered in tile delegates, but I can't find it. I'm puzzled. [18:27] Either trunk has centered tiles, or new-scopes has centered Cards. Can't make 'em both work. [18:29] Saviq: (if you're around) lp:~unity-team/unity8/unity8-fix-grid - rev 653 correctly fixes column count. rev 654 breaks tile alignment (they're shifted to right), but the very same code centers Cards in new-scopes :/ [18:42] karni, isn't this because Cards do not center themselves while old-scopes renderers do? [18:43] Saviq: I think so, as you wrote your message - I started to align the Card [18:43] yeah, giving this a try [18:43] karni, align the Card how? within an enclosing Item? [18:43] Saviq: yes. would that be fine? [18:43] Saviq: delegate: Card -- eek [18:43] karni, yes [18:43] :) [18:44] karni, problem is there's a loop there [18:44] karni, delegateHeight/Width: are based on first delegate size [18:44] Saviq: well.. first try failed miserably ;) all card positions went haywire. lemme work that. [18:45] karni, which is a shortcut that we need to get rid of (hence the FIXME in CardFilterGrid) [18:45] ack [18:45] ah yes, I see it [18:45] karni, so yeah, we've a chicken'n'egg problem [18:45] not good, not good :[ [18:45] karni, the plan for that is to create an invisible Card with dummy data for each category [18:46] I really need to get this fixed to get going. [18:46] karni, to find out its largest possible size [18:46] I see.. [18:46] karni, and use that for delegateWidth/Height in the different layouts [18:46] So basically I could fix column count, but card spacing/alignment is not that easy. [18:46] * karni nods [18:46] karni, I'll work on that tomorrow morning [18:47] Saviq: Appreciated, Michał -- you know where's my branch if you'd like to test it. That's based on unity8 trunk. [18:47] I was trying to make it right in trunk, but second commit in that branch works in new-scopes only. [18:49] Aha, so I should actually revert that last change, if the problem is in *Card* alignment. [18:51] karni, yeah, I'd say it is [18:51] * karni nod [18:57] * greyback eod [18:58] If I want to "cancel" my merge proposal, is Deleting it the right thing to do? I left a comment pointing to a different branch and left further explanation, which I assume will be sent to interested parties? https://code.launchpad.net/~unity-team/unity8/new-scopes-fix-grid/+merge/202593 [19:33] karni, You can set it to WIP or Rejected as well. [19:34] karni, I'd say "make it informative" for the next person that sees it. :-) === dandrader|doctor is now known as dandrader [19:34] tedg: I've it to Rejected, only later I noticed. That'd be my first time I did it heheh [19:34] Right :) Thanks === dandrader is now known as dandrader|afk [20:02] karni, one for you: https://code.launchpad.net/~saviq/unity8/fix-card-header-height/+merge/203411 [20:02] * karni looks [20:03] karni, empty labels were taken into account for height calculations [20:04] Saviq: slick /me awaits diff :) [20:04] Saviq: Since you're here :) https://code.launchpad.net/~unity-team/unity8/unity8-fix-grid/+merge/203399 [20:04] karni, just pushed a trunk merge, so it'll still be there [20:04] karni, naah, not _really_ here ;) [20:04] heheheheh ok [20:04] Saviq: what did you mean by "pushed a trunk merge"? [20:05] karni, my branch did not have latest trunk in (in fact it was a week old or so) [20:05] oh, gotcha [20:05] thanks, Saviq :) [20:06] this helps a bit in the layouts as cards are actually their own size as opposed that + two lines of invisible text... [20:07] Saviq: It's good to _not_ have invisible views in there hehe [20:07] karni, indeed === dandrader|afk is now known as dandrader [20:07] Saviq: fun fact: [20:08] Saviq: The fix for column spacing works for new-scopes *and* trunk, if there's 2 columns. If there's 3, margins are too wide (wtf?) and that's why stuff is shifted. [20:08] karni, yeah, we'll have to look at it properly [20:09] I don't know how that relates to column count, the math is there, and makes sense. anyway. I don't want to hold you here :) [20:09] I don't plan to leave anytime soon (modulo food) [20:09] Saviq: yep === dandrader_ is now known as dandrader [21:33] mterry, fyi, adding the repo from http://naartjie.ubuntu-ci/archive/head.unity8/trusty/ allowed Albert to reproduce the failures in otto, and there's a fix for lp:unity-notifications in the works [21:37] mterry, fyi, adding the repo from http://naartjie.ubuntu-ci/archive/head.unity8/trusty/ allowed Albert to reproduce the failures in otto, and there's a fix for lp:unity-notifications in the works [21:37] Saviq, ah interesting. OK, thanks! [21:38] mterry, that repo contains all packages built for the unity8 stack (so unity8, unity-notifications etc.) during -autolanding jobs [21:39] Saviq, so like trusty-proposed-proposed? :) [22:07] mterry, well, it's meant to allow us coordinate merges within the stacks without release [22:08] mterry, as the stacks are later released together (or at least were originally) [22:14] mterry: are you looking into the weird "unstable" otto runs ? [22:14] i was trying to bug someone/anyone in ubuntu-ci-eng [22:15] kgunn, I was curious about them, but mostly I've been having trouble reproducing a certain jenkins test failure in one of my branches that added a new AP test [22:18] mterry: cool...i'll go back to bothering ci team :) [22:19] as its holding up cimi's mp [22:22] kgunn, Albert found the issue today [22:23] kgunn, it was r192-193 in https://code.launchpad.net/~unity-api-team/unity-notifications/trunk [22:23] kgunn, fix was already identified, too [22:24] Saviq: thanks...i'll stop harping on it...assuming there'll be an mp to address it in the morning [22:24] Saviq: does it really address all 4 here [22:24] https://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/2304/ [22:26] kgunn, no, but at least two of those are added in that MP [22:26] https://code.launchpad.net/~unity-team/unity8/unity8.test_nested_mir/+merge/203088 [22:26] so those just need fixing [22:26] the only persistent failure we got was http://s-jenkins.ubuntu-ci:8080/job/autopilot-testrunner-otto-trusty/2315/ [22:29] Saviq: I'm eavesdropping here, I see you're having autopilot test failures. When did that start happening? [22:29] veebers, last week, a merge in lp:unity-notifications caused it - we had problems reproducing 'cause it was never released, but was there in the local head.unity8 repo [22:30] veebers, issue identified and will be resolved early tomorrow [22:30] Saviq: ah ok, I ask because a new autopilot was released and entered distro a couple of hours ago. I wanted to make sure it wasn't that ;-) [22:30] veebers, nah === salem_ is now known as _salem [23:39] Saviq: this looks so much better, +1. should I top approve? should you ping mzanett'i to land it? I think there's a new landing process involving adding entries to a gdoc. you might want to ask him. === balloons is now known as Guest72010