=== RAOF_ is now known as RAOF [08:06] Saviq: so it was me that broke the previews right? [08:06] tsdgeos, not really, it only ever worked by sheer luck [08:07] i see [08:07] tsdgeos, when app installed → scope would signal result invalidation, as well as send a new preview for the, now installed, app [08:07] but probably my refactoring broke it? [08:07] i mean there's not much more that would touch previews and such [08:07] tsdgeos, yeah it surfaced it [08:08] tsdgeos, so before, somehow, the results did not get reset for the previewListView, and it would not reset [08:08] tsdgeos, or they did reset later [08:08] tsdgeos, so when bringing in the new preview, currentIndex was already -1 [08:09] tsdgeos, as opposed to the real, currently selected one, 'cause the model for it was reset in the mean time [08:14] tsdgeos, anyway: https://code.launchpad.net/~saviq/unity8/fix-preview-updates/+merge/204559 [08:14] tsdgeos, if you could get it to Approved (mterry waited for -ci run that was late) [08:14] will do [08:15] tsdgeos, thanks === Wellark__ is now known as Wellark [08:39] Saviq: can you explain what the "onPreviewDataChanged: showProcessingAction = false" does? [08:40] tsdgeos, DashPreview.qml, at the bottom [08:40] tsdgeos, there's a MouseArea that eats input after you have triggered an action [08:41] tsdgeos, but it needs to be disabled when new previewData comes, as that action was executed, then [08:41] ok, makes sense [08:41] tsdgeos, again, TBH not sure how this could have worked before... [08:41] tsdgeos, most probably the PreviewListView did get reset, but somehow managed to maintain the currentIndex === asac` is now known as asac [09:00] Saviq, why did we loose 7.85 from new-scopes? [09:01] mhr3, not sure what you mean? the version number? [09:01] mhr3, probably because I cleaned up the recipes [09:01] Saviq: is there any chance we get the netowkrmanager tests fix in? bug1271676 seems to be something MWC people want to see fixed asap and without the tests fixed mzanetti is abstaniing from reviewing it, so it's all a bit of urgent [09:01] Saviq, yep, the version in the ppa is now lower than distro [09:01] bug #1271676 [09:01] bug 1271676 in Unity 8 "Launching an app from the app scope causes app scope to jump to the top" [High,In progress] https://launchpad.net/bugs/1271676 [09:01] which sucks [09:01] mhr3, not because we lost 7.85 [09:02] mhr3, but because there was a revert of unity8 yesterday [09:02] mhr3, should be sorted today [09:02] tsdgeos, it's waiting in the queue, will be released today with the fix for the previes [09:02] previews [09:03] tsdgeos, they won't get a fix for it if we don't release at all, either, so it just needs to run its course [09:04] ok [09:04] tsdgeos, what I mean is even if we got it in trunk any other way, if we don't release, it won't be there for the image [09:04] sure [09:05] tsdgeos, so we just need to be able to release again [09:17] sil2100, didrocks, FWIW unity8 fix is in CITrain, waiting for a silo [09:17] Saviq: excellent, thanks! can I ask you a favor? [09:17] didrocks, one more!? ;P [09:17] hehe, indeed [09:17] we try to see if we can promote the current image [09:18] (well 161, it's the one we have whole test results) [09:18] there is on unity8 failure [09:18] one* [09:18] on both mako and maguro [09:18] * sil2100 is flashing 161 just now [09:18] + 162 fails the same on mako [09:18] *162 [09:18] ;) [09:18] didrocks, upgrade unity-notifications [09:18] Saviq: so, if we promote the current image [09:18] didrocks, it's because of the unity8 rollback [09:18] that will be broken? [09:19] didrocks, just the test [09:19] what will be broken exactly [09:19] hum [09:19] are you 101% sure? :) [09:19] if so, I'm happy to promote :p [09:19] :D [09:19] (well, considering for promotion) [09:19] didrocks, yes, I am [09:19] Saviq: trusting you then! thanks a lot [09:19] * didrocks hugs Saviq [09:19] * didrocks is a lot happier :p [09:19] Phew! [09:19] \o/ [09:20] didrocks, https://code.launchpad.net/~macslow/unity8/unity8.fix-test_sd_incoming_call/+merge/203567 [09:20] didrocks, that commit fixed the test, but was backed out yesterday [09:22] /bbiab [09:22] Saviq: perfect! I wasn't even asking you for the commit to prove it's only a test change without any effect on runtime, I trust you enough to take your words :) [10:09] Saviq: ok, sounding good for the image, we are doing dogfooding [10:09] as no QA around [10:09] and sounds we can promote [10:09] then, we'll just add your unity8 fix as a priority reland [10:09] (we prioritize the reverted components first) [10:15] stupid irc... [10:18] dednick, freenode is bitchy today [10:19] Saviq: just had to change from irc.freenode.net to chat.freenode.net and seems to work now. [10:19] didrocks, sure, will we land all that's in queue or would you want to land just the fix? [10:26] Saviq: as you prefer, if you land everything, you are taking more risk I would say [10:29] greyback: ping [10:30] tsdgeos: pong [10:30] greyback: i'm trying your "do not draw branch" [10:30] and i can't see the difference [10:31] am i supposed to see less " Breakdown of frame time;" calls [10:31] or shorter ones? [10:31] tsdgeos: much less calls [10:31] also on desktop? [10:32] tsdgeos: probably not as noticeable, since the lenses are already loaded on desktop when you start unity8.. But on device, it's very noticeable [10:33] i'm actually getting more calls on the desktop :D [10:33] 126 vs 117 [10:33] let me see the phone [10:34] didrocks, not with the set of changes we have there, most are not even in use currently (prep for new scopes) [10:40] greyback: how did you test it on the phone? i.e. which modification you did to run_on_device? [10:40] it seems i'm not passing the envvar correctly [10:40] did you run manually without using run_on_device? [10:40] * tsdgeos tries that [10:41] tsdgeos: manual run [10:44] greyback: manual run gives me 345 vs 316 [10:44] is that something like you were getting? [10:45] mzanetti, yay [10:46] Saviq: no... no yay [10:46] mzanetti, ? [10:46] Saviq: znc still won't connect [10:46] mzanetti, well, at least you connected [10:46] (connectes fine to canonical's server tho) [10:46] mzanetti, got a znc account ready for you here if you'd want one [10:46] well... that's not really the solution [10:46] but thanks for the offer [10:46] mzanetti, I know, that's why I said "if you'd want one" [10:47] interestingly I get Connection refused now instead of timeouts [10:50] tsdgeos: I wasn't counting, but the difference was noticeable [10:50] i see [10:50] tsdgeos: I'm not unlocking, I just start unity8 and watch [10:55] ok [11:03] greyback: nexus4? [11:03] tsdgeos: nexus10 I tested on [11:05] this is weeeeird [11:05] i added [11:05] onFullyCoveredChanged: console.log("MOOOOOOOOOOOOO", fullyCovered) [11:06] and it never shows anything ?¿ [11:09] greyback: my greeter does not have a fullyshown property ?¿ :S [11:10] tsdgeos: "fullyShown" ? [11:10] i added this [11:10] Component.onCompleted: console.log("BAAAAAAAAAAAAAA", fullyCovered, gree [11:10] ter, greeter.fullyShown) [11:10] and i get [11:10] BAAAAAAAAAAAAAA false Greeter_QMLTYPE_97_QML_209(0x47becd38, "greeter") undefined [11:11] and grepping i don't see how it can be defined for you [11:11] seems fullyShown is only there for stages [11:11] which the greeter is not one [11:15] tsdgeos: damn, I swore that fullyShown was part of Showable. I must be wrong [11:17] i can be wrong too, has happened before you know ;-) [11:18] tsdgeos: well reading the code, I think you're correct. I'm more confused about what I was finding last night... [12:13] mhr3_: pstolowski: Saviq: what am i supposed to do with the "id" field of a type: "actions"? [12:14] tsdgeos, it's just an id picked by the scope [12:15] tsdgeos, perhaps set objectName to it? [12:16] tsdgeos, activation api expected id of a button back; it will also expect that actions id (not yet in the api) [12:17] so i'll have to call something back [12:17] ok [12:17] but that doesn't exist yet [12:17] tsdgeos, yeah [12:17] tsdgeos, it exists, but takes just one id (button); it will be enhanced with one more id [12:18] (actions) [12:18] pstolowski, why? do we want to support non-unique action IDs for some reason? [12:18] mhr3_: pstolowski: Saviq: also can you confirm that one type: "actions" with two elements in the "actions" array is a combo with two entries and not two buttons? [12:19] i.e. if you want two buttons you need two type "actions" elements? [12:19] tsdgeos, confirmed [12:20] Saviq, widget_id + action_id [12:20] mhr3_, yeah, why? shouldn't action_id be unique already? [12:20] there's nothing forcing it to be unique [12:20] Saviq, to be on safe side? otherwise yes, they would need to be globally unique [12:21] mhr3_, there's nothing forcing widget_id + action_id to be unique, either [12:21] mhr3_, pstolowski, I'd go for requiring unique action_id, TBH... [12:21] Saviq, we won't allow pushing widgets with the same id twice [12:22] mhr3_, will you check action_id for uniqueness? [12:23] we could within a widget === Trevinho_ is now known as Trevinho [12:28] Saviq, mhr3_ no strong opinion, just a feeling that perhaps widget_id + action_id is more future-proof... [12:29] mhr3_, pstolowski, I don't really care, feels overkill to me, though === alan_g is now known as alan_g|lunch [12:29] Cimi: where's the comment you mention in https://code.launchpad.net/~unity-team/unity8/unity8.previews_audioPlayer/+merge/203387 ? [12:31] tsdgeos, it should be there, no? [12:31] don't see it [12:32] ah [12:32] see it now [12:33] Cimi: it still has the urls that seem real [12:33] Cimi: and the stop for the audioplayer [12:39] Saviq, i agree with pstolowski, more future-proof [12:43] Saviq: so on the actions thing, how do you think we should expose the "signal" of it being pressed or the combobox changing, add a signal to the base PreviewWidget? === cimi4 is now known as CImi3 [12:44] tsdgeos, I think so, yes, more widgets will actually trigger actions [12:44] tsdgeos, (like the progress widget, the review-input one) [12:45] mhr3_, pstolowski, do we have ideas on how will we pass data back with the action? think a single QVariantHash arg would be ok? === MacSlow is now known as MacSlow|lunch [12:46] Saviq, yep [12:46] i mean... widget_id + action_id + variantmap [12:46] tsdgeos, so the signal signature would be: (string widgetId, string actionId, var data) [12:47] Saviq: "activate"? "activated"? [12:47] Saviq yeah, as mhr3_ said [12:48] tsdgeos, the Qt way - activated, or triggered, maybe? [12:48] tsdgeos, please decide the name of the property :) [12:48] tsdgeos, for focused [12:48] triggered sounds ok [12:49] Cimi: as the comment says, i am not sure we even need a name [12:49] Cimi: why can't you use visible? [12:49] tsdgeos, because the preview might still be visible, but no longer focused [12:50] tsdgeos, when you're switching previews, for example [12:50] Saviq: but you said we're killing the switching of previews [12:50] tsdgeos, no no no [12:50] tsdgeos, we're killing the bottom "see-through" [12:50] ah [12:50] ok [12:50] tsdgeos, you will still be able to swipe between them [12:51] /food [12:51] Cimi: isCurrent then, focused is too close to focus to me [12:51] mzanetti, why we have on the music preview [12:51] or maybe Saviq has a better suggestion for it [12:51] mzanetti, to stop audio on destruction? [12:51] Cimi: why not? [12:52] mzanetti, isn't automatic? [12:52] hmm... probably not, otherwise it wouldn't be there I'd say [12:53] need to check the code. one minute [12:53] tsdgeos, fine by me, it should actually be previewFocused / isCurrentPreview or something [12:53] tsdgeos, as it's not about the widget being current / focused, but the whole preview [12:57] Saviq: right, which also shows we're having too many properties in every widget instead of a "global" one per preview, but that's the price you pay for decoupling :D [12:57] food! [12:57] tsdgeos, well, sure, if we put it all in one .qml, we wouldn't need it indeed [12:57] Cimi: right... might actually be a bug in the qtmultimedia backend [12:58] Cimi: 'cause the playback is handled by the media service [12:58] Cimi: so destructing it should implicitly send a stop to the media service, probably it doesn't [12:58] Cimi: I remember having talked to jhodapp about this when implementing it [13:10] Hi guys [13:11] Saviq: would you like me to add tests for title alignment, or is this "look and feel" like you considered something a while back? [13:12] I rebased it on the branch you mentioned [13:12] lp:~unity-team/unity8/new-scopes-title-alignment [13:14] tsdgeos, ^ [13:15] dang, I should have added a prerequisite branch [13:15] karni, test for CardTool, yeah [13:15] karni, should be a simple one, too [13:15] Saviq: ignore that MP for now [13:16] I think my bzr config went haywire, changed username [13:16] karni, no need to reject all the MPs, just make them WIP and resubmit then if needed === dandrader is now known as dandrader|afk [13:16] Saviq: ack [13:16] * karni moves to different building [13:19] tsdgeos, if we could do attached props in QML, that'd help some [13:20] mhr3_, pstolowski, how do we communicate the number of columns for a preview? [13:21] Saviq, working on that, but it'll be a prop on the PreviewStack object you get from scope.preview() [13:23] Q_PROPERTY(int widgetColumnCount READ widgetColumnCount WRITE setWidgetColumnCount NOTIFY widgetColumnCountChanged) [13:23] good enough? [13:23] mhr3_, how do we do the splitting in case the scope didn't define it? [13:23] Saviq, that is a good question [13:24] ideas? [13:24] anpok: hey, saw your comment on the bug. what exactly does it mean? i.e. where does the 16ms value come from? [13:25] Saviq, doesn't help that the scope can keep pushing more widgets any time it wants [13:25] mhr3_, indeed [13:25] Saviq: hm, you mentioned there's a landing plan for the Unity8 regression fix? [13:25] Saviq, i'm leaning to doing something stupid... 1 widget per column, everything else into last col [13:25] sil2100, yup, waiting for silo [13:25] sil2100, row 20 I think [13:26] mhr3_, I have two ideas: a) you expose all configured models at the same time as an array, and when there isn't one that matches the current setup, shell takes over and does its thing [13:26] Saviq: oh, hm, I think we cannot re-use already Landed silos [13:26] sil2100, meant row 40, sorry [13:26] Saviq: can you just slap the MR to a new row? Since I don't even know whic MR it is [13:27] sil2100, I'd rather land it all together, don't want to waste time on separate regression fix and actual code that's waiting for almost a week now :/ [13:28] mhr3_, b) you call into the shell when receiving a preview (and/or subsequent preview widgets) and the shell comes back with lists split into columns [13:29] mhr3_, b) is ~same idea as plugin calling into shell to potentially apply any rules / changes on template / components [13:29] Saviq: ok, just remember that if we find a regression again by accident (;p) we'll revert everything again ;p [13:29] sil2100, I'm fine with that [13:29] Saviq: but if you're ok with that risk then I prepare stuff for it [13:29] sil2100, I'm completely ok with you guys reverting us if there's a regression identified === popey_ is now known as popey [13:29] Saviq, i don't like either :) [13:30] mhr3_, other (better) ideas? === dandrader|afk is now known as dandrader [13:35] Saviq, i'm leaning to forcing scope devs to provide the layouts, so if a scope wouldn't specify a layout, shell would display everything in one col === alan_g|lunch is now known as alan_g [13:36] Saviq: silo assigned! It's getting prepared this instance [13:40] mhr3_, future-proof you said? [13:40] sil2100, thanks [13:40] Saviq, touche [13:41] Saviq, my primary worry is how would things look like if a scope pushed one widget, then another one 500ms later and then 10more another 500ms later... why just can't make informed decision if we want to display things as fast as possible [13:41] s/why/we/ [13:42] mhr3_, of course, I think there's two cases: preview creation and widget addition (removal not possible, right?) [13:42] right [13:42] mhr3_, so when preview is "lazy" with adding widgets, and does not provide a layout [13:43] mhr3_, we'd only append widgets at the end of columns [13:43] columnS? [13:43] like randomly...? [13:44] mhr3_, not randomly, but based on some rules [13:44] mhr3_, say, if there's art in the first column, we wouldn't add anything more there [13:45] mhr3_, otherwise we might try some more fancy determination [13:45] so you'd try to do something like the horizontal journal is doing? [13:45] mhr3_, something of the sort, yeah [13:46] mhr3_, but not based on actual rendered widgets, just their type and props [13:46] mhr3_, but I'd rather the plugin not be part of that [13:46] which means we'd need to notify the shell with about-to-be-added widget [13:46] mhr3_, yes [13:47] did i mention the data for those widget might not be present immediately? [13:47] mhr3_, that's fine, I think [13:47] mhr3_, again, I don't want to base the decision on actual data [13:47] Saviq, that means the props will be pretty much empty [13:47] mhr3_, if something's not there, it's not like we can do anything about it [13:48] mhr3_, what I'm saying is I'd like to make a semi-informed decision as soon as a widget becomes "known" to the system [13:48] mhr3_, it will be a corner case I think, that we'd get a widget with no data [13:48] oh well... you can surely make better decision than the plugin [13:48] mhr3_, but anyway its type would be enough information [13:48] mhr3_, exactly [13:49] but not thrilled about having to call into js [13:49] how does that even work [13:49] ? [13:49] mhr3_, good question ;), but it can be as simple as a property that the shell sets [13:50] mhr3_, after you trigger a signal [13:50] mhr3_, problem with that would be that it'd be required to do it [13:50] aren't signals going to js asynchronously? [13:50] mhr3_, they are [13:50] well.. that's a problem [13:50] mhr3_, so yeah, I think we'd rather do sync, wouldn't we [13:51] i basically need return value from js [13:51] as in "int giveMeColumnNumForWidget(widget)" [13:52] mhr3_, QMetaObject::invokeMethod [13:53] mhr3_, i.e. you'd have a property (default null) on Scopes [13:53] mhr3_, say, previewProcessor [13:53] mhr3_, if it's non-null, you'd call a method on it with some data [13:53] i can already see the lost frames :P [13:53] mhr3_, and use the output [13:53] mhr3_, it will be maybe 20 lines of JS at the mos === _salem is now known as salem_ [13:54] mhr3_, we're running much more js on every frame than that ;) [13:54] it's just awful :P [13:54] anyway... /me lunch [13:54] mhr3_, we can always do vala, if you'd rather ;P [13:55] mhr3_, anyway, we can implement the processor in C++ [13:55] mhr3_, and use the same mechanisms [13:55] slightly better [13:55] now get rid of the QMetaObject and i'm happy [13:55] :) === MacSlow|lunch is now known as MacSlow [13:55] mhr3_, wanna rewrite unity8 in C/vala/C++? be my guest [13:56] let's see how that goes :P [13:56] Saviq, i'll think about it :P [13:56] mhr3_, enjoy lunch [13:59] mhr3_, http://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppintegration-interactqmlfromcpp.html#invoking-qml-methods BTW [14:05] sil2100, "In silo landing-005. Can't build: Some projects are missing revisions from distribution." [14:05] didrocks, ↑ [14:05] what do I do now? [14:06] Saviq: ah! Yes, so you need to check a checkbox, let me see the naming [14:06] sil2100, will do [14:06] sil2100, FORCE_REBUILD it seems [14:07] Saviq: yes, since we don't want to have the changelog entry for the revert [14:07] karni, drop the TODO, it's a general thing we'll need to tackle together [14:07] ok [14:08] karni, I think letting JS "booleanize" undefined / null / "" would be good enough [14:08] karni, in isOnlyItem [14:09] karni, what is components["art"]["image"]? [14:09] sil2100, hi, would you mind reviewing that? https://code.launchpad.net/~dandrader/ubuntu-keyboard/outOfSourceBuilds/+merge/204292 [14:09] Saviq: I wasn't sure how to implement that correctly, I'm still not confident in those constructs [14:09] Saviq: seems the naming was clear enough? \o/ [14:10] didrocks, the message said "force rebuild", so yeah ;) [14:10] Saviq: the image of the art. I assume it's sufficient to test ["art"] only? [14:10] karni, there is no "image of the art" [14:10] karni, and remember you're looking at the configuration, not at any particular result [14:10] karni, and why would we always left-align when art is there? [14:11] sil2100, I've picked you as you name pops up in "bzr log" and tmoenicke is no longer around... [14:11] Saviq: I'm sorry if I didn't make this clear - I'll make it work in progress [14:11] dandrader: sure, let me take a look [14:11] karni, I don't think art has any bearing on center vs. left alignment... [14:11] karni, also, because components might be: [14:11] "art": "foo" [14:11] as well as: [14:12] "art": { "field": "foo" } [14:12] Saviq: It does. if there's art and it's horizontal, it should be left aligned, if there's no art, it should be center aligned [14:12] let me find the spec [14:12] karni, right, you need to differentiate between horizontal and vertical, then [14:12] Cimi: there's still one "../../tests/qmltests/Dash/Music/data/testsound1.ogg" left [14:13] karni, the condition should be: [14:13] subtitle && (typeof subtitle === "string" || subtitle["field"]) [14:13] ack, thank you :) [14:13] karni, so, you check that subtitle is defined at all in the first place (and non-empty) [14:13] * karni nods === mterry_ is now known as mterry [14:14] karni, and then it needs to be a string, or subtitle["field"] needs to be non-empty [14:14] Saviq: Cimi: besides that one ogg path still looking like it should exist, it looks ok to me so i've approved https://code.launchpad.net/~unity-team/unity8/unity8.previews_audioPlayer/+merge/203387 want me to top approve or want to have a second approve? [14:14] tsdgeos, I updated the path [14:14] tsdgeos, top-approve away [14:14] tsdgeos, maybe I can do [14:15] /path/not/existing [14:15] Cimi, "../../tests/qmltests/Dash/Music/data/testsound1.ogg" [14:15] let me do that [14:15] Saviq, I pushed :| [14:15] Cimi: you updated 3 of them, forgot 1 [14:15] Cimi, tracksModel1 [14:15] or launchpad is behind [14:15] Cimi, or that ↑ [14:15] Cimi, just drop the extensions, it really doesn't matter what you put there [14:16] Saviq, ok [14:16] sorry guys, was killed by headache till 10 mins ago [14:16] Cimi, tsdgeos, I wonder, should we update the duration once the stream is loaded? in case the scope lied? [14:16] since 7am [14:16] :( [14:16] Cimi, you need to fix your head! ETOOMANYHEADACHES [14:17] Saviq: i was thinking that the other day too [14:17] don't know tbh, i'd trust the scope [14:17] but i'm open to both [14:17] tsdgeos, we don't display the current time anyway, do we [14:17] there's also the question if we should autoload or not [14:17] Saviq: no, just progress [14:18] tsdgeos, ok so unless people use stopwatches or somethin' we'r [14:18] e good [14:18] yep [14:18] let's leave it be [14:18] Saviq, don't ask me why [14:18] Cimi, please put */ on separate line [14:18] Saviq, I did work this morning, but I wish I was without headache [14:18] Saviq, ok [14:19] Cimi, London doesn't agree with you ;) [14:19] Cimi, you Italians need more sun ;) [14:20] Saviq, yes, glad I'm going to mwc [14:20] Saviq, I'll be working there also the week after [14:21] Saviq, rented flat with alex chiang [14:21] Cimi, cool [14:22] Cimi, docs are wrong [14:22] widgetData["source"] widgetData["title"] widgetData["subtitle"] widgetData["length"]. [14:22] those don't exist [14:22] dammit [14:22] you're right [14:23] Cimi, it's enough to say: it expects each element in the array to be: { "source": "url://", "title": "Title", "subtitle": "Subtitle" // optional, "length": 120 // in seconds } [14:25] Saviq, or you prefer http://paste.ubuntu.com/6873262/ [14:25] ? [14:25] Cimi, that's still wrong ;) [14:25] Cimi, it's missing the index in there [14:25] Cimi, let me check one thing === rachelliu_ is now known as rachelliu [14:30] Saviq, standup [14:35] Cimi, btw, s/TextSummaryWidget/TextWidget/ or SummaryWidget please [14:36] Saviq, you want AudioPlayerWidget as well? [14:36] mhr3_: I applied the changes you requested, It's better, it has triggered a very smaller diff :) [14:38] tintou, great, why the "bool?" [14:38] tintou, simple bool would suffice [14:38] mhr3_: yes, for sure, it's because I tried with void [14:39] tintou, there's actually a trick possible [14:41] Cimi, something like: http://pastebin.ubuntu.com/6873320/ [14:41] Cimi, (sorry for pinging on irc.c.c) [14:46] Cimi, not sure what you mean by "you want APW as well"? [14:46] Saviq, audioPlayerWidget? [14:46] as well? [14:47] Cimi, what? rename? AudioWidget would probably be enough, tbh [14:47] ok [14:47] dandrader: did you mean https://code.launchpad.net/~thomas-voss/platform-api/expose_accuracy_and_service_status_to_platform/+merge/203298 with the corresponding location service branch? [14:47] greyback, no [14:48] * dandrader looks for the branches [14:48] greyback, lp:~thomas-voss/location-service/adjust-to-dbus-cpp and lp:~thomas-voss/platform-api/adjust-to-location-service-changes [14:48] dandrader: thanks [14:54] Cimi, tsdgeos, ah you didn't name them *Widget, maybe that's fine (Audio, Summary, Gallery etc.)? [14:55] since they're all in /Previews/ anyway [14:55] Saviq: no we didn't [14:55] since they are in Previews [14:55] *but* [14:55] it pollutes a bit the make testXYZ naming though [14:55] tsdgeos, right, can the tests be named differently than the .qml itself? [14:56] since you do make testAudioPlayer [14:56] and make testAudioPlayerPreview [14:56] tsdgeos, testPreview_Audio or something? [14:56] or something may make more sense [14:56] let me see [14:57] Saviq, tsdgeos I renamed already both to AudioWidget and TextWidget [14:57] tsdgeos, it creates a conflict in tests/qmluitests/CMakeLists.txt [14:57] Cimi, sorry, I brainfarted, thought they were named *Widget [14:57] tsdgeos, easy to fix in your branch [14:58] * tsdgeos is lost now [14:58] me too [14:58] shall I revert? [14:58] I think is fine to keep some sort of custom name [14:58] tsdgeos, Cimi, let's go for simple names - Audio, Gallery, Text etc. [14:58] we can have PreviewAudio [14:59] PreviewGallery [14:59] i've been trying to use the names in the UX doc [14:59] or AudioPreview [14:59] mzanetti, would rather do ↑ I know [14:59] I have no strong opinion, (simple is better IMO) [14:59] brb [14:59] ? [15:01] * mzanetti is not following [15:01] Saviq: Cimi: ok, let's go with PreviewName [15:01] mzanetti: don't worry :D [15:04] tsdgeos, PreviewAudioPlayback then [15:04] tsdgeos, PreviewTextSummary [15:04] ok? [15:04] +1 [15:04] Saviq: what's this? 20/20 Test #20: timeformattertest ....................***Failed 0.02 sec [15:06] Saviq: WIP -> Needs Review https://code.launchpad.net/~unity-team/unity8/new-scopes-title-alignment/+merge/204677 [15:07] karni, LANG=C [15:07] karni, or LC_ALL=C [15:07] karni, == read CODING [15:09] huh! [15:11] tsdgeos, done [15:14] Cimi: do you really need import Ubuntu.Components.ListItems 0.1 in the PreviewAudioPlayback? [15:14] tsdgeos, nope, I needed when I had thindivider [15:14] tsdgeos, removed [15:14] tsdgeos, well spot, let me do [15:17] tsdgeos, done for both [15:25] karni, re: carousel, I wouldn't touch Carousel.qml itself [15:25] karni, and it's weird, it doesn't look that big here [15:25] I'll send you a screenshot [15:26] karni, ah I know what you mean [15:26] karni, non-overlayed title isn't meant to be supported I'm afraid :| [15:26] Cimi: since my image gallery and your text summary don't merge together well, i'll chain imageGallery after textSummary [15:26] Saviq: the label, when focused in carousl, gets cut [15:26] Cimi: if you are working on something chain it after my imagegallery [15:26] Saviq: ok. so, either I should work on the overlay part, or we have to fix this like ^ before MWC. It looks real bad :( [15:27] Saviq: and I agree. non overlayed title looks ridiculous in carousel xD [15:27] karni, doesn't look that great on the screenshot, either... [15:27] yes, lesser evil [15:27] karni, depends ;) [15:27] ok, will try and get overlay to work this week, then === salem_ is now known as _salem [15:28] Saviq: sent the screenshot [15:28] Saviq: woho, that'd be amazing [15:29] Cimi: you are missing the "commit boilerplate" in https://code.launchpad.net/~unity-team/unity8/unity8.previews_audioPlayer/+merge/203387 and https://code.launchpad.net/~unity-team/unity8/unity8.previews_textSummary/+merge/204177 [15:29] please add [15:30] mzanetti: re [15:30] anpok: hi :) [15:30] mzanetti: because all buffers are stacked onto each other and all use a pixel format with alpha they all get blended onto each other === alan_g is now known as alan_g|tea [15:32] anpok: any idea already how to make it faster? [15:32] tsdgeos, commit boilerplate? [15:32] ah [15:32] tsdgeos, sorry what? [15:33] mzanetti: yes, greyback suggested to make application windows oppaque - since they are - then mir can filter the occupied ones out.. [15:33] Cimi: https://wiki.ubuntu.com/Process/Merges/Checklists/Unity8 [15:33] additionally we could also play with hidden status - but neither sure where and how - so I will try with opaque first [15:34] anpok: I guess in the long run we should support transparent app surfaces though. [15:34] anpok: let me know when you want to try the hidden status thing, I've a good idea how to tackle that [15:34] mzanetti: yep. App should be able to decide if it wants transparency or not [15:35] oh started the qtubuntu build earlier [15:35] and it failed o_O === dandrader is now known as dandrader|lunch [15:36] tsdgeos, :'( [15:36] tsdgeos, that sounds boring [15:36] http://paste.ubuntu.com/6873609/\ [15:36] http://paste.ubuntu.com/6873609/ [15:37] anpok: install qt5-default [15:37] anpok: or export QT_SELECT=qt5 === alan_g|tea is now known as alan_g [15:38] Cimi: where have you been ? [15:39] tsdgeos, added checklist [15:39] is ./run_on_device not rebuilding changes in ? on latest trunk ?...or am i doing something wrong [15:40] note, was previously working...just updated my local branch to latest trunk [15:40] kgunn: its not rebuilding always. there are rare cases where it fails to detect if something has changed [15:40] kgunn: to be sure, log into the device and delete ~/shell [15:40] Cimi: can you update the pot file in the textsummary [15:40] tsdgeos, ok [15:41] tsdgeos, where do I need it? [15:42] mzanetti: thanks...and yeah...weird, code change in same exact spot, all of the sudden it detected [15:42] ah see more [15:42] * kgunn suspects an order of operation somewhere [15:44] mzanetti: thats with sbuild [15:44] tsdgeos, it carries other changes http://paste.ubuntu.com/6873649/ [15:45] the only real change is "Please enter SIM PIN" [15:45] the other is just moving around [15:45] the sim pin thing is complicated [15:45] but just let it there too [15:46] anpok: you can still add qt5-default as a build dependency or export QT_SELECT in debian/rules. but the question is why does it build in the repositories if this is missing... [15:48] mhr3_: hi! We assigned a slot for the mediascanner scope now [15:49] and it took only 4 days! :P [15:49] tsdgeos, OK done [15:50] tsdgeos, 'fraid pushed a small change to card-tool: http://bazaar.launchpad.net/~saviq/unity8/card-tool/revision/687 [15:53] * tsdgeos re-reviews [15:54] Saviq: Could you update me on where we are with preview work please? [15:54] pete-woods: I'm getting hud-service to use 100% of my CPU quite often... I don't have debg symbols here yet, but this seems to happen http://pastebin.ubuntu.com/6873661/ (if it helps) [15:54] Trevinho: thanks, I'll have a look [15:54] Saviq: Feel free to delegate to Cimi or mhr3, I'm happy for whoever provides progress update :) [15:54] karni, branches are merging soon [15:55] karni, at least for text summary, audio playback [15:55] Cimi: how soon is soon :)? some time this week perhaps? [15:55] karni, currently approved, today/tomorrow [15:55] Cimi: I'm just asking because we need to know where we are relative to MWC [15:56] Cimi: sound great [15:56] karni, I plan to have initial preview support hooked up tomorrow [15:56] Saviq: whoaa, that is great news [15:56] karni, it's fortunately not a huge amount of work [15:56] Saviq: That's great. Please keep me posted, I'm happy to testdrive whatever will be in WIP on lp [15:57] Trevinho: can you tell me which apps you have running? and also pastebin the hud log (~/.cache/upstart/hud.log) [15:58] pete-woods: this is my log http://paste.ubuntu.com/6873710/ [15:59] Saviq: looks good, want me to re-topapprove? [15:59] pete-woods: as for the apps I've firefox (3 windows), gnome-terminal (2 windows), chromium-browser (webapp mode), subilme text (6 windows), evolution, gnome-tweak-tool [15:59] tsdgeos, please [15:59] karni, if you're in need of tasks, you could have a stab at the overlay, or maybe trying to find out why tapping doesn't work in carousel [15:59] dine [16:00] Trevinho: if you notice any correlation with it occurring with the startup of any of those particular applications it would be very helpful to know :) [16:00] hey so, using ./run_on_device....shouldn't i be able to navigate to home/phablet/shell on the device and ./runtests ? [16:00] tsdgeos, already? you're in Barcelona, shouldn't you dine at 10pm or something? [16:00] but thanks for that list [16:00] Saviq: trying to find a balance between sprint and MWC work. noted. I'll look into carousel first. [16:00] pete-woods: full list http://paste.ubuntu.com/6873719/ [16:00] Saviq: i meant done [16:00] tsdgeos, ;) [16:00] heh [16:00] Saviq: 9pm if at home, 10pm if at a restaurant is typical yes [16:00] pete-woods: ok, but I've noticed that at boot time... or just few seconds after [16:01] Trevinho: hmm, that is very interesting [16:01] karni, it's your call - if you have time and want to stab it, just let me know you are, otherwise one of us will do it [16:01] presumably with only something like gnome-terminal runnung? [16:02] Saviq: ack! happy to take on work, I'll keep you posted. [16:02] karni, cheers [16:04] Saviq: You asked for a list of priorities for out team. We took an old e-mail, and noted where we are. Here it is: https://pastebin.canonical.com/104220/ [16:04] karni, thanks [16:04] Saviq: basically, previews, so we're on good path, then, if possible, some theming [16:04] Saviq: thank you, sir === _salem is now known as salem_ [16:11] Trevinho: well, the culprit is definitely sublime text [16:11] Trevinho: ran it, and the CPU usage immediately spiked [16:11] Trevinho: thanks for all the information :) [16:12] pete-woods: np [16:12] pete-woods: any idea what it might be? [16:12] Trevinho: it could possibly be that there's a cycle in the menus that sublimetext exports, and we're not handling it? [16:13] at the minute I'd just be guessing, though [16:13] ah... damned closed sources things [16:13] but it's soo good to code :/ [16:13] we should still be able to debug it fairly easily, though [16:13] at it's all happening over DBus, so is fairly transparent [16:16] hey so, using ./run_on_device....shouldn't i be able to navigate to home/phablet/shell on the device and ./runtests ? [16:17] Trevinho: here's a bug report for you to watch (https://bugs.launchpad.net/hud/+bug/1276225) [16:17] Launchpad bug 1276225 in Unity HUD "Infinite loop in gmenu handling when running sublimetext" [Undecided,New] [16:17] mzanetti: hmm i guess I use the wrong branch - i should be using trunk not mir? [16:18] anpok: what do you want to do? [16:18] kgunn: i'd say runtests needs some love [16:19] tsdgeos: heh [16:19] tsdgeos: that might be true, yea [16:19] quick look at it doesn't seem as it would work [16:19] kgunn: see CODING for how to run tests [16:19] pete-woods: thanks [16:19] tsdgeos: well, it works, that's how our tests in jenkins are run [16:19] kgunn: ^ [16:19] mzanetti: well just runs qmltests and it expects you to be in the builddir [16:19] mzanetti: hack on qtubuntu [16:19] but probably only works if you do the exact same thing as jenkins does [16:19] anpok: trunk [16:19] well...it attempted of course, but nothing ran... [16:20] kgunn: if you do [16:20] cd builddir [16:20] ../runtests [16:20] maybe it works better [16:20] ah, would make sense [16:21] sil2100, didrocks, unity8 good to go [16:22] Saviq: good good, or good, like "GOOOOD"? ;) [16:22] no really....good [16:23] ;) [16:23] hum [16:23] jenkins is weird… [16:23] ah no, it's not [16:23] I'm broken [16:23] * didrocks fixes didrocks [16:25] didrocks, tested, everything works as expected, filed a few bugs I found: bug #1276218, bug #1276223, bug #1276231 [16:25] bug 1276218 in indicator-network (Ubuntu) "Cancelling a WiFi password dialog turns WiFi off and leaves the network checked in the list" [Undecided,New] https://launchpad.net/bugs/1276218 [16:25] bug 1276223 in unity-scope-click (Ubuntu) "Preview for already installed apps in "More suggestions" has "Install" button" [Undecided,New] https://launchpad.net/bugs/1276223 [16:25] bug 1276231 in ubuntu-keyboard (Ubuntu) "With auto-correction enabled, leaving an app when a word is "being predicted" leaves the keyboard in weird state" [Undecided,New] https://launchpad.net/bugs/1276231 [16:26] Saviq: packaging changes looks good, publishing [16:27] ls [16:27] ... [16:27] didrocks, \o\ /o/ \o/ \o\ /o/ [16:28] /we need to regress more, we get priority silos *cough* *cough* [16:28] Saviq: rohhhh :p [16:29] didrocks, sorry ;D [16:29] * didrocks looks Saviq with brown eyes [16:29] at* [16:38] tsdgeos, "8 -import Ubuntu.Components.ListItems 0.1" in gallery? [16:38] Saviq: i think that's a result of 3--way merge [16:38] tsdgeos, ok, let me see [16:39] Saviq: first merged to audioplayer, later merged to textsummary [16:39] textsummary as been merged to audioplayer too [16:39] but the merge is less recent [16:39] so it seems i'm removing that line [16:39] when indeed the line is not there [16:39] not sure if i'm making sense in there [16:45] tsdgeos, you are, but when merging the three in sequence I get a conflict in CMakeLists.txt [16:46] really? [16:46] damn [16:46] <<<<<<< TREE [16:46] ======= [16:46] add_qml_test(Dash/Previews PreviewImageGallery IMPORT_PATHS ${qmltest_DEFAULT_IMPORT_PATHS} ${CMAKE_BINARY_DIR}/tests/mocks) [16:46] >>>>>>> MERGE-SOURCE [16:46] wonder how is that a conflict... [16:46] stupid bzr [16:46] Saviq: i guess textsummary would need to get updated [16:47] tsdgeos, yeah, *something* isn't merge *somewhere* ;) [16:47] let me see if i can make it work [16:48] it's actually text summary that needs fixing [16:48] it already fails at merging there [16:48] Cimi: can you do it? [16:48] or i'm old [16:48] * tsdgeos checks [16:48] wait i was outdated [16:51] Saviq: i can't make any sense of why it doesn't merge [16:52] Saviq: you can merge those 2 only and then merge mine next [16:52] or i can just resubmit a "cleaner" branch [16:53] tsdgeos, maybe yeah, let's clean it up [16:53] Saviq: ok, i'll do the implicitHeight thing, but who's going to set the height? [16:53] the previewfactory? [16:53] Saviq, irssi? :) [16:53] tsdgeos, it's internal [16:53] tsdgeos, if there's no explicit height, implicitHeight is used [16:53] * tsdgeos facepalms :D [16:53] Cimi, no, xchat-gnome [16:54] tsdgeos, http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-item.html#implicitWidth-prop [16:54] tsdgeos, RTFM! [16:54] ;) [16:54] Cimi, re: priv [16:54] Cimi, we're not "marking" them at all, we just hide them so they're not available on the root object [16:55] Cimi, when there's a lot, we'd put them in a QtObject { id: priv } indeed [16:55] Cimi, when there's only one, just put it in one of the lower level components [16:56] Cimi, I know it feels like a hardcoded value, but where it should be un-hardcoded is the style/theme, not in the component itself [16:58] Saviq: yes, all the projects i've used always did /** and not /*! [16:59] tsdgeos, https://qt.gitorious.org/qt/qtdeclarative/source/7c1e3dea8ba66f9eedee4f3d66dba55d7f7556b8:src/quick/items/qquickloader.cpp#L159 [16:59] well that's qdoc [16:59] isn't it? [16:59] tsdgeos, same difference :) [17:00] tsdgeos, kde uses /** ? [17:00] i'd say it does [17:00] let me see === dandrader|lunch is now known as dandrader [17:00] tsdgeos, I don't really care, just looked at Qt for "inspiration" [17:00] i don't care either [17:01] yeah /** [17:01] http://paste.ubuntu.com/6873967/ [17:01] anyhow http://www.stack.nl/~dimitri/doxygen/manual/docblocks.html says /*! is Qt style [17:01] so that works fine for me [17:01] tsdgeos, let's do that [17:01] do what? [17:01] tsdgeos, Qt style [17:01] sure [17:02] tsdgeos, /me should add * everywhere then [17:02] tsdgeos, will clean it up later [17:02] Saviq: no no, Qt style is /*! [17:02] no need to add any *, no? [17:02] tsdgeos, I mean next line [17:02] ah [17:02] well that's optional [17:02] tsdgeos, between /*! and */ [17:03] sure it is [17:03] ETOOMANYPOSSIBILITES [17:03] i actually like it though :D [17:03] like it couldn't be imposed, dammit! [17:03] tsdgeos, yeah, kde uses @, too, instead of \ [17:03] java lovers! [17:04] i'd mostly vote for "old people" [17:04] ;D [17:04] i.e. i don't think doxygen supported Qt-style when kde started adding documentation [17:05] tsdgeos, Cimi, .pot change on purpose? [17:05] Saviq: well there's new strings [17:05] tsdgeos, ah of course [17:05] tsdgeos, and the other are just movearounds [17:05] ok [17:07] * tsdgeos args [17:07] force pushed the wrong stuff :D [17:09] tsdgeos, yay ;) [17:10] ahhhhhhhh [17:10] i hate bzr [17:10] so i get a branch [17:10] merge everything in order [17:10] resolve the conflicts [17:10] push it [17:10] and then try to do the merge again [17:10] and it conflcits :D [17:11] Saviq: is there a change you do bzr merge lp:~aacid/unity8/image_gallery_preview_widget --weave when merging the 3rd branch? [17:11] or you don't have control over it and i should really push a clean clean branch? [17:12] tsdgeos, not sure what you mean [17:12] so if you add [17:12] tsdgeos, but just leave it for now, don't get frustrated [17:12] --weave [17:12] it merges fine [17:12] but if there's some tool that does the merging [17:12] instead of you [17:12] i need to redo the branch for it to not have a criss-cross [17:14] bah, will fix it tomorrow [17:14] * tsdgeos waves [17:19] Saviq, pushed comments and moved variable [17:19] Cimi, I've more comments to that branch I'm afraid, incoming [17:19] ok [17:20] Saviq, tell me [17:21] Saviq, I didn't use thin divider because rotation doesn't seem to work inside row [17:21] sorry [17:21] it just doesn't work in row [17:22] Cimi, oh interesting, using a transform, or direct via Item.rotation? [17:22] Saviq, just put it inside [17:22] Saviq, I think they have some calculation of dimensions [17:22] but let me try again so I paste the error [17:23] Saviq, QML Row: Cannot specify left, right, horizontalCenter, fill or centerIn anchors for items inside Row. Row will not function [17:24] Saviq, pretty sure it contains some weird theming [17:24] or some calculations somewhere in listitems [17:25] Saviq, that is the error happening adding a ThinDivider {} in row [17:27] Cimi, https://code.launchpad.net/~unity-team/unity8/unity8.previews_textSummary/+merge/204177/comments/478501 [17:28] Cimi, yeah, ThinDivider has anchors [17:28] Cimi, you should be able to undefine them [17:28] Cimi, i.e. anchors: undefined [17:28] Cimi, it's not about rotation [17:29] Saviq, I don't agree with all your comments [17:29] Cimi, you don't have to [17:30] Cimi, if you disagree somewhere, reply why [17:30] Cimi, convince me ;) [17:30] I can tell you here [17:30] Cimi, comment please [17:30] Cimi, I'm past my EOD already [17:30] ok [17:32] Saviq, anchors is read only [17:33] Cimi, then you need to unset the actual anchors that ThinDivider defines [17:33] Saviq, but this is crap because if thin divider changes we break [17:33] Cimi, thin divider is our component, that's a) [17:33] hah [17:34] Saviq, no, it's in SDK [17:34] Cimi, and it's like 10 lines ;) [17:34] Cimi, no, it's not [17:34] Cimi, just copy it into VerticalDivider and be done with it ;) [17:34] Saviq, I was using thin divider from sdk [17:35] Cimi, we have our own in ListItems (which, granted, we should not) [17:35] Cimi, but anyway, I'm not hung up on using ThinDivider [17:35] Cimi, I *am* hung up on not using two Rectangles there ;) [17:45] mhr3_, u8 landed, just pushed merge to new-scopes, version should be resolved in some minutes [17:46] Saviq, i was wondering if it'd happen today :) [17:46] mhr3_, you know, all the snow on the tracks... [17:48] karni, we could use a review of https://code.launchpad.net/~saviq/unity8/newscopes-card-tool/+merge/204301 [17:48] :) [17:51] Saviq: ack, on it after lunch break [17:52] karni, cheers [17:54] karni, your lunch hours suggest you moved to us :) [17:55] mhr3_: Orlando, 12:55 here :) [17:56] aaaaah, so i'm actually right, and i though you're just being... you? :P [17:57] Saviq, I've done, chat tomorrow then! [17:57] hahahah [17:57] almost done with lunch [17:57] Cimi, o/ === alan_g is now known as alan_g|EOD [18:01] karni, you wrote in the notes that VJournal is DONE, which it isn't, is it still a req? should we be looking at it? [18:03] aight, you summoned me :) [18:04] Saviq: No, I think we don't need vjournal. I'll confirm with ssweeny, but if we do, I'll complete it. [18:04] karni, ok cool [18:04] Saviq: for now, consider it non-req [18:04] * karni does review [18:04] karni, so basically previews are top of the list now [18:04] Saviq: yes, great [18:04] karni, then overlay and the visual themes [18:04] perfect! [18:05] Saviq: so, I left a comment that carousel would not spin when clicked (after I approved that branch). how would you like to proceed? I started looking into why it doesn't work. shall we fix it in another branch? we don't want to break trunk carousel [18:06] Saviq: the "weird" card height was probably because CardTool calculates 3 (?) lines of text for summary, if summary is mapped. even if all summaries are very short. [18:06] and so, there's visual spacing below. but, that's a detail, we don't care about that much ATM [18:06] karni, trunk carousel is not touched at all [18:06] we just used subtitle field instead. [18:06] Saviq: so it's a card thing, eh? [18:06] karni, 5 lines [18:06] * karni nods [18:07] karni, it's something between CardCarousel and Carousel, yeah [18:07] karni, and re: mapping summary yes, and that's the desired behavior [18:07] ok. want me to +1 your branch and fix in a different one? [18:07] Saviq: bleh :D [18:07] karni, since _a_ card can have a summary 5 lines long [18:07] karni, we need all of them to cater for that [18:08] karni, but that's only the case in grid [18:08] Saviq: I was thinking of "check longest summary in the model", and set size based on that hehe [18:08] right [18:08] karni, no no no [18:08] heheheheh [18:08] Saviq: take that as a joke [18:08] karni, oof [18:08] Saviq: aight, let's go back to your branch [18:08] +1 and I fix the carousel? [18:08] karni, if you're anywhere close to fixing the carousel, we can include it [18:09] karni, it's your call, really [18:09] karni, I can push to ~unity-team and you'll just continue on that branch, /me fine with that [18:09] Saviq: ok, let's +1 and I fix it, if that's okay with you. [18:09] karni, fine by me [18:09] I had to share my attention with the meetings, and just came back from lunch, so let's get this rolling. [18:10] karni, yup, no worries [18:10] Saviq: want to fill out checklist? [18:10] karni, not here, no [18:10] ok [18:10] karni, that will happen when merging new-scopes into trunk [18:10] we need to start fixing tests, though... [18:10] Saviq: +1 and top-approved [18:10] Saviq: which ones? [18:11] karni, all the failing ones ;) [18:11] Saviq: what's the fulll suite run command? [18:11] karni, in new-scopes I mean [18:11] I only did selective test* and make test [18:11] karni, I'll kick a -ci run on new-scopes, let's see [18:11] ok === dandrader is now known as dandrader|afk [19:04] Saviq: Card is an abstract button. the click() event has no arguments. do you know what are attached properties of Carousel delegates? basically, onClicked: cardCarousel.clicked(index, itemY) was outside of the delegate (that was the problem), but itemY is not defined. [19:04] karni, ah of course [19:05] karni, Carousel is different, it needs all input [19:06] karni, I think it's going to be enough to go enable: false on the Card in Carousel [19:06] * karni looks [19:07] karni, yup [19:07] Saviq: right, but doesn't that kill the click-to-preview part? [19:08] long press should be preview? [19:08] karni, no, because Carousel itself needs to calculate which item was clicked [19:08] karni, so in case of Carousel it's the Carousel that sends that signal, not Card itself [19:08] ack [19:09] Saviq: you're right. want to push that one-liner or should I? [19:09] karni, [19:09] === modified file 'qml/Dash/CardCarousel.qml' [19:09] --- qml/Dash/CardCarousel.qml 2014-01-31 17:22:40 +0000 [19:09] +++ qml/Dash/CardCarousel.qml 2014-02-04 19:09:09 +0000 [19:09] @@ -64,6 +64,8 @@ [19:09] [19:09] property bool explicitlyScaled [19:09] property var model [19:09] + [19:09] + enabled: false [19:09] } [19:09] } [19:09] } [19:09] yes, that's what I did :) [19:09] karni, I'll just push it directly to new-scopes [19:09] Saviq: ack, thank you [19:09] good job [19:09] karni, good job you! [19:10] another one bites the dust! [19:10] haha [19:11] Saviq: would you mind giving me 2 sentence intro into overlay mode? you mentioned UbuntuShape2 [19:11] karni, yeah, we don't have that yet [19:12] Saviq: Do you have the link to the design drive? Could you PM it to me please? [19:12] Saviq: I'm happy to take on overlay if I find time (and I'll try to find time) [19:13] Thanks [19:13] karni, we had the overlay somewhere, although it wasn't great [19:13] karni, but would be good enough [19:13] oh [19:13] * Saviq looks [19:13] you never stop surprizing me [19:13] karni, https://code.launchpad.net/~cimi/unity8/carousel-music-video/+merge/192118 [19:14] :D [19:16] karni, you'd have to look it through and yank out the overlay support [19:16] * karni nod [19:16] thank you :) [19:16] karni, shouldn't be crazy difficult, hopefully [19:16] ^ ^ [19:17] * karni joins one sprint session [19:17] karni, but it won't look *great*, I'm afraid [19:17] karni, actually maybe I have a better idea for a poor-man's overlay [19:18] karni, give me a few mins, let's see what I can come up with [19:18] Saviq: it's 20:00 in Poland (you work in Poland?), take it easy buddy! [19:18] *from Poland [19:19] My English sucks recently. [19:19] lol karni telling people to not work late [19:19] xD [19:23] Saviq, hey, do sidestage bugs belong in unity8? or is there somewhere else more approrpriate [19:23] cwayne_, yes, between unity8 and unity-mir [19:24] cwayne_, ping greyback please, he's got a few on his radar, so as not to duplicate [19:24] Saviq, awesome, thanks [19:24] cwayne: please log to unity8, and give them a "sidestage" tag so I can track them easily please [19:24] * greyback too polite sometimes [19:25] perfect, that's exactly what i was gonna do :) [19:25] cwayne: appreciated, thanks [19:26] Saviq: with that pace, I'll get pulled back to phone delivery real soon haha [19:27] karni, shall we slow down, eh? [19:27] god no [19:28] speed up so we can get karni back :P [19:28] lol [20:08] karni, you should be able to take it further: http://paste.ubuntu.com/6874946/ [20:10] karni, just add «, "overlay": true» in the template (override in scope-tool works fine) [20:11] xD [20:11] Saviq: you pure awesomeness [20:12] Have a good evening man :) Take it easy, thank you! [20:15] karni, it looks like CardTool gets confused (implicitHeight binding loop in Card) for some reason [20:15] karni, that might be why you're getting weird card heights [20:16] Saviq: ACK. now go enjoy your evening :D [20:21] karni, I'm thinking of going http://paste.ubuntu.com/6875018/ [20:22] karni, it fixes the issue, all tests still pass [20:24] karni, so yeah, it doesn't look great in Carousel, mostly because our carousel works "the other way around", meaning it scales items up instead of down [20:25] karni, it also needs to only show the overlay on the current item in carousel, so we'll need a prop on Card [20:25] karni, but yeah, I'll go now [20:25] * karni reads [20:25] Saviq: ^ ^ will check out the paste in a sec [20:26] Enjoy your evening :) [21:27] bregma, Hey, so I have a branch where I was playing with implementing XDG Autostart as Upstart jobs. Would that be useful for your Unity8 session? [21:28] tedg, to do what? Autostart programs wit hthe session? [21:29] bregma, Yup, basically. [21:29] bregma, Basically do gnome-session's job without gnome-session. [21:30] tedg, yes, that sounds like one of the missing parts of the puzzle [21:32] bregma, So it's here, I hadn't really pushed to merge it because I didn't know if it was actually useful. But if it is, we can figure out that whole packaging thing: https://code.launchpad.net/~ted/upstart-app-launch/xdg-autostart/+merge/200545 [21:32] bregma, It is disabled by default so that you can make the adjustment per-session so that you don't screw up your whole machine :-) [21:33] I live for screwing up my machine [21:34] Then just make the suggested changes in /usr ;-) [21:40] bregma, Merged trunk and updated. Realized I hadn't in a while. [21:48] tedg, so much upstart stuff, you're trying to make systemd migration hard, aren't you? :) [21:49] mhr3_, Heh, you've seen right through me. [21:50] Sure most of this stuff could work with systemd as well. Haven't tried though. [21:51] Is GNOME using Systemd in the user session yet? I know they'd talked about it, but not sure if it's happened. [21:53] no idea [21:57] karni, got time to look at the diffs? what do you think? [21:58] Saviq: yes! they're fantastic [21:59] I was about to send out an MP with your code lol. Or do you want to do the honors? I'm not taking credit! :D [21:59] karni, just put it up [21:59] ok [21:59] Saviq: saw that shader implementation. slick, dude, slick! [22:00] Saviq: I did it against new-scopes branch, that right? [22:00] karni, nah, into trunk I think [22:01] ack [22:03] That'll be fun. I should actually approve that upcoming MP, it's your code haha. [22:04] branching unity8, really slow [22:08] karni, I'll ask Albert to review tomorrow [22:09] Saviq: https://code.launchpad.net/~unity-team/unity8/unity8-card-overlay/+merge/204790 [22:09] karni, thanks [22:09] Saviq: I'll +1 it as comment, not top-approve then :) [22:09] Saviq: thank YOU!! [22:11] karni, there's definitely a few thing we need to fix there, though - it should only show up on the current item in Carousel, not all of them [22:12] karni, and the height should probably be dynamic, based on maximum header size [22:12] karni, and some margins, too [22:13] only current item? I see.. I should find the doc with the spec [22:13] laggy network [22:13] karni, https://docs.google.com/a/canonical.com/file/d/0B-a_7E3tDxOgOHAwNEt1S2Zfa2s/edit [22:14] karni, I'll look at it myself tomorrow again and leave things to fix as comments, will work on the preview first, though, so if you find time somewhen you can have a go, otherwise I'll tackle it later [22:14] Saviq: sounds like a great plan! thanks so much, Saviq [22:15] We really appreciate your work! [22:15] karni, it's not that bad testing-wise, too, btw https://code.launchpad.net/~unity-team/unity8/new-scopes/+merge/198359/comments/478617 [22:15] * karni looks [22:17] * karni nods. GenericScopeView would make sense to take on first, probably, once basic previews land [22:19] karni, yup [22:21] Saviq: since you're here, I'll just ask one last question - that overlay should show when the item is centered in carousel, or fade-in as it shifts to foreground [22:21] karni, fade in [22:21] shit x) [22:22] karni, easy - Behavior on opacity { NumberAnimation { duration: UbuntuAnimation.SnapDuration } } [22:22] something like that [22:22] oh, I thought fade in as it shifts to foreground [22:22] tied to carousel position. [22:23] karni, it will be [22:23] that's easier :D [22:23] oh hahaha [22:23] and then property bool showHeader: true; opacity: showHeader ? 1 : 0 [22:23] * karni nods [22:23] karni, Carousel would override showHeader to be based on whether it's the current item [22:24] that's still easier than I thought :) [22:24] I thought it'd be bound to x position of the item being selected and it'd fade it as it shifts to center [22:24] karni, http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-listview.html#isCurrentItem-prop should be enough here [22:24] Saviq: you're making my life too easy ^o^ [22:24] ;) [22:25] Enjoy your evening :) [22:35] karni, pushed a small commit ther [22:35] e [22:36] ack [22:41] karni, pushed https://code.launchpad.net/~unity-team/unity8/newscopes-card-overlay/+merge/204797 too to ease work on the newscopes branch [22:41] So I upgraded and ended up in a bad place. [22:41] It seems compiz isn't drawing all the Unity stuff. [22:41] No panel, no launcher, etc. [22:42] Saviq: +1 [22:42] But it is running and saying it's loaded the unity plugin. [22:43] top approved [22:43] Looks like I have a daily build of Unity: 7.1.2+14.04.20140204.2-0ubuntu1 [22:45] tedg, ppa:ubuntu-unity/daily-build ? [22:45] Saviq, Yeah [22:48] tedg, have you checked ccsm to make sure the plugin hasn't decided to unload it self? [22:49] I'm exhausted, Michal, took notes. I'll try to addres some of those overlay comments this evening/tomorrow morning. [22:49] We'll keep in touch. [22:49] bschaefer, Uhm, it had. [22:49] How is that possible? [22:49] tedg, there some sort of magic that goes on (some error handling im not familiar with, that causes it to unload it self) [22:50] tedg, i've never actually dug into the loading plugin part of compiz [22:50] Huh, okay. So then once it's gone, it's gone forever? [22:50] you should be able to re-enable it [22:51] Yeah, I did. I was more meaning it wouldn't reenable itself. [22:51] or its just not there at all? [22:51] nope [22:51] Joy. [22:51] once it unchecks it self, its never checked again [22:51] yeah [22:51] one of the fun joys of ccsm [22:51] Saviq, Don't implement that feature ^ [22:51] usually only happens after an update... [22:51] haha [22:51] karni, no worries [22:52] * bschaefer suspects schema changes that cause issues [22:52] Anyway, thanks bschaefer, wouldn't have thought that could happen. [22:53] tedg, yeah, and np! Thats become my number place to check when unity goes aways :) [22:53] number one* [23:47] bschaefer, what did you do?! [23:48] mhr3_, what did I do! [23:48] bschaefer, you can't see half of the map in dota... that's horrible! [23:48] i know :( [23:48] mhr3_, it makes the game a bit harder! [23:48] ah, you like challenge [23:48] the real issue though, i have no clue some problem in opengl not wanting to fully render some textures [23:49] mhr3_, hows all your fun API work going? [23:49] maybe some offset issue somewhere [23:49] thinks it's clipped while it isn't [23:50] yeah, strangly it renders most of it fine... [23:50] bschaefer, hard at work, eh? http://ubuntuone.com/5i6T94DYbrR62yez71DTeR [23:50] clipped sounds reasonable as well, the problem is like 90% of the other textures work [23:50] Saviq, haha, it was hard watching people play! [23:51] (its just spectator mode, i am not that good) [23:51] bschaefer, that's intel btw? [23:51] mhr3_, no it was AMD [23:51] err [23:51] ATI [23:52] mhr3_, X11 works fine though [23:52] i know it does :) [23:53] so it could either be in SDL rendering (something wrong with the opengl context given), mesa, or DOTA2 it self... [23:53] but [23:53] it seems to lean more on mir [23:53] mhr3_, on the plus side the FPS is the same on X11/mir [23:53] as i have an old old pc [23:54] hmm, i thought games running mir natively would be faster than x [23:55] well i've not tested it intensively, it was just the game FPS meter... [23:55] soo its hard to tell when it fluctuates from 15 -> 25 FPS [23:55] right [23:55] its at lease no worse [23:55] is all i could really conclude from that [23:56] i'm sure a particular news site will soon publish benchmarks :) [23:56] mhr3_, its actually really annoying getting dota2 running atm (due to some issues in loading the game and libtogl) [23:57] it took me like 2 weeks to try to get it to work, theres also a bug in the mesa video driver [23:57] playing dota2 under unity is actually even more annoying [23:57] where it fails to have to correct API index for the context [23:57] ;) [23:57] i've not tried, but hopefully its not to bad! [23:57] the hud button (alt) minimizes the game [23:58] oh yea, annoying as hell [23:58] I think the same with super key, I just rebound both to some other keys [23:58] kklimonda, you can use ccsm to disable those (i didn't say that out loud!) [23:58] bschaefer, but anyway, great job, some thing still missing, but we'll get there :) [23:58] bschaefer: in 14.04 I have to restart unity for those changes to kick in :( [23:59] otherwise I'd just write some script to do that before I launch the game, and revert back later [23:59] kklimonda, hmm it should by dynamic...but if isn't you can always restart the interface [23:59] with out rebooting [23:59] yeah, I'm just restarting it [23:59] through setsid unity (in a terminal), or setsid compiz --replace ccp