/srv/irclogs.ubuntu.com/2014/02/04/#ubuntu-unity.txt

=== RAOF_ is now known as RAOF
tsdgeosSaviq: so it was me that broke the previews right?08:06
Saviqtsdgeos, not really, it only ever worked by sheer luck08:06
tsdgeosi see08:07
Saviqtsdgeos, when app installed → scope would signal result invalidation, as well as send a new preview for the, now installed, app08:07
tsdgeosbut probably my refactoring broke it?08:07
tsdgeosi mean there's not much more that would touch previews and such08:07
Saviqtsdgeos, yeah it surfaced it08:07
Saviqtsdgeos, so before, somehow, the results did not get reset for the previewListView, and it would not reset08:08
Saviqtsdgeos, or they did reset later08:08
Saviqtsdgeos, so when bringing in the new preview, currentIndex was already -108:08
Saviqtsdgeos, as opposed to the real, currently selected one, 'cause the model for it was reset in the mean time08:09
Saviqtsdgeos, anyway: https://code.launchpad.net/~saviq/unity8/fix-preview-updates/+merge/20455908:14
Saviqtsdgeos, if you could get it to Approved (mterry waited for -ci run that was late)08:14
tsdgeoswill do08:14
Saviqtsdgeos, thanks08:15
=== Wellark__ is now known as Wellark
tsdgeosSaviq: can you explain what the "onPreviewDataChanged: showProcessingAction = false" does?08:39
Saviqtsdgeos, DashPreview.qml, at the bottom08:40
Saviqtsdgeos, there's a MouseArea that eats input after you have triggered an action08:40
Saviqtsdgeos, but it needs to be disabled when new previewData comes, as that action was executed, then08:41
tsdgeosok, makes sense08:41
Saviqtsdgeos, again, TBH not sure how this could have worked before...08:41
Saviqtsdgeos, most probably the PreviewListView did get reset, but somehow managed to maintain the currentIndex08:41
=== asac` is now known as asac
mhr3Saviq, why did we loose 7.85 from new-scopes?09:00
Saviqmhr3, not sure what you mean? the version number?09:01
Saviqmhr3, probably because I cleaned up the recipes09:01
tsdgeosSaviq: 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 urgent09:01
mhr3Saviq, yep, the version in the ppa is now lower than distro09:01
Saviqbug #127167609:01
ubot5bug 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/127167609:01
mhr3which sucks09:01
Saviqmhr3, not because we lost 7.8509:01
Saviqmhr3, but because there was a revert of unity8 yesterday09:02
Saviqmhr3, should be sorted today09:02
Saviqtsdgeos, it's waiting in the queue, will be released today with the fix for the previes09:02
Saviqpreviews09:02
Saviqtsdgeos, they won't get a fix for it if we don't release at all, either, so it just needs to run its course09:03
tsdgeosok09:04
Saviqtsdgeos, 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 image09:04
tsdgeossure09:04
Saviqtsdgeos, so we just need to be able to release again09:05
Saviqsil2100, didrocks, FWIW unity8 fix is in CITrain, waiting for a silo09:17
didrocksSaviq: excellent, thanks! can I ask you a favor?09:17
Saviqdidrocks, one more!? ;P09:17
didrockshehe, indeed09:17
didrockswe try to see if we can promote the current image09:17
didrocks(well 161, it's the one we have whole test results)09:18
didrocksthere is on unity8 failure09:18
didrocksone*09:18
didrockson both mako and maguro09:18
* sil2100 is flashing 161 just now09:18
didrocks+ 162 fails the same on mako09:18
sil2100*16209:18
sil2100;)09:18
Saviqdidrocks, upgrade unity-notifications09:18
didrocksSaviq: so, if we promote the current image09:18
Saviqdidrocks, it's because of the unity8 rollback09:18
didrocksthat will be broken?09:18
Saviqdidrocks, just the test09:19
didrockswhat will be broken exactly09:19
didrockshum09:19
didrocksare you 101% sure? :)09:19
didrocksif so, I'm happy to promote :p09:19
sil2100:D09:19
didrocks(well, considering for promotion)09:19
Saviqdidrocks, yes, I am09:19
didrocksSaviq: trusting you then! thanks a lot09:19
* didrocks hugs Saviq09:19
* didrocks is a lot happier :p09:19
sil2100Phew!09:19
sil2100\o/09:19
Saviqdidrocks, https://code.launchpad.net/~macslow/unity8/unity8.fix-test_sd_incoming_call/+merge/20356709:20
Saviqdidrocks, that commit fixed the test, but was backed out yesterday09:20
Saviq/bbiab09:22
didrocksSaviq: 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 :)09:22
didrocksSaviq: ok, sounding good for the image, we are doing dogfooding10:09
didrocksas no QA around10:09
didrocksand sounds we can promote10:09
didrocksthen, we'll just add your unity8 fix as a priority reland10:09
didrocks(we prioritize the reverted components first)10:09
dednickstupid irc...10:15
Saviqdednick, freenode is bitchy today10:18
dednickSaviq: just had to change from irc.freenode.net to chat.freenode.net and seems to work now.10:19
Saviqdidrocks, sure, will we land all that's in queue or would you want to land just the fix?10:19
didrocksSaviq: as you prefer, if you land everything, you are taking more risk I would say10:26
tsdgeosgreyback: ping10:29
greybacktsdgeos: pong10:30
tsdgeosgreyback: i'm trying your "do not draw branch"10:30
tsdgeosand i can't see the difference10:30
tsdgeosam i supposed to see less " Breakdown of frame time;" calls10:31
tsdgeosor shorter ones?10:31
greybacktsdgeos: much less calls10:31
tsdgeosalso on desktop?10:31
greybacktsdgeos: probably not as noticeable, since the lenses are already loaded on desktop when you start unity8.. But on device, it's very noticeable10:32
tsdgeosi'm actually getting more calls on the desktop :D10:33
tsdgeos126 vs 11710:33
tsdgeoslet me see the phone10:33
Saviqdidrocks, not with the set of changes we have there, most are not even in use currently (prep for new scopes)10:34
tsdgeosgreyback: how did you test it on the phone? i.e. which modification you did to run_on_device?10:40
tsdgeosit seems i'm not passing the envvar correctly10:40
tsdgeosdid you run manually without using run_on_device?10:40
* tsdgeos tries that10:40
greybacktsdgeos: manual run10:41
tsdgeosgreyback: manual run gives me 345 vs 31610:44
tsdgeosis that something like you were getting?10:44
Saviqmzanetti, yay10:45
mzanettiSaviq: no... no yay10:46
Saviqmzanetti, ?10:46
mzanettiSaviq: znc still won't connect10:46
Saviqmzanetti, well, at least you connected10:46
mzanetti(connectes fine to canonical's server tho)10:46
Saviqmzanetti, got a znc account ready for you here if you'd want one10:46
mzanettiwell... that's not really the solution10:46
mzanettibut thanks for the offer10:46
Saviqmzanetti, I know, that's why I said "if you'd want one"10:46
mzanettiinterestingly I get Connection refused now instead of timeouts10:47
greybacktsdgeos: I wasn't counting, but the difference was noticeable10:50
tsdgeosi see10:50
greybacktsdgeos: I'm not unlocking, I just start unity8 and watch10:50
tsdgeosok10:55
tsdgeosgreyback: nexus4?11:03
greybacktsdgeos: nexus10 I tested on11:03
tsdgeosthis is weeeeird11:05
tsdgeosi added11:05
tsdgeos        onFullyCoveredChanged: console.log("MOOOOOOOOOOOOO", fullyCovered)11:05
tsdgeosand it never shows anything ?¿11:06
tsdgeosgreyback: my greeter does not have a fullyshown property ?¿ :S11:09
greybacktsdgeos: "fullyShown" ?11:10
tsdgeosi added this11:10
tsdgeos        Component.onCompleted: console.log("BAAAAAAAAAAAAAA", fullyCovered, gree11:10
tsdgeoster, greeter.fullyShown)11:10
tsdgeosand i get11:10
tsdgeosBAAAAAAAAAAAAAA false Greeter_QMLTYPE_97_QML_209(0x47becd38, "greeter") undefined11:10
tsdgeosand grepping i don't see how it can be defined for you11:11
tsdgeosseems fullyShown is only there for stages11:11
tsdgeoswhich the greeter is not one11:11
greybacktsdgeos: damn, I swore that fullyShown was part of Showable. I must be wrong11:15
tsdgeosi can be wrong too, has happened before you know ;-)11:17
greybacktsdgeos: well reading the code, I think you're correct. I'm more confused about what I was finding last night...11:18
tsdgeosmhr3_: pstolowski: Saviq: what am i supposed to do with the "id" field of a type: "actions"?12:13
mhr3_tsdgeos, it's just an id picked by the scope12:14
mhr3_tsdgeos, perhaps set objectName to it?12:15
pstolowskitsdgeos, activation api expected id of a button back; it will also expect that actions id (not yet in the api)12:16
tsdgeosso i'll have to call something back12:17
tsdgeosok12:17
tsdgeosbut that doesn't exist yet12:17
Saviqtsdgeos, yeah12:17
pstolowskitsdgeos, it exists, but takes just one id (button); it will be enhanced with one more id12:17
pstolowski(actions)12:18
Saviqpstolowski, why? do we want to support non-unique action IDs for some reason?12:18
tsdgeosmhr3_: 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:18
tsdgeosi.e. if you want two buttons you need two type "actions" elements?12:19
Saviqtsdgeos, confirmed12:19
mhr3_Saviq, widget_id + action_id12:20
Saviqmhr3_, yeah, why? shouldn't action_id be unique already?12:20
mhr3_there's nothing forcing it to be unique12:20
pstolowskiSaviq, to be on safe side? otherwise yes, they would need to be globally unique12:20
Saviqmhr3_, there's nothing forcing widget_id + action_id to be unique, either12:21
Saviqmhr3_, pstolowski, I'd go for requiring unique action_id, TBH...12:21
mhr3_Saviq, we won't allow pushing widgets with the same id twice12:21
Saviqmhr3_, will you check action_id for uniqueness?12:22
mhr3_we could within a widget12:23
=== Trevinho_ is now known as Trevinho
pstolowskiSaviq, mhr3_ no strong opinion, just a feeling that perhaps widget_id + action_id is more future-proof...12:28
Saviqmhr3_, pstolowski, I don't really care, feels overkill to me, though12:29
=== alan_g is now known as alan_g|lunch
tsdgeosCimi: where's the comment you mention in https://code.launchpad.net/~unity-team/unity8/unity8.previews_audioPlayer/+merge/203387 ?12:29
Cimitsdgeos, it should be there, no?12:31
tsdgeosdon't see it12:31
tsdgeosah12:32
tsdgeossee it now12:32
tsdgeosCimi: it still has the urls that seem real12:33
tsdgeosCimi: and the stop for the audioplayer12:33
mhr3_Saviq, i agree with pstolowski, more future-proof12:39
tsdgeosSaviq: 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?12:43
=== cimi4 is now known as CImi3
Saviqtsdgeos, I think so, yes, more widgets will actually trigger actions12:44
Saviqtsdgeos, (like the progress widget, the review-input one)12:44
Saviqmhr3_, pstolowski, do we have ideas on how will we pass data back with the action? think a single QVariantHash arg would be ok?12:45
=== MacSlow is now known as MacSlow|lunch
mhr3_Saviq, yep12:46
mhr3_i mean... widget_id + action_id + variantmap12:46
Saviqtsdgeos, so the signal signature would be: (string widgetId, string actionId, var data)12:46
tsdgeosSaviq: "activate"? "activated"?12:47
pstolowski Saviq yeah, as mhr3_ said12:47
Saviqtsdgeos, the Qt way - activated, or triggered, maybe?12:48
Cimitsdgeos, please decide the name of the property :)12:48
Cimitsdgeos, for focused12:48
tsdgeostriggered sounds ok12:48
tsdgeosCimi: as the comment says, i am not sure we even need a name12:49
tsdgeosCimi: why can't you use visible?12:49
Saviqtsdgeos, because the preview might still be visible, but no longer focused12:49
Saviqtsdgeos, when you're switching previews, for example12:50
tsdgeosSaviq: but you said we're killing the switching of previews12:50
Saviqtsdgeos, no no no12:50
Saviqtsdgeos, we're killing the bottom "see-through"12:50
tsdgeosah12:50
tsdgeosok12:50
Saviqtsdgeos, you will still be able to swipe between them12:50
Saviq/food12:51
tsdgeosCimi: isCurrent then, focused is too close to focus to me12:51
Cimimzanetti, why we have on the music preview12:51
tsdgeosor maybe Saviq has a better suggestion for it12:51
Cimimzanetti, to stop audio on destruction?12:51
mzanettiCimi: why not?12:51
Cimimzanetti, isn't automatic?12:52
mzanettihmm... probably not, otherwise it wouldn't be there I'd say12:52
mzanettineed to check the code. one minute12:53
Saviqtsdgeos, fine by me, it should actually be previewFocused / isCurrentPreview or something12:53
Saviqtsdgeos, as it's not about the widget being current / focused, but the whole preview12:53
tsdgeosSaviq: 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 :D12:57
tsdgeosfood!12:57
Saviqtsdgeos, well, sure, if we put it all in one .qml, we wouldn't need it indeed12:57
mzanettiCimi: right... might actually be a bug in the qtmultimedia backend12:57
mzanettiCimi: 'cause the playback is handled by the media service12:58
mzanettiCimi: so destructing it should implicitly send a stop to the media service, probably it doesn't12:58
mzanettiCimi: I remember having talked to jhodapp about this when implementing it12:58
karniHi guys13:10
karniSaviq: would you like me to add tests for title alignment, or is this "look and feel" like you considered something a while back?13:11
karniI rebased it on the branch you mentioned13:12
karnilp:~unity-team/unity8/new-scopes-title-alignment13:12
Cimitsdgeos, ^13:14
karnidang, I should have added a prerequisite branch13:15
Saviqkarni, test for CardTool, yeah13:15
Saviqkarni, should be a simple one, too13:15
karniSaviq: ignore that MP for now13:15
karniI think my bzr config went haywire, changed username13:16
Saviqkarni, no need to reject all the MPs, just make them WIP and resubmit then if needed13:16
=== dandrader is now known as dandrader|afk
karniSaviq: ack13:16
* karni moves to different building13:16
Saviqtsdgeos, if we could do attached props in QML, that'd help some13:19
Saviqmhr3_, pstolowski, how do we communicate the number of columns for a preview?13:20
mhr3_Saviq, working on that, but it'll be a prop on the PreviewStack object you get from scope.preview()13:21
mhr3_    Q_PROPERTY(int widgetColumnCount READ widgetColumnCount WRITE setWidgetColumnCount NOTIFY widgetColumnCountChanged)13:23
mhr3_good enough?13:23
Saviqmhr3_, how do we do the splitting in case the scope didn't define it?13:23
mhr3_Saviq, that is a good question13:23
mhr3_ideas?13:24
mzanettianpok: hey, saw your comment on the bug. what exactly does it mean? i.e. where does the 16ms value come from?13:24
mhr3_Saviq, doesn't help that the scope can keep pushing more widgets any time it wants13:25
Saviqmhr3_, indeed13:25
sil2100Saviq: hm, you mentioned there's a landing plan for the Unity8 regression fix?13:25
mhr3_Saviq, i'm leaning to doing something stupid... 1 widget per column, everything else into last col13:25
Saviqsil2100, yup, waiting for silo13:25
Saviqsil2100, row 20 I think13:25
Saviqmhr3_, 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 thing13:26
sil2100Saviq: oh, hm, I think we cannot re-use already Landed silos13:26
Saviqsil2100, meant row 40, sorry13:26
sil2100Saviq: can you just slap the MR to a new row? Since I don't even know whic MR it is13:26
Saviqsil2100, 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:27
Saviqmhr3_, b) you call into the shell when receiving a preview (and/or subsequent preview widgets) and the shell comes back with lists split into columns13:28
Saviqmhr3_, b) is ~same idea as plugin calling into shell to potentially apply any rules / changes on template / components13:29
sil2100Saviq: ok, just remember that if we find a regression again by accident (;p) we'll revert everything again ;p13:29
Saviqsil2100, I'm fine with that13:29
sil2100Saviq: but if you're ok with that risk then I prepare stuff for it13:29
Saviqsil2100, I'm completely ok with you guys reverting us if there's a regression identified13:29
=== popey_ is now known as popey
mhr3_Saviq, i don't like either :)13:29
Saviqmhr3_, other (better) ideas?13:30
=== dandrader|afk is now known as dandrader
mhr3_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 col13:35
=== alan_g|lunch is now known as alan_g
sil2100Saviq: silo assigned! It's getting prepared this instance13:36
Saviqmhr3_, future-proof you said?13:40
Saviqsil2100, thanks13:40
mhr3_Saviq, touche13:40
mhr3_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 possible13:41
mhr3_s/why/we/13:41
Saviqmhr3_, of course, I think there's two cases: preview creation and widget addition (removal not possible, right?)13:42
mhr3_right13:42
Saviqmhr3_, so when preview is "lazy" with adding widgets, and does not provide a layout13:42
Saviqmhr3_, we'd only append widgets at the end of columns13:43
mhr3_columnS?13:43
mhr3_like randomly...?13:43
Saviqmhr3_, not randomly, but based on some rules13:44
Saviqmhr3_, say, if there's art in the first column, we wouldn't add anything more there13:44
Saviqmhr3_, otherwise we might try some more fancy determination13:45
mhr3_so you'd try to do something like the horizontal journal is doing?13:45
Saviqmhr3_, something of the sort, yeah13:45
Saviqmhr3_, but not based on actual rendered widgets, just their type and props13:46
Saviqmhr3_, but I'd rather the plugin not be part of that13:46
mhr3_which means we'd need to notify the shell with about-to-be-added widget13:46
Saviqmhr3_, yes13:46
mhr3_did i mention the data for those widget might not be present immediately?13:47
Saviqmhr3_, that's fine, I think13:47
Saviqmhr3_, again, I don't want to base the decision on actual data13:47
mhr3_Saviq, that means the props will be pretty much empty13:47
Saviqmhr3_, if something's not there, it's not like we can do anything about it13:47
Saviqmhr3_, what I'm saying is I'd like to make a semi-informed decision as soon as a widget becomes "known" to the system13:48
Saviqmhr3_, it will be a corner case I think, that we'd get a widget with no data13:48
mhr3_oh well... you can surely make better decision than the plugin13:48
Saviqmhr3_, but anyway its type would be enough information13:48
Saviqmhr3_, exactly13:48
mhr3_but not thrilled about having to call into js13:49
mhr3_how does that even work13:49
mhr3_?13:49
Saviqmhr3_, good question ;), but it can be as simple as a property that the shell sets13:49
Saviqmhr3_, after you trigger a signal13:50
Saviqmhr3_, problem with that would be that it'd be required to do it13:50
mhr3_aren't signals going to js asynchronously?13:50
Saviqmhr3_, they are13:50
mhr3_well.. that's a problem13:50
Saviqmhr3_, so yeah, I think we'd rather do sync, wouldn't we13:50
mhr3_i basically need return value from js13:51
mhr3_as in "int giveMeColumnNumForWidget(widget)"13:51
Saviqmhr3_, QMetaObject::invokeMethod13:52
Saviqmhr3_, i.e. you'd have a property (default null) on Scopes13:53
Saviqmhr3_, say, previewProcessor13:53
Saviqmhr3_, if it's non-null, you'd call a method on it with some data13:53
mhr3_i can already see the lost frames :P13:53
Saviqmhr3_, and use the output13:53
Saviqmhr3_, it will be maybe 20 lines of JS at the mos13:53
=== _salem is now known as salem_
Saviqmhr3_, we're running much more js on every frame than that ;)13:54
mhr3_it's just awful :P13:54
mhr3_anyway... /me lunch13:54
Saviqmhr3_, we can always do vala, if you'd rather ;P13:54
Saviqmhr3_, anyway, we can implement the processor in C++13:55
Saviqmhr3_, and use the same mechanisms13:55
mhr3_slightly better13:55
mhr3_now get rid of the QMetaObject and i'm happy13:55
mhr3_:)13:55
=== MacSlow|lunch is now known as MacSlow
Saviqmhr3_, wanna rewrite unity8 in C/vala/C++? be my guest13:55
Saviqlet's see how that goes :P13:56
mhr3_Saviq, i'll think about it :P13:56
Saviqmhr3_, enjoy lunch13:56
Saviqmhr3_, http://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppintegration-interactqmlfromcpp.html#invoking-qml-methods BTW13:59
Saviqsil2100, "In silo landing-005. Can't build: Some projects are missing revisions from distribution."14:05
Saviqdidrocks, ↑14:05
Saviqwhat do I do now?14:05
sil2100Saviq: ah! Yes, so you need to check a checkbox, let me see the naming14:06
Saviqsil2100, will do14:06
Saviqsil2100, FORCE_REBUILD it seems14:06
sil2100Saviq: yes, since we don't want to have the changelog entry for the revert14:07
Saviqkarni, drop the TODO, it's a general thing we'll need to tackle together14:07
karniok14:07
Saviqkarni, I think letting JS "booleanize" undefined / null / "" would be good enough14:08
Saviqkarni, in isOnlyItem14:08
Saviqkarni, what is components["art"]["image"]?14:09
dandradersil2100, hi, would you mind reviewing that? https://code.launchpad.net/~dandrader/ubuntu-keyboard/outOfSourceBuilds/+merge/20429214:09
karniSaviq: I wasn't sure how to implement that correctly, I'm still not confident in those constructs14:09
didrocksSaviq: seems the naming was clear enough? \o/14:09
Saviqdidrocks, the message said "force rebuild", so yeah ;)14:10
karniSaviq: the image of the art. I assume it's sufficient to test ["art"] only?14:10
Saviqkarni, there is no "image of the art"14:10
Saviqkarni, and remember you're looking at the configuration, not at any particular result14:10
Saviqkarni, and why would we always left-align when art is there?14:10
dandradersil2100, I've picked you as you name pops up in "bzr log"  and tmoenicke is no longer around...14:11
karniSaviq: I'm sorry if I didn't make this clear - I'll make it work in progress14:11
sil2100dandrader: sure, let me take a look14:11
Saviqkarni, I don't think art has any bearing on center vs. left alignment...14:11
Saviqkarni, also, because components might be:14:11
Saviq"art": "foo"14:11
Saviqas well as:14:11
Saviq"art": { "field": "foo" }14:12
karniSaviq: It does. if there's art and it's horizontal, it should be left aligned, if there's no art, it should be center aligned14:12
karnilet me find the spec14:12
Saviqkarni, right, you need to differentiate between horizontal and vertical, then14:12
tsdgeosCimi: there's still one "../../tests/qmltests/Dash/Music/data/testsound1.ogg"  left14:12
Saviqkarni, the condition should be:14:13
Saviqsubtitle && (typeof subtitle === "string" || subtitle["field"])14:13
karniack, thank you :)14:13
Saviqkarni, so, you check that subtitle is defined at all in the first place (and non-empty)14:13
* karni nods14:13
=== mterry_ is now known as mterry
Saviqkarni, and then it needs to be a string, or subtitle["field"] needs to be non-empty14:14
tsdgeosSaviq: 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
Cimitsdgeos, I updated the path14:14
Saviqtsdgeos, top-approve away14:14
Cimitsdgeos, maybe I can do14:14
Cimi/path/not/existing14:15
SaviqCimi, "../../tests/qmltests/Dash/Music/data/testsound1.ogg"14:15
Cimilet me do that14:15
CimiSaviq, I pushed :|14:15
tsdgeosCimi: you updated 3 of them, forgot 114:15
SaviqCimi, tracksModel114:15
tsdgeosor launchpad is behind14:15
SaviqCimi, or that ↑14:15
SaviqCimi, just drop the extensions, it really doesn't matter what you put there14:15
CimiSaviq, ok14:16
Cimisorry guys, was killed by headache till 10 mins ago14:16
SaviqCimi, tsdgeos, I wonder, should we update the duration once the stream is loaded? in case the scope lied?14:16
Cimisince 7am14:16
Cimi:(14:16
SaviqCimi, you need to fix your head! ETOOMANYHEADACHES14:16
tsdgeosSaviq: i was thinking that the other day too14:17
tsdgeosdon't know tbh, i'd trust the scope14:17
tsdgeosbut i'm open to both14:17
Saviqtsdgeos, we don't display the current time anyway, do we14:17
tsdgeosthere's also the question if we should autoload or not14:17
tsdgeosSaviq: no, just progress14:17
Saviqtsdgeos, ok so unless people use stopwatches or somethin' we'r14:18
Saviqe good14:18
tsdgeosyep14:18
Saviqlet's leave it be14:18
CimiSaviq, don't ask me why14:18
SaviqCimi, please put */ on separate line14:18
CimiSaviq, I did work this morning, but I wish I was without headache14:18
CimiSaviq, ok14:18
SaviqCimi, London doesn't agree with you ;)14:19
SaviqCimi, you Italians need more sun ;)14:19
CimiSaviq, yes, glad I'm going to mwc14:20
CimiSaviq, I'll be working there also the week after14:20
CimiSaviq, rented flat with alex chiang14:21
SaviqCimi, cool14:21
SaviqCimi, docs are wrong14:22
SaviqwidgetData["source"]  widgetData["title"] widgetData["subtitle"]  widgetData["length"].14:22
Saviqthose don't exist14:22
Cimidammit14:22
Cimiyou're right14:22
SaviqCimi, 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:23
CimiSaviq, or you prefer http://paste.ubuntu.com/6873262/14:25
Cimi?14:25
SaviqCimi, that's still wrong ;)14:25
SaviqCimi, it's missing the index in there14:25
SaviqCimi, let me check one thing14:25
=== rachelliu_ is now known as rachelliu
CimiSaviq, standup14:30
SaviqCimi, btw, s/TextSummaryWidget/TextWidget/ or SummaryWidget please14:35
CimiSaviq, you want AudioPlayerWidget as well?14:36
tintoumhr3_: I applied the changes you requested, It's better, it has triggered a very smaller diff :)14:36
mhr3_tintou, great, why the "bool?"14:38
mhr3_tintou, simple bool would suffice14:38
tintoumhr3_: yes, for sure, it's because I tried with void14:38
mhr3_tintou, there's actually a trick possible14:39
SaviqCimi, something like: http://pastebin.ubuntu.com/6873320/14:41
SaviqCimi, (sorry for pinging on irc.c.c)14:41
SaviqCimi, not sure what you mean by "you want APW as well"?14:46
CimiSaviq, audioPlayerWidget?14:46
Cimias well?14:46
SaviqCimi, what? rename? AudioWidget would probably be enough, tbh14:47
Cimiok14:47
greybackdandrader: 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
dandradergreyback, no14:47
* dandrader looks for the branches14:48
dandradergreyback, lp:~thomas-voss/location-service/adjust-to-dbus-cpp and lp:~thomas-voss/platform-api/adjust-to-location-service-changes14:48
greybackdandrader: thanks14:48
SaviqCimi, tsdgeos, ah you didn't name them *Widget, maybe that's fine (Audio, Summary, Gallery etc.)?14:54
Saviqsince they're all in /Previews/ anyway14:55
tsdgeosSaviq: no we didn't14:55
tsdgeossince they are in Previews14:55
tsdgeos*but*14:55
tsdgeosit pollutes a bit the make testXYZ naming though14:55
Saviqtsdgeos, right, can the tests be named differently than the .qml itself?14:55
tsdgeossince you do make testAudioPlayer14:56
tsdgeosand make testAudioPlayerPreview14:56
Saviqtsdgeos, testPreview_Audio or something?14:56
tsdgeosor something may make more sense14:56
tsdgeoslet me see14:56
CimiSaviq, tsdgeos I renamed already both to AudioWidget and TextWidget14:57
Cimitsdgeos, it creates a conflict in tests/qmluitests/CMakeLists.txt14:57
SaviqCimi, sorry, I brainfarted, thought they were named *Widget14:57
Cimitsdgeos, easy to fix in your branch14:57
* tsdgeos is lost now14:58
Cimime too14:58
Cimishall I revert?14:58
CimiI think is fine to keep some sort of custom name14:58
Saviqtsdgeos, Cimi, let's go for simple names - Audio, Gallery, Text etc.14:58
Cimiwe can have PreviewAudio14:58
CimiPreviewGallery14:59
tsdgeosi've been trying to use the names in the UX doc14:59
Cimior AudioPreview14:59
Saviqmzanetti, would rather do ↑ I know14:59
SaviqI have no strong opinion, (simple is better IMO)14:59
Saviqbrb14:59
mzanetti?14:59
* mzanetti is not following15:01
tsdgeosSaviq: Cimi: ok, let's go with PreviewName15:01
tsdgeosmzanetti: don't worry :D15:01
Cimitsdgeos, PreviewAudioPlayback then15:04
Cimitsdgeos, PreviewTextSummary15:04
Cimiok?15:04
tsdgeos+115:04
karniSaviq: what's this? 20/20 Test #20: timeformattertest ....................***Failed    0.02 sec15:04
karniSaviq: WIP -> Needs Review https://code.launchpad.net/~unity-team/unity8/new-scopes-title-alignment/+merge/20467715:06
Saviqkarni, LANG=C15:07
Saviqkarni, or LC_ALL=C15:07
Saviqkarni, == read CODING15:07
karnihuh!15:09
Cimitsdgeos, done15:11
tsdgeosCimi: do you really need import Ubuntu.Components.ListItems 0.1 in the PreviewAudioPlayback?15:14
Cimitsdgeos, nope, I needed when I had thindivider15:14
Cimitsdgeos, removed15:14
Cimitsdgeos, well spot, let me do15:14
Cimitsdgeos, done for both15:17
Saviqkarni, re: carousel, I wouldn't touch Carousel.qml itself15:25
Saviqkarni, and it's weird, it doesn't look that big here15:25
karniI'll send you a screenshot15:25
Saviqkarni, ah I know what you mean15:26
Saviqkarni, non-overlayed title isn't meant to be supported I'm afraid :|15:26
tsdgeosCimi: since my image gallery and your text summary don't merge together well, i'll chain imageGallery after textSummary15:26
karniSaviq: the label, when focused in carousl, gets cut15:26
tsdgeosCimi: if you are working on something chain it after my imagegallery15:26
karniSaviq: ok. so, either I should work on the overlay part, or we have to fix this like ^ before MWC. It looks real bad :(15:26
karniSaviq: and I agree. non overlayed title looks ridiculous in carousel xD15:27
Saviqkarni, doesn't look that great on the screenshot, either...15:27
karniyes, lesser evil15:27
Saviqkarni, depends ;)15:27
Saviqok, will try and get overlay to work this week, then15:27
=== salem_ is now known as _salem
karniSaviq: sent the screenshot15:28
karniSaviq: woho, that'd be amazing15:28
tsdgeosCimi: 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/20417715:29
tsdgeosplease add15:29
anpokmzanetti: re15:30
mzanettianpok: hi :)15:30
anpokmzanetti: because all buffers are stacked onto each other and all use a pixel format with alpha they all get blended onto each other15:30
=== alan_g is now known as alan_g|tea
mzanettianpok: any idea already how to make it faster?15:32
Cimitsdgeos, commit boilerplate?15:32
Cimiah15:32
Cimitsdgeos, sorry what?15:32
anpokmzanetti: yes, greyback suggested to make application windows oppaque - since they are - then mir can filter the occupied ones out..15:33
tsdgeosCimi: https://wiki.ubuntu.com/Process/Merges/Checklists/Unity815:33
anpokadditionally we could also play with hidden status - but neither sure where and how - so I will try with opaque first15:33
mzanettianpok: I guess in the long run we should support transparent app surfaces though.15:34
greybackanpok: let me know when you want to try the hidden status thing, I've a good idea how to tackle that15:34
greybackmzanetti: yep. App should be able to decide if it wants transparency or not15:34
anpokoh started the qtubuntu build earlier15:35
anpokand it failed o_O15:35
=== dandrader is now known as dandrader|lunch
Cimitsdgeos, :'(15:36
Cimitsdgeos, that sounds boring15:36
anpokhttp://paste.ubuntu.com/6873609/\15:36
anpokhttp://paste.ubuntu.com/6873609/15:36
mzanettianpok: install qt5-default15:37
mzanettianpok: or export QT_SELECT=qt515:37
=== alan_g|tea is now known as alan_g
tsdgeosCimi: where have you been ?15:38
Cimitsdgeos, added checklist15:39
kgunnis ./run_on_device not rebuilding changes in ? on latest trunk ?...or am i doing something wrong15:39
kgunnnote, was previously working...just updated my local branch to latest trunk15:40
mzanettikgunn: its not rebuilding always. there are rare cases where it fails to detect if something has changed15:40
mzanettikgunn: to be sure, log into the device and delete ~/shell15:40
tsdgeosCimi: can you update the pot file in the textsummary15:40
Cimitsdgeos, ok15:40
Cimitsdgeos, where do I need it?15:41
kgunnmzanetti: thanks...and yeah...weird, code change in same exact spot, all of the sudden it detected15:42
Cimiah see more15:42
* kgunn suspects an order of operation somewhere15:42
anpokmzanetti: thats with sbuild15:44
Cimitsdgeos, it carries other changes http://paste.ubuntu.com/6873649/15:44
tsdgeosthe only real change is "Please enter SIM PIN"15:45
tsdgeosthe other is just moving around15:45
tsdgeosthe sim pin thing is complicated15:45
tsdgeosbut just let it there too15:45
mzanettianpok: 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:46
sil2100mhr3_: hi! We assigned a slot for the mediascanner scope now15:48
mhr3_and it took only 4 days! :P15:49
Cimitsdgeos, OK done15:49
Saviqtsdgeos, 'fraid pushed a small change to card-tool: http://bazaar.launchpad.net/~saviq/unity8/card-tool/revision/68715:50
* tsdgeos re-reviews15:53
karniSaviq: Could you update me on where we are with preview work please?15:54
Trevinhopete-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
pete-woodsTrevinho: thanks, I'll have a look15:54
karniSaviq: Feel free to delegate to Cimi or mhr3, I'm happy for whoever provides progress update :)15:54
Cimikarni, branches are merging soon15:54
Cimikarni, at least for text summary, audio playback15:55
karniCimi: how soon is soon :)? some time this week perhaps?15:55
Cimikarni, currently approved, today/tomorrow15:55
karniCimi: I'm just asking because we need to know where we are relative to MWC15:55
karniCimi: sound great15:56
Saviqkarni, I plan to have initial preview support hooked up tomorrow15:56
karniSaviq: whoaa, that is great news15:56
Saviqkarni, it's fortunately not a huge amount of work15:56
karniSaviq: That's great. Please keep me posted, I'm happy to testdrive whatever will be in WIP on lp15:56
pete-woodsTrevinho: can you tell me which apps you have running? and also pastebin the hud log (~/.cache/upstart/hud.log)15:57
Trevinhopete-woods: this is my log http://paste.ubuntu.com/6873710/15:58
tsdgeosSaviq: looks good, want me to re-topapprove?15:59
Trevinhopete-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-tool15:59
Saviqtsdgeos, please15:59
Saviqkarni, 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 carousel15:59
tsdgeosdine15:59
pete-woodsTrevinho: 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
kgunnhey so, using ./run_on_device....shouldn't i be able to navigate to home/phablet/shell on the device and ./runtests ?16:00
Saviqtsdgeos, already? you're in Barcelona, shouldn't you dine at 10pm or something?16:00
pete-woodsbut thanks for that list16:00
karniSaviq: trying to find a balance between sprint and MWC work. noted. I'll look into carousel first.16:00
Trevinhopete-woods: full list http://paste.ubuntu.com/6873719/16:00
tsdgeosSaviq: i meant done16:00
Saviqtsdgeos, ;)16:00
kgunnheh16:00
tsdgeosSaviq: 9pm if at home, 10pm if at a restaurant is typical yes16:00
Trevinhopete-woods: ok, but I've noticed that at boot time... or just few seconds after16:00
pete-woodsTrevinho: hmm, that is very interesting16:01
Saviqkarni, 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 it16:01
pete-woodspresumably with only something like gnome-terminal runnung?16:01
karniSaviq: ack! happy to take on work, I'll keep you posted.16:02
Saviqkarni, cheers16:02
karniSaviq: 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
Saviqkarni, thanks16:04
karniSaviq: basically, previews, so we're on good path, then, if possible, some theming16:04
karniSaviq: thank you, sir16:04
=== _salem is now known as salem_
pete-woodsTrevinho: well, the culprit is definitely sublime text16:11
pete-woodsTrevinho: ran it, and the CPU usage immediately spiked16:11
pete-woodsTrevinho: thanks for all the information :)16:11
Trevinhopete-woods: np16:12
Trevinhopete-woods: any idea what it might be?16:12
pete-woodsTrevinho: it could possibly be that there's a cycle in the menus that sublimetext exports, and we're not handling it?16:12
pete-woodsat the minute I'd just be guessing, though16:13
Trevinhoah... damned closed sources things16:13
Trevinhobut it's soo good to code :/16:13
pete-woodswe should still be able to debug it fairly easily, though16:13
pete-woodsat it's all happening over DBus, so is fairly transparent16:13
kgunnhey so, using ./run_on_device....shouldn't i be able to navigate to home/phablet/shell on the device and ./runtests ?16:16
pete-woodsTrevinho: here's a bug report for you to watch (https://bugs.launchpad.net/hud/+bug/1276225)16:17
ubot5Launchpad bug 1276225 in Unity HUD "Infinite loop in gmenu handling when running sublimetext" [Undecided,New]16:17
anpokmzanetti: hmm i guess I use the wrong branch - i should be using trunk not mir?16:17
mzanettianpok: what do you want to do?16:18
tsdgeoskgunn: i'd say runtests needs some love16:18
kgunntsdgeos: heh16:19
mzanettitsdgeos: that might be true, yea16:19
tsdgeosquick look at it doesn't seem as it would work16:19
tsdgeoskgunn: see CODING for how to run tests16:19
Trevinhopete-woods: thanks16:19
mzanettitsdgeos: well, it works, that's how our tests in jenkins are run16:19
mzanettikgunn: ^16:19
tsdgeosmzanetti: well just runs qmltests and it expects you to be in the builddir16:19
anpokmzanetti: hack on qtubuntu16:19
mzanettibut probably only works if you do the exact same thing as jenkins does16:19
mzanettianpok: trunk16:19
kgunnwell...it attempted of course, but nothing ran...16:19
tsdgeoskgunn: if you do16:20
tsdgeoscd builddir16:20
tsdgeos../runtests16:20
tsdgeosmaybe it works better16:20
kgunnah, would make sense16:20
Saviqsil2100, didrocks, unity8 good to go16:21
didrocksSaviq: good good, or good, like "GOOOOD"? ;)16:22
kgunnno really....good16:22
didrocks;)16:23
didrockshum16:23
didrocksjenkins is weird…16:23
didrocksah no, it's not16:23
didrocksI'm broken16:23
* didrocks fixes didrocks16:23
Saviqdidrocks, tested, everything works as expected, filed a few bugs I found: bug #1276218, bug #1276223, bug #127623116:25
ubot5bug 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/127621816:25
ubot5bug 1276223 in unity-scope-click (Ubuntu) "Preview for already installed apps in "More suggestions" has "Install" button" [Undecided,New] https://launchpad.net/bugs/127622316:25
ubot5bug 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/127623116:25
didrocksSaviq: packaging changes looks good, publishing16:26
sil2100ls16:27
sil2100...16:27
Saviqdidrocks, \o\ /o/ \o/ \o\ /o/16:27
Saviq/we need to regress more, we get priority silos *cough* *cough*16:28
didrocksSaviq: rohhhh :p16:28
Saviqdidrocks, sorry ;D16:29
* didrocks looks Saviq with brown eyes16:29
didrocksat*16:29
Saviqtsdgeos, "8-import Ubuntu.Components.ListItems 0.1" in gallery?16:38
tsdgeosSaviq: i think that's a result of 3--way merge16:38
Saviqtsdgeos, ok, let me see16:38
tsdgeosSaviq: first merged to audioplayer, later merged to textsummary16:39
tsdgeostextsummary as been merged to audioplayer too16:39
tsdgeosbut the merge is less recent16:39
tsdgeosso it seems i'm removing that line16:39
tsdgeoswhen indeed the line is not there16:39
tsdgeosnot sure if i'm making sense in there16:39
Saviqtsdgeos, you are, but when merging the three in sequence I get a conflict in CMakeLists.txt16:45
tsdgeosreally?16:46
tsdgeosdamn16:46
Saviq<<<<<<< TREE16:46
Saviq=======16:46
Saviqadd_qml_test(Dash/Previews PreviewImageGallery IMPORT_PATHS ${qmltest_DEFAULT_IMPORT_PATHS} ${CMAKE_BINARY_DIR}/tests/mocks)16:46
Saviq>>>>>>> MERGE-SOURCE16:46
Saviqwonder how is that a conflict...16:46
Saviqstupid bzr16:46
tsdgeosSaviq: i guess textsummary would need to get updated16:46
Saviqtsdgeos, yeah, *something* isn't merge *somewhere* ;)16:47
tsdgeoslet me see if i can make it work16:47
tsdgeosit's actually text summary that needs fixing16:48
tsdgeosit already fails at merging there16:48
tsdgeosCimi: can you do it?16:48
tsdgeosor i'm old16:48
* tsdgeos checks16:48
tsdgeoswait i was outdated16:48
tsdgeosSaviq: i can't make any sense of why it doesn't merge16:51
tsdgeosSaviq: you can merge those 2 only and then merge mine next16:52
tsdgeosor i can just resubmit a "cleaner" branch16:52
Saviqtsdgeos, maybe yeah, let's clean it up16:53
tsdgeosSaviq: ok, i'll do the implicitHeight thing, but who's going to set the height?16:53
tsdgeosthe previewfactory?16:53
CimiSaviq, irssi? :)16:53
Saviqtsdgeos, it's internal16:53
Saviqtsdgeos, if there's no explicit height, implicitHeight is used16:53
* tsdgeos facepalms :D16:53
SaviqCimi, no, xchat-gnome16:53
Saviqtsdgeos, http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-item.html#implicitWidth-prop16:54
Saviqtsdgeos, RTFM!16:54
Saviq;)16:54
SaviqCimi, re: priv16:54
SaviqCimi, we're not "marking" them at all, we just hide them so they're not available on the root object16:54
SaviqCimi, when there's a lot, we'd put them in a QtObject { id: priv } indeed16:55
SaviqCimi, when there's only one, just put it in one of the lower level components16:55
SaviqCimi, I know it feels like a hardcoded value, but where it should be un-hardcoded is the style/theme, not in the component itself16:56
tsdgeosSaviq: yes, all the projects i've used always did /** and not /*!16:58
Saviqtsdgeos, https://qt.gitorious.org/qt/qtdeclarative/source/7c1e3dea8ba66f9eedee4f3d66dba55d7f7556b8:src/quick/items/qquickloader.cpp#L15916:59
tsdgeoswell that's qdoc16:59
tsdgeosisn't it?16:59
Saviqtsdgeos, same difference :)16:59
Saviqtsdgeos, kde uses /** ?17:00
tsdgeosi'd say it does17:00
tsdgeoslet me see17:00
=== dandrader|lunch is now known as dandrader
Saviqtsdgeos, I don't really care, just looked at Qt for "inspiration"17:00
tsdgeosi don't care either17:00
tsdgeosyeah /**17:01
tsdgeoshttp://paste.ubuntu.com/6873967/17:01
tsdgeosanyhow http://www.stack.nl/~dimitri/doxygen/manual/docblocks.html says /*! is Qt style17:01
tsdgeosso that works fine for me17:01
Saviqtsdgeos, let's do that17:01
tsdgeosdo what?17:01
Saviqtsdgeos, Qt style17:01
tsdgeossure17:01
Saviqtsdgeos, /me should add * everywhere then17:02
Saviqtsdgeos, will clean it up later17:02
tsdgeosSaviq: no no, Qt style is /*!17:02
tsdgeosno need to add any *, no?17:02
Saviqtsdgeos, I mean next line17:02
tsdgeosah17:02
tsdgeoswell that's optional17:02
Saviqtsdgeos, between /*! and */17:02
Saviqsure it is17:03
SaviqETOOMANYPOSSIBILITES17:03
tsdgeosi actually like it though :D17:03
Saviqlike it couldn't be imposed, dammit!17:03
Saviqtsdgeos, yeah, kde uses @, too, instead of \17:03
Saviqjava lovers!17:03
tsdgeosi'd mostly vote for "old people"17:04
Saviq;D17:04
tsdgeosi.e. i don't think doxygen supported Qt-style when kde started adding documentation17:04
Saviqtsdgeos, Cimi, .pot change on purpose?17:05
tsdgeosSaviq: well there's new strings17:05
Saviqtsdgeos, ah of course17:05
Saviqtsdgeos, and the other are just movearounds17:05
Saviqok17:05
* tsdgeos args 17:07
tsdgeosforce pushed the wrong stuff :D17:07
Saviqtsdgeos, yay ;)17:09
tsdgeosahhhhhhhh17:10
tsdgeosi hate bzr17:10
tsdgeosso i get a branch17:10
tsdgeosmerge everything in order17:10
tsdgeosresolve the conflicts17:10
tsdgeospush it17:10
tsdgeosand then try to do the merge again17:10
tsdgeosand it conflcits :D17:10
tsdgeosSaviq: is there a change you do bzr merge lp:~aacid/unity8/image_gallery_preview_widget --weave when merging the 3rd branch?17:11
tsdgeosor you don't have control over it and i should really push a clean clean branch?17:11
Saviqtsdgeos, not sure what you mean17:12
tsdgeosso if you add17:12
Saviqtsdgeos, but just leave it for now, don't get frustrated17:12
tsdgeos--weave17:12
tsdgeosit merges fine17:12
tsdgeosbut if there's some tool that does the merging17:12
tsdgeosinstead of you17:12
tsdgeosi need to redo the branch for it to not have a criss-cross17:12
tsdgeosbah, will fix it tomorrow17:14
* tsdgeos waves17:14
CimiSaviq, pushed comments and moved variable17:19
SaviqCimi, I've more comments to that branch I'm afraid, incoming17:19
Cimiok17:19
CimiSaviq, tell me17:20
CimiSaviq, I didn't use thin divider because rotation doesn't seem to work inside row17:21
Cimisorry17:21
Cimiit just doesn't work in row17:21
SaviqCimi, oh interesting, using a transform, or direct via Item.rotation?17:22
CimiSaviq, just put it inside17:22
CimiSaviq, I think they have some calculation of dimensions17:22
Cimibut let me try again so I paste the error17:22
CimiSaviq, QML Row: Cannot specify left, right, horizontalCenter, fill or centerIn anchors for items inside Row. Row will not function17:23
CimiSaviq, pretty sure it contains some weird theming17:24
Cimior some calculations somewhere in listitems17:24
CimiSaviq, that is the error happening adding a ThinDivider {} in row17:25
SaviqCimi, https://code.launchpad.net/~unity-team/unity8/unity8.previews_textSummary/+merge/204177/comments/47850117:27
SaviqCimi, yeah, ThinDivider has anchors17:28
SaviqCimi, you should be able to undefine them17:28
SaviqCimi, i.e. anchors: undefined17:28
SaviqCimi, it's not about rotation17:28
CimiSaviq, I don't agree with all your comments17:29
SaviqCimi, you don't have to17:29
SaviqCimi, if you disagree somewhere, reply why17:30
SaviqCimi, convince me ;)17:30
CimiI can tell you here17:30
SaviqCimi, comment please17:30
SaviqCimi, I'm past my EOD already17:30
Cimiok17:30
CimiSaviq, anchors is read only17:32
SaviqCimi, then you need  to unset the actual anchors that ThinDivider defines17:33
CimiSaviq, but this is crap because if thin divider changes we break17:33
SaviqCimi, thin divider is our component, that's a)17:33
Cimihah17:33
CimiSaviq, no, it's in SDK17:34
SaviqCimi, and it's like 10 lines ;)17:34
SaviqCimi, no, it's not17:34
SaviqCimi, just copy it into VerticalDivider and be done with it ;)17:34
CimiSaviq, I was using thin divider from sdk17:34
SaviqCimi, we have our own in ListItems (which, granted, we should not)17:35
SaviqCimi, but anyway, I'm not hung up on using ThinDivider17:35
SaviqCimi, I *am* hung up on not using two Rectangles there ;)17:35
Saviqmhr3_, u8 landed, just pushed merge to new-scopes, version should be resolved in some minutes17:45
mhr3_Saviq, i was wondering if it'd happen today :)17:46
Saviqmhr3_, you know, all the snow on the tracks...17:46
Saviqkarni, we could use a review of https://code.launchpad.net/~saviq/unity8/newscopes-card-tool/+merge/20430117:48
mhr3_:)17:48
karniSaviq: ack, on it after lunch break17:51
Saviqkarni, cheers17:52
mhr3_karni, your lunch hours suggest you moved to us :)17:54
karnimhr3_: Orlando, 12:55 here :)17:55
mhr3_aaaaah, so i'm actually right, and i though you're just being... you? :P17:56
CimiSaviq, I've done, chat tomorrow then!17:57
karnihahahah17:57
karnialmost done with lunch17:57
SaviqCimi, o/17:57
=== alan_g is now known as alan_g|EOD
Saviqkarni, 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:01
karniaight, you summoned me :)18:03
karniSaviq: No, I think we don't need vjournal. I'll confirm with ssweeny, but if we do, I'll complete it.18:04
Saviqkarni, ok cool18:04
karniSaviq: for now, consider it non-req18:04
* karni does review18:04
Saviqkarni, so basically previews are top of the list now18:04
karniSaviq: yes, great18:04
Saviqkarni, then overlay and the visual themes18:04
karniperfect!18:04
karniSaviq: 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 carousel18:05
karniSaviq: 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
karniand so, there's visual spacing below. but, that's a detail, we don't care about that much ATM18:06
Saviqkarni, trunk carousel is not touched at all18:06
karniwe just used subtitle field instead.18:06
karniSaviq: so it's a card thing, eh?18:06
Saviqkarni, 5 lines18:06
* karni nods18:06
Saviqkarni, it's something between CardCarousel and Carousel, yeah18:07
Saviqkarni, and re: mapping summary yes, and that's the desired behavior18:07
karniok. want me to +1 your branch and fix in a different one?18:07
karniSaviq: bleh :D18:07
Saviqkarni, since _a_ card can have a summary 5 lines long18:07
Saviqkarni, we need all of them to cater for that18:07
Saviqkarni, but that's only the case in grid18:08
karniSaviq: I was thinking of "check longest summary in the model", and set size based on that hehe18:08
karniright18:08
Saviqkarni, no no no18:08
karniheheheheh18:08
karniSaviq: take that as a joke18:08
Saviqkarni, oof18:08
karniSaviq: aight, let's go back to your branch18:08
karni+1 and I fix the carousel?18:08
Saviqkarni, if you're anywhere close to fixing the carousel, we can include it18:08
Saviqkarni, it's your call, really18:09
Saviqkarni, I can push to ~unity-team and you'll just continue on that branch, /me fine with that18:09
karniSaviq: ok, let's +1 and I fix it, if that's okay with you.18:09
Saviqkarni, fine by me18:09
karniI had to share my attention with the meetings, and just came back from lunch, so let's get this rolling.18:09
Saviqkarni, yup, no worries18:10
karniSaviq: want to fill out checklist?18:10
Saviqkarni, not here, no18:10
karniok18:10
Saviqkarni, that will happen when merging new-scopes into trunk18:10
Saviqwe need to start fixing tests, though...18:10
karniSaviq: +1 and top-approved18:10
karniSaviq: which ones?18:10
Saviqkarni, all the failing ones ;)18:11
karniSaviq: what's the fulll suite run command?18:11
Saviqkarni, in new-scopes I mean18:11
karniI only did selective test* and make test18:11
Saviqkarni, I'll kick a -ci run on new-scopes, let's see18:11
karniok18:11
=== dandrader is now known as dandrader|afk
karniSaviq: 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
Saviqkarni, ah of course19:04
Saviqkarni, Carousel is different, it needs all input19:05
Saviqkarni, I think it's going to be enough to go enable: false on the Card in Carousel19:06
* karni looks19:06
Saviqkarni, yup19:07
karniSaviq: right, but doesn't that kill the click-to-preview part?19:07
karnilong press should be preview?19:08
Saviqkarni, no, because Carousel itself needs to calculate which item was clicked19:08
Saviqkarni, so in case of Carousel it's the Carousel that sends that signal, not Card itself19:08
karniack19:08
karniSaviq: you're right. want to push that one-liner or should I?19:09
Saviqkarni,19:09
Saviq=== modified file 'qml/Dash/CardCarousel.qml'19:09
Saviq--- qml/Dash/CardCarousel.qml   2014-01-31 17:22:40 +000019:09
Saviq+++ qml/Dash/CardCarousel.qml   2014-02-04 19:09:09 +000019:09
Saviq@@ -64,6 +64,8 @@19:09
Saviq 19:09
Saviq             property bool explicitlyScaled19:09
Saviq             property var model19:09
Saviq+19:09
Saviq+            enabled: false19:09
Saviq         }19:09
Saviq     }19:09
Saviq }19:09
karniyes, that's what I did :)19:09
Saviqkarni, I'll just push it directly to new-scopes19:09
karniSaviq: ack, thank you19:09
karnigood job19:09
Saviqkarni, good job you!19:09
Saviqanother one bites the dust!19:10
karnihaha19:10
karniSaviq: would you mind giving me 2 sentence intro into overlay mode? you mentioned UbuntuShape219:11
Saviqkarni, yeah, we don't have that yet19:11
karniSaviq: Do you have the link to the design drive? Could you PM it to me please?19:12
karniSaviq: I'm happy to take on overlay if I find time (and I'll try to find time)19:12
karniThanks19:13
Saviqkarni, we had the overlay somewhere, although it wasn't great19:13
Saviqkarni, but would be good enough19:13
karnioh19:13
* Saviq looks19:13
karniyou never stop surprizing me19:13
Saviqkarni, https://code.launchpad.net/~cimi/unity8/carousel-music-video/+merge/19211819:13
karni:D19:14
Saviqkarni, you'd have to look it through and yank out the overlay support19:16
* karni nod19:16
karnithank you :)19:16
Saviqkarni, shouldn't be crazy difficult, hopefully19:16
karni^ ^19:16
* karni joins one sprint session19:17
Saviqkarni, but it won't look *great*, I'm afraid19:17
Saviqkarni, actually maybe I have a better idea for a poor-man's overlay19:17
Saviqkarni, give me a few mins, let's see what I can come up with19:18
karniSaviq: it's 20:00 in Poland (you work in Poland?), take it easy buddy!19:18
karni*from Poland19:18
karniMy English sucks recently.19:19
cwayne_lol karni telling people to not work late19:19
karnixD19:19
cwayne_Saviq, hey, do sidestage bugs belong in unity8? or is there somewhere else more approrpriate19:23
Saviqcwayne_, yes, between unity8 and unity-mir19:23
Saviqcwayne_, ping greyback please, he's got a few on his radar, so as not to duplicate19:24
cwayne_Saviq, awesome, thanks19:24
greybackcwayne: please log to unity8, and give them a "sidestage" tag so I can track them easily please19:24
* greyback too polite sometimes19:24
cwayne_perfect, that's exactly what i was gonna do :)19:25
greybackcwayne: appreciated, thanks19:25
karniSaviq: with that pace, I'll get pulled back to phone delivery real soon haha19:26
Saviqkarni, shall we slow down, eh?19:27
cwayne_god no19:27
cwayne_speed up so we can get karni back :P19:28
karnilol19:28
Saviqkarni, you should be able to take it further: http://paste.ubuntu.com/6874946/20:08
Saviqkarni, just add «, "overlay": true» in the template (override in scope-tool works fine)20:10
karnixD20:11
karniSaviq: you pure awesomeness20:11
karniHave a good evening man :) Take it easy, thank you!20:12
Saviqkarni, it looks like CardTool gets confused (implicitHeight binding loop in Card) for some reason20:15
Saviqkarni, that might be why you're getting weird card heights20:15
karniSaviq: ACK. now go enjoy your evening :D20:16
Saviqkarni, I'm thinking of going http://paste.ubuntu.com/6875018/20:21
Saviqkarni, it fixes the issue, all tests still pass20:22
Saviqkarni, 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 down20:24
Saviqkarni, it also needs to only show the overlay on the current item in carousel, so we'll need a prop on Card20:25
Saviqkarni, but yeah, I'll go now20:25
* karni reads20:25
karniSaviq: ^ ^ will check out the paste in a sec20:25
karniEnjoy your evening :)20:26
tedgbregma, 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:27
bregmatedg, to do what?  Autostart programs wit hthe session?21:28
tedgbregma, Yup, basically.21:29
tedgbregma, Basically do gnome-session's job without gnome-session.21:29
bregmatedg, yes, that sounds like one of the missing parts of the puzzle21:30
tedgbregma, 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/20054521:32
tedgbregma, 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:32
bregmaI live for screwing up my machine21:33
tedgThen just make the suggested changes in /usr ;-)21:34
tedgbregma, Merged trunk and updated.  Realized I hadn't in a while.21:40
mhr3_tedg, so much upstart stuff, you're trying to make systemd migration hard, aren't you? :)21:48
tedgmhr3_, Heh, you've seen right through me.21:49
tedgSure most of this stuff could work with systemd as well.  Haven't tried though.21:50
tedgIs GNOME using Systemd in the user session yet?  I know they'd talked about it, but not sure if it's happened.21:51
mhr3_no idea21:53
Saviqkarni, got time to look at the diffs? what do you think?21:57
karniSaviq: yes! they're fantastic21:58
karniI was about to send out an MP with your code lol. Or do you want to do the honors? I'm not taking credit! :D21:59
Saviqkarni, just put it up21:59
karniok21:59
karniSaviq: saw that shader implementation. slick, dude, slick!21:59
karniSaviq: I did it against new-scopes branch, that right?22:00
Saviqkarni, nah, into trunk I think22:00
karniack22:01
karniThat'll be fun. I should actually approve that upcoming MP, it's your code haha.22:03
karnibranching unity8, really slow22:04
Saviqkarni, I'll ask Albert to review tomorrow22:08
karniSaviq: https://code.launchpad.net/~unity-team/unity8/unity8-card-overlay/+merge/20479022:09
Saviqkarni, thanks22:09
karniSaviq: I'll +1 it as comment, not top-approve then :)22:09
karniSaviq: thank YOU!!22:09
Saviqkarni, 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 them22:11
Saviqkarni, and the height should probably be dynamic, based on maximum header size22:12
Saviqkarni, and some margins, too22:12
karnionly current item? I see.. I should find the doc with the spec22:13
karnilaggy network22:13
Saviqkarni, https://docs.google.com/a/canonical.com/file/d/0B-a_7E3tDxOgOHAwNEt1S2Zfa2s/edit22:13
Saviqkarni, 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 later22:14
karniSaviq: sounds like a great plan! thanks so much, Saviq22:14
karniWe really appreciate your work!22:15
Saviqkarni, it's not that bad testing-wise, too, btw https://code.launchpad.net/~unity-team/unity8/new-scopes/+merge/198359/comments/47861722:15
* karni looks22:15
* karni nods. GenericScopeView would make sense to take on first, probably, once basic previews land22:17
Saviqkarni, yup22:19
karniSaviq: 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 foreground22:21
Saviqkarni, fade in22:21
karnishit x)22:21
Saviqkarni, easy - Behavior on opacity { NumberAnimation { duration: UbuntuAnimation.SnapDuration } }22:22
Saviqsomething like that22:22
karnioh, I thought fade in as it shifts to foreground22:22
karnitied to carousel position.22:22
Saviqkarni, it will be22:23
karnithat's easier :D22:23
karnioh hahaha22:23
Saviqand then property bool showHeader: true; opacity: showHeader ? 1 : 022:23
* karni nods22:23
Saviqkarni, Carousel would override showHeader to be based on whether it's the current item22:23
karnithat's still easier than I thought :)22:24
karniI thought it'd be bound to x position of the item being selected and it'd fade it as it shifts to center22:24
Saviqkarni, http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-listview.html#isCurrentItem-prop should be enough here22:24
karniSaviq: you're making my life too easy ^o^22:24
Saviq;)22:24
karniEnjoy your evening :)22:25
Saviqkarni, pushed a small commit ther22:35
Saviqe22:35
karniack22:36
Saviqkarni, pushed https://code.launchpad.net/~unity-team/unity8/newscopes-card-overlay/+merge/204797 too to ease work on the newscopes branch22:41
tedgSo I upgraded and ended up in a bad place.22:41
tedgIt seems compiz isn't drawing all the Unity stuff.22:41
tedgNo panel, no launcher, etc.22:41
karniSaviq: +122:42
tedgBut it is running and saying it's loaded the unity plugin.22:42
karnitop approved22:43
tedgLooks like I have a daily build of Unity: 7.1.2+14.04.20140204.2-0ubuntu122:43
Saviqtedg, ppa:ubuntu-unity/daily-build ?22:45
tedgSaviq, Yeah22:45
bschaefertedg, have you checked ccsm to make sure the plugin hasn't decided to unload it self?22:48
karniI'm exhausted, Michal, took notes. I'll try to addres some of those overlay comments this evening/tomorrow morning.22:49
karniWe'll keep in touch.22:49
tedgbschaefer, Uhm, it had.22:49
tedgHow is that possible?22:49
bschaefertedg, there some sort of magic that goes on (some error handling im not familiar with, that causes it to unload it self)22:49
bschaefertedg, i've never actually dug into the loading plugin part of compiz22:50
tedgHuh, okay.  So then once it's gone, it's gone forever?22:50
bschaeferyou should be able to re-enable it22:50
tedgYeah, I did.  I was more meaning it wouldn't reenable itself.22:51
bschaeferor its just not there at all?22:51
bschaefernope22:51
tedgJoy.22:51
bschaeferonce it unchecks it self, its never checked again22:51
bschaeferyeah22:51
bschaeferone of the fun joys of ccsm22:51
tedgSaviq, Don't implement that feature ^22:51
bschaeferusually only happens after an update...22:51
bschaeferhaha22:51
Saviqkarni, no worries22:51
* bschaefer suspects schema changes that cause issues22:52
tedgAnyway, thanks bschaefer, wouldn't have thought that could happen.22:52
bschaefertedg, yeah, and np! Thats become my number place to check when unity goes aways :)22:53
bschaefernumber one*22:53
mhr3_bschaefer, what did you do?!23:47
bschaefermhr3_, what did I do!23:48
mhr3_bschaefer, you can't see half of the map in dota... that's horrible!23:48
bschaeferi know :(23:48
bschaefermhr3_, it makes the game a bit harder!23:48
mhr3_ah, you like challenge23:48
bschaeferthe real issue though, i have no clue some problem in opengl not wanting to fully render some textures23:48
bschaefermhr3_, hows all your fun API work going?23:49
mhr3_maybe some offset issue somewhere23:49
mhr3_thinks it's clipped while it isn't23:49
bschaeferyeah, strangly it renders most of it fine...23:50
Saviqbschaefer, hard at work, eh? http://ubuntuone.com/5i6T94DYbrR62yez71DTeR23:50
bschaeferclipped sounds reasonable as well, the problem is like 90% of the other textures work23:50
bschaeferSaviq, haha, it was hard watching people play!23:50
bschaefer(its just spectator mode, i am not that good)23:51
mhr3_bschaefer, that's intel btw?23:51
bschaefermhr3_, no it was AMD23:51
bschaefererr23:51
bschaeferATI23:51
bschaefermhr3_, X11 works fine though23:52
mhr3_i know it does :)23:52
bschaeferso it could either be in SDL rendering (something wrong with the opengl context given), mesa, or DOTA2 it self...23:53
bschaeferbut23:53
bschaeferit seems to lean more on mir23:53
bschaefermhr3_, on the plus side the FPS is the same on X11/mir23:53
bschaeferas i have an old old pc23:53
mhr3_hmm, i thought games running mir natively would be faster than x23:54
bschaeferwell i've not tested it intensively, it was just the game FPS meter...23:55
bschaefersoo its hard to tell when it fluctuates from 15 -> 25 FPS23:55
mhr3_right23:55
bschaeferits at lease no worse23:55
bschaeferis all i could really conclude from that23:55
mhr3_i'm sure a particular news site will soon publish benchmarks :)23:56
bschaefermhr3_, its actually really annoying getting dota2 running atm (due to some issues in loading the game and libtogl)23:56
bschaeferit took me like 2 weeks to try to get it to work, theres also a bug in the mesa video driver23:57
kklimondaplaying dota2 under unity is actually even more annoying23:57
bschaeferwhere it fails to have to correct API index for the context23:57
kklimonda;)23:57
bschaeferi've not tried, but hopefully its not to bad!23:57
kklimondathe hud button (alt) minimizes the game23:57
mhr3_oh yea, annoying as hell23:58
kklimondaI think the same with super key, I just rebound both to some other keys23:58
bschaeferkklimonda, you can use ccsm to disable those (i didn't say that out loud!)23:58
mhr3_bschaefer, but anyway, great job, some thing still missing, but we'll get there :)23:58
kklimondabschaefer: in 14.04 I have to restart unity for those changes to kick in :(23:58
kklimondaotherwise I'd just write some script to do that before I launch the game, and revert back later23:59
bschaeferkklimonda, hmm it should by dynamic...but if isn't you can always restart the interface23:59
bschaeferwith out rebooting23:59
kklimondayeah, I'm just restarting it23:59
bschaeferthrough setsid unity (in a terminal), or setsid compiz --replace ccp23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!