=== duflu_ is now known as duflu === mpt_ is now known as mpt [08:53] my indicators (in desktop unity 7) started vanishing from time to time. is there a single command to reload/restart them all? [08:53] dandrader: start unity8 :D [08:53] dandrader: and then ctrl+c it :D [08:53] that's how i get them back [08:54] tsdgeos, won't that wreak havoc over my open windows? will it kill and restart compiz? [08:54] dandrader: unity8?¿ [08:54] ah, unity8 [08:55] tsdgeos, you have unity8 installed on your desktop? [08:55] dandrader: just ./run in your unity8 self compiled thing [08:55] ah by "start" you mean running it, not the upstart "start" command :) [08:55] correct [09:01] morning folks [09:01] tsdgeos, that's crazy. if you close unity8 as opposed to hitting ctrl+c the indicators disappear again :) [09:01] yep [09:01] well it's unity8 taking them down [09:01] makes some kind of sense if you think about it [09:01] dandrader, the indicator backend is sending 'stop' to them [09:02] when closing === larsu_ is now known as larsu [09:03] right [09:05] dandrader: about http://paste.ubuntu.com/6587933/ , sure i could do it, but there's any real benefit? that code pretty much isolated at the end of the function inside an if [09:05] tsdgeos, just to make VerticalJournal::updatePolish() smaller [09:06] tsdgeos, smaller functions (that roughly fit in a screen) are easier to read, IMHO [09:07] a function call be called from anywhere [09:07] if it's there [09:07] you don't have to think where it's called from [09:07] it's obvious only happens tehre [09:07] but whatever [09:07] you want a function [09:07] i'll give you a function [09:10] dandrader: any reason you did not make the same comment for the "if (m_needsRelayout) {" block? [09:16] dandrader: also i'd appreciate what is your suggestion to make "qreal columnToAddY = !m_columnVisibleItems[0].isEmpty() ? m_columnVisibleItems[0].last().y() + m_columnVisibleItems[0].last().height() : 0;" sorter since any variant i try looks much less readable in my mind [09:17] i'll add a column variable [09:17] but meh anyway [09:17] tsdgeos, no. since updatePolish is back to a pretty reasonable size with the calculateImplicitHeight() modification, doing the same there is not a must [09:18] dandrader: and any reason you chose calculateImplicitHeight instead of the other block? after all the other block is taller than the calculateImplicitHeight one [09:19] tsdgeos, no, the overall idea is just to split a big function into small chunks that do only one thing to make the formet big guy more readable [09:19] tsdgeos, calculateImplicitHeight was just simpler to name :) [09:19] the other one even had a name [09:20] i just never created the functio [09:20] but it was there in the .h [09:20] doRelayout(); [09:21] tsdgeos, you're the victim of me having plenty of time to do code review :) [09:27] tsdgeos, what those delegateCreationBegin and delegateCreationEnd properties mean exactly (btw, s/Begin/Start as using "begin" as a noun is weird)? [09:28] seem to be some kind of vertical margin but I still didn't get it [09:28] you should have complained about the name before we distro-patched Qt [09:29] dandrader: it's the range of the height of the view where delegates will be created [09:30] dandrader: becuse your view is 100000 pixels height but inside of a listview that is only 700pixels height you don't need to create delegates for all your height, only for what's visible inside the listview [09:37] * dandrader apt-get source qtdeclarative [09:39] tsdgeos, is there a code review branch to get it upstreamed in gerrit? [09:40] dandrader: not sure what you mean [09:40] ah [09:40] the range stuff? [09:40] no there is not [09:40] it's deemed as not appropiate for upstream [09:41] because upstream listview sucks and has to be rewrriten [09:41] well actually there is one probably [09:41] just rejected [09:41] * tsdgeos looks [09:42] yep [09:42] https://codereview.qt-project.org/#change,60809 [09:43] dandrader: ↑↑ [09:44] thanks [09:44] oups... someone blinked with the power plant... [09:45] tsdgeos, so there's a new list view architecture on the way? [09:45] * Saviq does food to save power in case it doesn't come back within the half hour my battery still has in it... [09:45] dandrader: nope [09:46] " The generic solution for this problem is the new list view architecture" [09:46] yes [09:47] doesn't mean anyone is writing it [09:47] basically he's blocking shit he doesn't want to maintain [09:47] :) [09:50] mzanetti: howdy [09:51] dednick: o/ === zequence_ is now known as zequence [09:54] mzanetti: hi :) How do I get qmltests run as part of ci for a project? [09:54] mzanetti: specifically ubuntu-settings-components [09:55] dednick: they should be run as part of make check normally [09:55] mzanetti: it has a jenkins job already, but the tests arent run automatically. https://jenkins.qa.ubuntu.com/job/ubuntu-settings-components-qmltests-saucy/ [09:55] mzanetti: that's only unit tests though no? [09:56] dednick: what kind of qmltests are you talking about? [09:56] Saviq, could you re-look at json-defaults? [09:56] mzanetti: unity8 style [09:56] dednick: looking at the console output from here it would suggest the tests are actually running: https://jenkins.qa.ubuntu.com/job/ubuntu-settings-components-qmltests-saucy/6/console [09:57] qmltestrunner [09:57] mzanetti: those were manual starts [09:57] what do you mean with manual starts? [09:58] mzanetti: as in i started the job though jenkins, not through a ci job [09:58] dednick: ahh... you have that job, but it's not executed as a child of the -ci job yet [09:58] mzanetti: :) yes [09:59] dednick: check out lp:cupstream2distro-config [09:59] dednick: in there you'll find a config for your project where you can add this job [10:00] dednick: stacks/head/sdk.cfg [10:00] how to I get the network indicator back in my desktop (unity7). indicator-network seems to be for the phone/unity8 [10:01] dednick: check out stacks/phablet/shell.cfg on how they are added to unity8 [10:01] mzanetti: cool. thanks [10:02] dednick: once done, propose a merge and ask fginther to deploy the config to the jenkins instance === dandrader is now known as dandrader|afk [10:21] Cimi: ping [10:22] mhr3, yes, on my list for today [10:24] dednick pong [10:25] Cimi: hi, can you check out the ubuntu-settings-como [10:25] ponents merge again please? [10:25] dednick, was checking now [10:25] Cimi: ah, thanks === pete-woods1 is now known as pete-woods [10:29] dednick, ok they all pass for me now [10:30] Cimi: awesome === dandrader|afk is now known as dandrader [10:36] tsdgeos, can't find it... what was the new thing that should be used instead of .toLocal8Bit? [10:36] hmmm [10:36] toUtf8() ? [10:36] Saviq: what you trying to do ? [10:37] tsdgeos, qWarning("Unable to parse category JSON: %s", parseError.errorString().toLocal8Bit().constData()); [10:37] qWarning("Unable to parse category JSON: %s", parseError.errorString()); [10:37] ? [10:37] tsdgeos, yeah, the docs aren't really clear on that [10:37] or use the new << form [10:38] qWarning() << "Unable to parse category JSON:" << parseError.errorString(); [10:38] tsdgeos, yeah, probably better [10:38] tsdgeos, the docs for the former say "like printf()", so that indeed suggests you need a char* [10:39] true, i'd say they understand QString but maybe it doesn't [10:39] anyway << is better [10:39] yup === xnox_ is now known as xnox [10:43] Saviq, got a minute to chat about the SF stuff? [10:44] nic-doffay, yeah, assuming my battery won't die (power outage) [10:44] nic-doffay, you got some 20 minutes ;) [10:45] Saviq, ok cool. So the stuff in qtubuntu. [10:45] What is reusable? [10:45] nic-doffay, what do you want to reuse it for? [10:46] nic-doffay, qtubuntu just needs stripping [10:46] nic-doffay, i.e. it just has to stop building / installing the Ubuntu.Application module [10:46] or whatever it's called [10:47] Saviq, ok so none of that code is reused. So nothing inside that qtubuntu folder would be used for the simple shell? [10:48] nic-doffay, the "simple shell" is just unity8, with its internal fake applications [10:48] Saviq, are getting internet through the cellular network? [10:48] are you [10:48] dandrader, yes [10:48] nic-doffay, "modules" from http://bazaar.launchpad.net/~phablet-team/qtubuntu/trunk/files/head:/src/ needs to go away [10:48] * dandrader recalls the sim card slot in Saviq's laptop [10:49] dandrader, ha! [10:49] Saviq, so you just want to benchmark unity8 running on the sf? [10:49] nic-doffay, on either [10:49] nic-doffay, but benchmarking is somewhat unrelated [10:50] nic-doffay, there's basically two tasks here: a) drop SF support for app management and b) enable FPS display for *any* backend [10:50] be it sf, mir or X11 [10:51] Saviq, ah ok. [10:51] Saviq, thanks. The latter was what I was in the dark about. [10:52] nic-doffay, cheers [10:52] oh there's the battery light blinking now! [10:52] Saviq, good luck with the power too. ;P [10:52] nic-doffay, bad timing! [10:52] Saviq, haha yeah just saw. [10:52] I'm a lucky charm. [11:14] sil2100: howdy. i need to get a daily release for ubuntu-settings-components. [11:18] dednick: hello! Ok, does it include anything critical? Could you add it to the Landing Asks? [11:19] sil2100: it's not even used by anything yet. But need to get some changes in before it is. [11:19] sil2100: er, don't think i have write access to asks [11:21] dednick: ah, like that, so it's a safe upload then - normally your manager should add it to the Landing Asks, but I'll add it right now myself [11:21] dednick: I'll try to get it out today [11:21] sil2100: thanks. === jamesh__ is now known as jamesh === dandrader is now known as dandrader|lunch [11:55] power back up, /me scoots back home [11:59] DBL_MIN is broken [11:59] or am i [11:59] ok [11:59] i am [11:59] DBL_MIN is not the smallest double [12:00] but the smallest double increment [12:00] sad that it is so close to INT_MIN [12:02] ::lowest to the rescue! === tvoss is now known as tvoss|test === tvoss|test is now known as tvoss === dandrader|lunch is now known as dandrader === alan_g is now known as alan_g|lunch [13:03] tsdgeos, I wonder if instead of having this delegateCreation[Begin|End] API you couldn' [13:04] have something like a "clipDelegatesToParentRect" [13:04] but I know it's too late to do anything about it [13:06] dandrader, think it time to move the DDA to UITK yet? toolbar is suffering from not having it: bug #1261719 [13:06] bug 1261719 in ubuntu-ui-toolkit (Ubuntu) "Edge swipes triggered via touches, not swipes" [Undecided,Confirmed] https://launchpad.net/bugs/1261719 [13:11] Saviq, hmm, maybe. but there will be quite many changes once the "touch ownership" scheme is in place, which depends on the "qml as mir compositor" work to land. [13:11] lp:~dandrader/unity8/touchOwnership [13:13] dandrader, shouldn't be many changes *inside* the gesture recognition itself? [13:14] tsdgeos, got anything out of more_logs? [13:17] Saviq, well, that's the diff for the DirectionalDragArea http://goo.gl/bBRvKT. Essentially moving things around [13:19] dandrader, couldn't that happen before? [13:19] dandrader, i.e. can we safely split that branch into smaller chunks? [13:25] Saviq, technically yes, I could add the new classes but not make use of them. And therefore not update any code to make use of it (like DDA) [13:25] Saviq, but that intermediate state wouldn't make much sense [13:25] dandrader, yeah, no [13:30] mzanetti, where's the cause of the broken binding on tab? did you understand yesterday? [13:30] Cimi: ?? [13:30] mzanetti, the bug we were talking friday [13:31] yeah. I don't understand the question [13:31] I don't know more than you do on that [13:31] mzanetti, how you reckon to proceed? [13:31] or how would you debug the binding? [13:32] ah [13:32] hmm... [13:32] it's happening on qt 5.2 only iirc [13:32] yeah [13:34] Cimi: wasn't the issue that we load the tabs somehow delayed which sets width twice and causes the binding loop detection to jump in? [13:34] I think the right fix is to change the code in the tabs to be able to deal with it [13:34] I cannot see any warning about loop [13:36] anyone else tried the qt5.2 ppa on their phone recently? I'm unable to swipe away the greeter now, it's flickering badly [13:38] greyback: I've seen this behavior when I just installed the ppa but didn't a clean recompile against qt 5.2 [13:38] mzanetti: I wonder if you could glance what eg. lp:~kubuntu-packagers/kubuntu-packaging/qtfeedback-opensource-src would require to recompile against Qt 5.2? all the snapshot modules seem to fail with some sort of header inclusion problems (inclusion of headers contained within the own sources), but I don't seem to find what sort of .pro file changes would be required [13:39] Mirv: ok. checking it out [13:39] mzanetti: clean compile of unity8? [13:39] greyback: yeah [13:39] mzanetti: ok will do that [13:39] mzanetti: thanks. just bzr branch that and bzr bd if you have 5.2 installed somewhere [13:39] ah dammit... I don't [13:39] meh... [13:39] Mirv: I can't install the packages in parallel to 5.0, right? [13:40] mzanetti: no you can't, unless of course inside chroot or such (like I do) [13:40] mhm [13:40] Mirv: mind pasting me the error? if we're lucky it's easy enough so I don't have to go through that now [13:40] I started with qt3d and now I see I can't build qt3d, qtsystems, qtfeedback or qtpim, but yet again I don't find what upstream did to eg qtconnectivity (which is now officially released) that makes it work [13:42] mzanetti: I'm getting eg. http://pastebin.ubuntu.com/6588894/ [13:45] mzanetti: the plot thickens in the way that if I get the qtconnectivity snapshot we have from 20130802 I get a similar problem there, so in all likelihood it would be fixed between that date and 5.2.0 in https://qt.gitorious.org/qt/qtconnectivity/commits/ [13:54] Saviq: nope :-/ [13:54] dandrader: too late and too hard i'd say [13:54] tsdgeos, :/ [13:55] Saviq: i mean, didn't get it to fail [13:55] tsdgeos, right [13:55] failed once [13:55] but a different [13:55] one [13:55] raacieeees, where are you? [13:58] damn now it failed in my verticalJournal one :D [13:58] grrr [13:58] let's trigger the more_logs [13:58] mzanetti: actually, it looks like the release tarballs would have a whole "include" directory with a lot of one line include files referring various sources in the source tree.. I wonder what generates that [13:59] Mirv: sync.profile i think [14:03] I really need to continue tomorrow, but maybe sync.profile/syncqt could be / should be used somehow with the snapshot modules unlike before === alan_g|lunch is now known as alan_g [14:31] Saviq: standup? [14:33] my mumble hangs [14:33] on startup.. [14:33] Saviq: we see you connect [14:33] greyback, yeah, and then it goes B&W [14:33] greyback, just go on without me [14:34] Saviq: we are [14:45] * greyback needs to reboot [14:55] dednick_, pong ? [14:59] fginther: hi. [15:00] * mzanetti searches for dednick's branch [15:00] mzanetti: doesnt exist yet. [15:01] ah ok [15:01] didnt know how. all a bit confusing [15:01] yeah well, I'm sure fginther is helpful there :) [15:01] fginther: trying to get ubuntu-settings-components qml tests to run during ci. [15:02] dednick_, I can help, what needs doing? [15:02] dednick_, can they run during the package build? [15:03] fginther: its the same as the unity8-qmluitests job [15:03] fginther: they have mouse interaction, is that ok? [15:05] fginther, mzanetti: i know that ubuntu-ui-toolkit checks if the DISPLAY variable is set when doing package tests and runs qml tests if it is. But they are pretty simple tests, so i wasn't sure if it was the same [15:05] fginther: it's just about hooking this one up into the settings-components-ci jobs: https://jenkins.qa.ubuntu.com/job/ubuntu-settings-components-qmltests-saucy/ [15:06] mzanetti, dednick_, ah, if there's already a job for this, then it's just a config change to add [15:07] mzanetti, is that really a 'saucy' job or does it need to be updated to trusty? [15:07] fginther: yeah... actually I though we'd have a c2d-config merge prepared already and you'd just need to deploy... but no. the config needs to be touched still [15:07] I'd say upgrade to trusty [15:07] mzanetti, I can help with that [15:15] dednick_, mzanetti https://code.launchpad.net/~fginther/cupstream2distro-config/ubuntu-settings-components-qmltests/+merge/199302 [15:16] fginther: thanks a lot [15:16] greyback, Did you see my ping last night? [15:24] dandrader: damn now that i see, we don't support adding/removing items from the model either :D [15:25] even if it's only at the end [15:25] dandrader: would you be satistied with something that creates a random number of items of random height? [15:25] dandrader: because i'm not sure it makes sense adding support to adding/removing items when it's not on scope [15:25] Saviq: it's not on scope, right? [15:27] tsdgeos, initially we can say the scopes will only fill the model from the beginning to the end [15:27] tsdgeos, I *thinkU [15:27] mhr3, ↑↑? [15:27] mhr3, can/will scopes fill the model non-linearly? [15:28] Saviq: hi! Is there a lot of risky changes in unity8 waiting for release? [15:28] sil2100, shouldn't be, no [15:28] sil2100, let me check [15:28] Saviq, well, when we do resultset diffs, it'll look like it's non-linear to the listview, right? [15:29] Saviq: since I would really love that AP-test change released, and maybe we could release everything [15:29] sil2100, is safe [15:29] Saviq, but without diffing, it's always append-only [15:29] mhr3, when is "when"? [15:30] Saviq: could you or kgunn add a landing asks if you have a moment related to this? :) [15:30] Saviq, when we'll decide we need it :) [15:30] sil2100, doing [15:30] ok, so append only? [15:30] mhr3: no modelReset() either? [15:30] tsdgeos, you mean that after creation the number of items in the model cannot change, they can only grow or shrink in size? [15:31] sil2100, done [15:31] tsdgeos, no guarantees on reset, you should support it [15:31] well, that's more work that wasn't anticipated :D [15:31] i should support lots of stuff [15:31] tsdgeos, the only guarantee i'm giving is that there'll be no insert-in-middle [15:32] but there's the things that will happen and the ones that wont [15:32] ok then [15:32] dandrader: so it'll take a bit more :D [15:32] tsdgeos, well reset should be the easiest [15:33] mhr3: sure, but non caring is even easier ;-) [15:33] tsdgeos, and lazy :P [15:33] let's call it time efficient [15:33] right :) [15:34] tsdgeos, but the diffing is likely to happen in february [15:36] Saviq, so, annotations, how do you want them? [15:37] separate model in each category? [15:42] fginther: thanks [15:44] tedg: back. I saw you found a 65ms delay for authorizing sessions in unity-mir. I've not profiled to see why it's slow, could you open a bug on it please? [15:44] greyback: so, once the shell attached show/hide...its the app A that actually "asks" for the shells' animation of that ?...or is app A actually doing all of the drawing within his own context ? [15:45] greyback, Sure, can do. I was more pinging to see if it was something that was "bug worthy" :-) [15:46] kgunn: the shell will animate the app's surface (e.g. the split and open animation) [15:46] kgunn: Shell may also in future need to pass a "animationProgress" value to the app, as it looks like the app's toolbar itself will visually change during this animation. But that's later [15:46] greyback: cool...makes sense [15:47] greyback: last one...so the cookie fmt, is that something that comes via papi ? [15:47] greyback, bug 1261801 [15:47] bug 1261801 in Unity 8 "unity-mir starting observer takes 65ms on an Galaxy Nexus" [Undecided,New] https://launchpad.net/bugs/1261801 [15:49] tedg: thanks [15:59] kgunn: papi will gain a open_trusted_helper("contentPicker") function. Internally it will receive a cookie from the contentPicker and tags its surface with that cookie. [16:00] greyback: got it, so in reality the apps really aren't aware of the cookies or surface handling [16:00] kgunn: yep, they'll have no idea [16:05] greyback: ok...me likie now [16:19] mhr3, hey, why ResultsModel::componentValueWithFallback? [16:21] Saviq, cause result->title() != result->metadata("title") [16:22] mhr3, why? [16:22] mhr3, neither are mandatory, why do we treat them differently? [16:22] cause it's "standard attribute" [16:22] mhr3, bleh, they're all standard ;P [16:23] the api is trying to do some basic stuff very easy for the devs [16:23] so title is kinda mandatory, but not really... [16:23] meh [16:24] mhr3, yeah exactly ;) [16:24] pstolowski, maybe that should be changed really [16:24] pstolowski, at least it'll be consistent with the [] operator [16:24] mhr3, pstolowski, that can suggest to people they can't get a result with no title or art [16:26] the exception that was thrown suggested that quite strongly :) [16:26] but we got rid of that [16:27] * Saviq says: we shouldn't treat any of the fields in any special way [16:27] mhr3, especially since people may want to use a different "title" field [16:27] like "name" for contacts [16:28] Saviq, we wanted to have an minimal api for at least "generic" uses cases [16:28] Saviq, yea, trust me things are already loosened up quite a lot :) [16:29] pstolowski, even so, that should not "pass through" to the shell side [16:29] pstolowski, and should not really be the default, I'd say [16:32] dednick_, ubuntu-settings-components-qmltests-trusty is all ready to go now, the next MP should execute it [16:32] fginther: cool. thanks for that [16:33] Saviq, mhr3 there is currently a discrepancy between the outcome of result.add_metadata("title", "foo") and results["title"] = "foo". I think this needs fixing. BUT the former would throw on scope side when passing it to the shell, so I'm not sure what's the error you see [16:34] Saviq, what do you mean [16:34] Saviq, 'should not really be the default' ? [16:34] pstolowski, result->title() != result->metadata("title") [16:34] mhr3, yes, I know [16:35] that's what spawned the question in the first place [16:35] mhr3, that boils down to the discrepancy I mentioned [16:35] yeah, let's get rid of result-> title :) [16:35] done [16:35] and result->art [16:35] pstolowski, I mean that there may be wrappers around the basic API [16:35] pstolowski, why do we even have the add_metadata() method? [16:36] pstolowski, that would simplify things in "the general case", but their impl detail should not leak to the shell side [16:36] mhr3, pstolowski, shouldn't metadata be something that's not actually the data that's displayed? [16:37] mhr3, that was added in the beginning when we were thinking in terms of 'standard' attributes and any custom attributes [16:38] i hate doing changes to this, but let's finalize it [16:39] and break the api once again [16:40] I'd say, let's leave title / art wrappers in the API for basic cases, but remove add_metadata or fix it to just do what [] does [16:41] albeit "add_metadata" name is a bit misleading [16:41] +1 for removing add_metadata [16:41] and perhaps metadata() too [16:42] or at least renaming it [16:42] .value() [16:44] mhr3, https://code.launchpad.net/~mhr3/unity-scopes-shell/component-mapping/+merge/198807/comments/462713 [16:49] pstolowski, eh, internet blackout, any comments after .value()? [16:50] mhr3, https://code.launchpad.net/~mhr3/unity-scopes-shell/component-mapping/+merge/198807/comments/462713 [16:50] mhr3_, i'm fine with it, will do the change [16:56] pstolowski, I think it makes perfect sense for you to provide convenience wrappers [16:56] pstolowski, like SongResult() [16:56] pstolowski, etc. [16:56] pstolowski, but that should not leak to shell side I think [16:56] especially since that would mean we need to start thinking about versioning the protocol [17:07] ack [17:44] ls === alan_g is now known as alan_g|EOD === tvoss is now known as tvoss|test === tvoss|test is now known as tvoss [22:48] robru, the unity8 flakiness already has a bug: #1260860 [22:48] bug 1260860 in unity8 (Ubuntu) "some autopilot tests don't use process_helpers" [Undecided,Confirmed] https://launchpad.net/bugs/1260860 [22:48] Saviq, it's ok, we can merge them later. right now I'm just trying to recreate the ugly spreadsheet as closely as possible, with fresh bugs [22:49] robru, ok