/srv/irclogs.ubuntu.com/2014/11/18/#ubuntu-unity.txt

=== cyphase_ is now known as cyphase
Mirvkgunn: yes sure I can skip more tests manually04:47
Mirvas long as the reason is understood like in those cases04:47
kgunnta Mirv05:03
=== shiznix_ is now known as shiznix
tsdgeosmzanetti: seen you broke qmluitest?08:39
mzanettitsdgeos: nope, not yet. will fix08:41
mzanettitsdgeos: fixed08:50
tsdgeosk08:52
mzanettitsdgeos: re "Yes, it will break when someone has #111111 has background color, but i guess it's less common than black"09:11
mzanettitsdgeos: there's still a black dropshadow around...09:11
mzanettinot sure if that's visible enough though.09:11
mzanettiI guess it is09:12
dandradermzanetti, hey! stop throwing bugs at me and help me with shellRotation instead! :P09:20
mzanettidandrader: you broke it09:20
mzanettiyou fix it09:20
mzanetti:P09:20
tsdgeosSaviq: so what's the suggested way to compile stuff for rtm now that vivid doesn't compile in rtm? diff the branch to master and manually apply that patch? or?09:21
Saviqtsdgeos, to build the branch I usually merge onto trunk and then merge -c onto rtm09:22
Saviqtsdgeos, that's how I build the staging rtm branch09:22
tsdgeosokki09:22
Saviqtsdgeos, as far as compilation goes... gotta build natively, there's no x-build capabilities in rtm at all :/09:23
tsdgeosmzanetti: fixed, but pushed?09:47
mzanettitsdgeos: hmm... it says there's nothing more to push09:48
tsdgeosmaybe we're talking about different branches :D09:48
tsdgeosi'm talking about https://code.launchpad.net/~mzanetti/unity8/fix-appdelegate-jumping/+merge/24193009:48
mzanettiinteresting09:48
mzanettiyeah, I did fix that, but indeed the push doesn't show up in LP09:49
mzanettibut my local copy says nothing more to push09:49
mzanettiwondering where this got lost09:49
tsdgeosdoesn't show in my branch09:49
tsdgeoseither09:49
tsdgeosso it's not there09:49
tsdgeosyou sure you pushed to that branch and not somewhere else?09:49
mzanettipushed to wrong branch :/09:49
mzanettitsdgeos: now it should be better :)09:55
tsdgeoscorrect09:58
=== dandrader is now known as dandrader|afk
mzanettiCimi: fixed10:17
mzanettigood catch btw10:17
tsdgeoslarsu: https://code.launchpad.net/~larsu/unity8/stop-using-statusicon/+merge/23450210:26
mzanettidandrader|afk: fixed the flickering by reverting changes from line 1842 to 185910:35
mzanettidandrader|afk: although I guess there was a reason why you did that. not really sure what though10:35
Cimimzanetti, https://code.launchpad.net/~mzanetti/unity8/launcher-snap-after-drag/+merge/241679 ?10:39
larsutsdgeos: this is getting ridiculous10:46
larsuand horribly inefficient10:49
=== dandrader|afk is now known as dandrader
dandradermzanetti, could you point me to the line numbers in PhoneStage.qml?10:53
dandraderI guess those are from the web diff or the whole thing, right?10:53
dandradermzanetti, yes it fixes the flicker but makes the rotation animation horrible10:54
mzanettidandrader: https://code.launchpad.net/~unity-team/unity8/shellRotation/+merge/24195210:54
mzanettidandrader: I don't see a difference in the rotation animation10:54
dandradermzanetti, the dash shows through while you rotate an app10:55
mzanettinot here10:55
dandradermzanetti, have you tried it on the device?10:56
mzanettiyes10:56
mzanettidandrader: define "shows through"10:56
dandradermzanetti, btw, it's very hard to find inline comments in such a big diff10:56
mzanettidandrader: there's a button that scrolls you to the diff10:57
mzanettiah no10:57
mzanettiok.. well10:57
dandradermzanetti, when rotatting, the opacity of the app is animated, so it gets translucent. since the dash is always behind it, you end up seeing it as well10:57
mzanettidandrader: I can't see it when rotating the settings app10:57
mzanettidandrader: it might depend on the color of the app then10:57
dandradermzanetti, you can also see a bit of the dash when switching between apps with different orientations10:58
mzanettiI can't...10:58
greybackpossibly relevant: with an app open, dash is being drawn underneath it11:00
greybackwhich is a bug11:00
dandradermzanetti, it's not just me. that was the reason of commits 1449 and 1450. reverting that as you suggested caused the bug in row 1611:01
dandradergreyback, yes, that's what I was trying to fix. fixing had the side-benefit I was looking for which is dash not showing up in rotation animations11:01
greybackgotcha11:02
mzanettiin any case, it's too much hidden now11:02
dandradergreyback, currently it would be just an optimization, but with the rotation animations it turns into a bug fix11:02
mzanettiand I still can't see it in while rotating11:02
Cimimzanetti, with the second comment for that branch, you still think we should not use else if_11:10
Cimi?11:10
mzanettiCimi: doesn't really make a difference. But I added it. You do have a (theoretical) point. :)11:12
mzanettigreyback: I just verfied it. The dash behind is only visible when the app is not at x==011:15
=== _salem is now known as salem_
mzanettiwhich is something we need11:15
greybackmzanetti: with trunk? I can repro it with trunk easily, just launching an app with transparency11:15
mzanettihmm... yeah, with trunk. using the overdraw visualizer11:16
mzanettigreyback: it appears when I drag it aside, disappears when it's animated back11:16
mzanettigreyback: ah oh... no... that's the dropshadow of the app11:17
mzanettigreyback: it's there indeed11:17
dandradermzanetti, just reverted my buggy dash visibility optimization once again and I can see the dash when rotating system settings11:17
mzanettidandrader: did you just revert those lines (the visible property) or did you revert the whole commits?11:17
dandradermzanetti, make sure you have just system settings and unity8-dash in the spread11:17
mzanettiah ok...11:17
* mzanetti tries11:17
dandradermzanetti, if you switch from some other app to system setting and then rotate you won't see the dash indeed11:18
mzanettidandrader: right... now I can see it too11:18
greybackgood, on same page11:19
mzanettidandrader: so I guess for the rotation animation, the fix would not to make it transparent but to put a black overlay on top11:20
mzanettidandrader: I have the same issue in the spread in some other place. making app surfaces transparent mostly causes nasty stuff11:20
mzanettidandrader: for example it looks crap if it has a trusted session on top11:21
mzanettito repro, open an app with a trusted session and use a right edge drag to move it a bit to the left. that'll make it transparent and look ugly. I've still to fix that11:22
mzanettiso we should not make ApplicationWindows tansparent ever I'd say11:22
dandradermzanetti, yes. wedging a black rectangle does solve it but I was hoping for the "optimization" solution as it would lead to hopefully a simpler scene and more efficient scene and code11:23
dandradermzanetti, but I will do it if you say so11:23
dandradermzanetti, you're the PhoneStage man after all :)11:23
mzanettiyeah, that's the next thing... but I'd say unrelated11:23
mzanettiI tend to agree the dash should be optimized away when not needed11:24
mzanettistill  transparent window surfaces has issues11:24
mzanettigreyback: what did you mean with transparent app?11:25
mzanettigreyback: an app with backgroundColor: "transparent" ?11:25
greybackmzanetti: an app whose surface is not opaque11:25
mzanettithere are different ways of doing that11:25
greybackyep, it's not forbidden - yet11:25
facundobatistaHola!11:25
greybackI was testing pure GL apps11:25
greybackwhich often do not set a background colour11:26
mzanettigreyback: ok. so if we allow setting an app transparent, wouldn't you expect the dash to shine through?11:26
greybackmzanetti: no11:26
mzanettiafter all it's there when you move the app to the left11:26
mzanettiso you'd expect the dash to magically appear when you start dragging from left to right?11:26
greybackit's an app, why is dash visible?11:26
mzanettibecause the dash is transparent :P11:26
mzanettiand if you drag the app to the side, the dash is there11:27
greybacksure. I'm not saying what we're making the dash do is wholly sensible11:27
mzanettiour stages stuff is made in a way that apps don't disappear out of nowhere, but rather are somewhere and are moved around11:27
greybackI am saying that if an app with transparency is started, and the dash is drawn underneath, it's hard to see the app11:27
mzanettiyeah well, if you want to have the app readable, don't make it transparent11:28
mzanettibut if you want to make a transparent app?11:28
greybackmzanetti: it's not my app11:28
mzanettifor example that screen crack apps11:28
greybackultimately we won't allow most apps to use transparency on the phablet11:29
dandradermzanetti, actually, the rotation animation changes the opacity of the entire Shell.qml11:29
greybackbut for now, I consider it unnecessary to draw the dash underneath the focsued app11:29
mzanettidandrader: which will cause the said issues with trusted sessions though11:29
dandradermzanetti, yeah...11:30
=== Trevinho_ is now known as Trevinho
=== MacSlow is now known as MacSlow|lunch
tsdgeosQObject: Cannot create children for a parent that is in a different thread.11:54
tsdgeos(Parent is QNetworkAccessManager(0x1203ccc), parent's thread is QThread(0xf48500), current thread is QThread(0x1196028)11:54
tsdgeostoo many of those11:54
tsdgeosmakes me scared11:54
mzanettiyeah... we about 30 threads around now :D12:05
mzanettiwhich does sound scary indeed12:05
tsdgeosguys a quick one at https://code.launchpad.net/~aacid/unity8/undefined_warning_less/+merge/242061 ?12:08
Saviqtsdgeos, as you're chasing warnings, could you chase down the implicitHeight binding loop in card delegates maybe?12:19
Saviq;)12:19
tsdgeosi'm not chasing warnnings, just fixed an eassy one12:19
Saviqok :)12:19
=== alan_g is now known as alan_g|lunch
Saviqpstolowski, what's the deal with https://code.launchpad.net/~stolowski/unity-scopes-shell/feeds/+merge/239396 ?12:31
pstolowskiSaviq, it's done, forgot to change status, doing12:32
Saviqpstolowski, ok thanks12:33
pstolowskiSaviq, btw, this should still only target vivid, correct?12:35
Saviqpstolowski, yes12:35
tsdgeospstolowski: how do i reset scopes to be the default set of scopes? can i do that by removing/editing some file in $HOME?12:36
pstolowskitsdgeos, dconf key, 1 moment12:36
Saviqtsdgeos, gsettings reset com.canonical.unity.Scopes something12:37
Saviqgsettings reset com.canonical.Unity.Dash favorite-scopes12:37
Saviqtsdgeos, ↑12:37
pstolowskiyep12:37
tsdgeostx12:37
=== dandrader is now known as dandrader|afk
=== MacSlow|lunch is now known as MacSlow
mzanettithis is fun :) http://notyetthere.org/data/out-1.ogv13:40
mzanettigreyback: ^13:41
Saviqmzanetti, fun indeed :)13:42
greybackmzanetti: thought you'd enjoy it :)13:43
mzanettiso far 20 mins of work :D13:43
mzanettidid I ever say that I love QML?13:44
greybackIMO it's perfect for this kind of job13:44
mzanettiyeah13:44
=== alan_g|lunch is now known as alan_g
tsdgeospstolowski: Saviq: any idea why launching unity8-dash from upstart gives me a different set of scopes than if by command line?14:28
Saviqtsdgeos, huh?14:28
tsdgeosSaviq: on the phone, with upstart i get all the scopes14:28
Saviqtsdgeos, I don't think there's any envvar that could affect it any more...14:28
tsdgeos ./builddir/src/Dash/unity8-dash --desktop_file_hint=/usr/share/applications/unity8-dash.desktop14:28
tsdgeosgives me three14:28
Saviqtsdgeos, try comparing environ of the two?14:29
tsdgeosright14:29
Saviqtsdgeos, hmm looking at data/unity8-dash.conf14:29
Saviq    if [ -z "$UNITY_SCOPES_LIST" ]; then14:29
Saviq        # FIXME: remove once we have this in dconf14:29
Saviq        initctl set-env UNITY_SCOPES_LIST="clickscope;musicaggregator;videoaggregator"14:29
Saviq    fi14:29
tsdgeosyeah14:29
tsdgeosbut i don't see where UNITY_SCOPES_LIST could be defined14:30
=== dandrader|afk is now known as dandrader
tsdgeosenviron is UNITY_SCOPES_LIST=clickscope;musicaggregator;videoaggregatoranyway14:31
Saviqtsdgeos, yeah, just checked, same here, I've a feeling that's a bug in unity-scopes-shell14:31
pstolowskihmm this list shouldn't have any effect afaict14:31
Saviqpstolowski, didn't we leave it around for the scope-tool registry?14:32
pstolowskiSaviq, no, for the scope tool I added UNITY_SCOPES_NO_FAVORITES flag14:33
tsdgeospstolowski: then why the difference?14:35
pstolowskitsdgeos, any chance it's picking a customised value of the dconf key in one case and system-wide default value in the other?14:38
tsdgeospstolowski: maybe14:38
tsdgeoswhere's the system-wide default stored?14:38
pstolowskitsdgeos, /usr/share/glib-2.0/schemas/com.canonical.Unity.gschema.xml14:40
tsdgeossomebody is doing some black magic somewhere14:41
tsdgeosthtt file also defines only the 3 default scopes14:41
pstolowskitsdgeos, ah right, there are overrides somewhere made by PS14:42
tsdgeosanyway, i did14:43
tsdgeos/sbin/initctl start unity8-dash BINARY="`readlink -f ./builddir/src/Dash/unity8-dash`"14:43
tsdgeosand i get all the scopes now14:43
tsdgeosthat's enough for me at this point14:43
greybackseb128: would you know: I'm playing with unity8 on desktop a lot these days. One thing I don't understand is how it's launched (by gnome-session I guess), and how I could prevent it being launched so I can run it manually14:55
mzanettimoar goodness, now with minimize/maximize and pretty window decorations: http://notyetthere.org/data/desktopstage.ogv14:55
mzanettiand dropshadow :)14:56
greybackseb128: I think back in the unity2d days, there was a file I could edit to disable autolaunch/autorelaunch of unity2d. Then I could kill unity2d and launch manually14:56
seb128greyback, sessions are a bit of a mix of gnome-session and upstart jobs14:56
mzanettigreyback: I'd suggest I hook that up to Shell.qml in a way it won't be loaded on phone/tablet but so that it will be loaded when running the desktop session and get it landed so people can start playing around and figure next steps. wdyt?14:57
mzanettiI mean, we won't implement the whole thing at once anyways and for the desktop its already now better than the tabletstage14:58
greybackSaviq: wdyt? We'd be landing kinda raw code for a while?14:59
mzanettifirst I'm gonna test it with the proper desktop session obviously and make sure you can interact properly with the app surfaces14:59
greybackseb128: upstart jobs I know how to play with. But I'm not so good with gnome-session stuff. Any tips on stopping unity8 being respawned?15:00
Saviqgreyback, mzanetti, how do we differentiate between phone and not-phone?15:00
Saviqgreyback, "stop unity8"15:00
mzanettiSaviq: not exactly sure yet15:00
mzanettiso far we distinguish by size between tablet and phone15:00
greybackSaviq: until we know better, an env var?15:00
mzanettiI guess env var in the session is what I'd go for too15:00
Saviqgreyback, if you stop unity8 the session is going on happily15:01
Saviqgreyback, as it's not "PID 1" of the session15:01
greybackSaviq: that's upstart. On desktop, there is no such upstarts ession15:01
Saviqgreyback, of course there is15:01
Saviqgreyback, you just don't get UPSTART_SESSION in your terminal15:01
greybackSaviq: yes I have: http://pastebin.ubuntu.com/9073338/15:02
Saviqgreyback, no15:02
Saviqgreyback, that's init15:02
SaviqPID 115:02
Saviqgreyback, initctl defaults to the system upstart if UPSTART_SESSION is unset15:03
greybackah that it news to me15:03
Saviqgreyback, you can pick up UPSTART_SESSION from unity8's environ15:03
greybackSaviq: ok done, thanks15:04
Saviqbut ideally you'd get the same behaviour you get on the phone (or not get that behaviour on the phone...)15:04
greybackI thought gnome-session was managing unity815:04
greybackbut you're right, pstree showed me15:05
seb128greyback, what Saviq said15:05
greybackseb128: thanks :)15:05
seb128greyback, export `grep -z ^UPSTART_SESSION= /proc/$(pidof unity8)/environ`"15:05
seb128greyback, you can use that as an alias or in your profile or something15:05
seb128to set the upstart session env15:06
greybackalready done15:06
seb128k15:06
seb128sorry I was looking in my log for th einfo15:06
seb128while Saviq was replying ;-)15:06
Saviqmzanetti, /me loves, this sh!t just validates our approach so much :)15:10
mzanettiyeah... this is sooo amazingly fun atm15:10
Saviqwanna shell? here :P15:10
mzanettiyeah :D15:10
mzanettiok. gonna log off and log into the mir-unity8-desktop session now. I hope I'll be back by the standup15:11
Saviqkgunn, did you see http://notyetthere.org/data/desktopstage.ogv ?15:11
kgunni did....killer Saviq15:12
mzanettikgunn: this is a second video already, one step further15:13
mzanettimaximize/minimize sort of working15:13
ChrisTownsendmzanetti: Can't wait for that to land!:)15:20
mzanettiChrisTownsend: same here. note that there is *a lot* of stuff missing still... but hey, for 2 hours of work I guess not too bad so far15:21
ChrisTownsendmzanetti: Yeah, but still awesome and in 2 hours, that's amazing.15:21
Saviqtsdgeos, moreAsyncDash conflicts in croppedimagesizer.{h,cpp}, think it makes sense to rebase on asyncImageSizer?15:26
tsdgeosSaviq: don't take it into account for the moment15:26
tsdgeosi just discovered a way to make it use 100% of the CPU ^_^15:27
tsdgeosneed to find out why15:27
Saviqtsdgeos, ok15:27
tsdgeoswell actually now that i realize it may not be it but some of the parent merges15:27
tsdgeosbrrr15:27
tsdgeosthat'd be ba15:27
tsdgeosd15:28
tsdgeosyeah need to investigate after the standup15:28
tsdgeosSaviq: but moreAsyncDash has no changes at all on those files ?¿?¿15:40
Saviqtsdgeos, yeah, you need to remerge photoscopeimprovements into it probably15:40
tsdgeosmoreAsyncDash$ bzr merge ../photoscopeimprovements/15:41
tsdgeosNothing to do.15:41
Saviqor something...15:41
Saviqtsdgeos, does that conflict http://paste.ubuntu.com/9073872/ explain anything?15:42
Saviqtsdgeos, or maybe my staging doesn't have everything actually15:42
Saviqprobably that15:42
tsdgeosi did change those names15:42
tsdgeosbut i think i propagated the merges everywhere15:42
Saviqtsdgeos, yeah, I've a local staging branch that I probably did not merge into, sorry for the noise15:43
tsdgeosthat's ok15:43
tsdgeosMirv: any eta on https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1384776 ?16:29
ubot5Launchpad bug 1384776 in qtbase-opensource-src (Ubuntu) "Occasional hang in unity 8 dash on the phone" [High,New]16:29
elopiois there a way to open unity on the desktop with the indicators working?16:47
elopioinitctl start unity8 gives me just something that looks like a background image. No real indicators.16:48
greybackelopio: you have unity8-desktop-session-mir installed?16:51
greybackif you use lightdm to log into a proper unity8 session, the indicators should come up fine16:51
elopiogreyback: with that, I get a black screen after logging in.16:53
greybackelopio: try with a new user account. mzanetti had a similar issue, and that fixed it for him16:54
mzanettiyeah... for some reason my work account doesn't bring it up. works fine with my private account16:57
elopioright, now it works.16:57
elopiogreyback: mzanetti: now, what I need is to introspect the indicator-messaging with the autopilot vis. I don't think I will be able to do that from the u8 session.17:00
mzanettigreyback: Saviq: it's gettin real: http://notyetthere.org/data/unity8-desktop-mode-on-mir.mp417:00
balloonsmzanetti, oO what's that?17:02
mzanettiballoons: it's working! that's what it is :D17:03
balloonspretty sweet17:04
greybackelopio: sure, but I think the first step is to get unity8+indicators working normally. Then you can control unity8 like on the phone (you need to set UPSTART_SESSION first though, scroll up as I had that query earlier today)17:06
greybackmzanetti: looks good17:06
balloonsmzanetti, can I use mir in the lxc container?17:06
mzanettidunno... I ran it on a second session17:07
mzanettiit freezes when I play around with the indicators17:07
elopiomzanetti: I didn't get the scopes window.17:07
greybackmzanetti: observations: you are resizing the QQuickItem, but it takes 2 frames until the the application has rendered a new frame at the desired size - and in the mean time we scale the old frames.17:07
mzanettielopio: this is not landed yet17:08
elopioah17:08
mzanettielopio: atm you'd get the tablet mode17:08
greybackmzanetti: I think it's worth playing with a resize(width, height) method on the MirSurfaceItem, and the width/height is tied directly to the actual frame size17:09
greybackso it only gets resized when the client has drawn at the desired new size17:09
greybacksee what I mean?17:09
mzanettigreyback: not exactly sure...17:09
mzanettigreyback: but yeah, right now it's just bound to the window's size17:10
greybackmzanetti: it's mainly due to Mir's triple buffering for clients. When we ask client to draw at new buffer size, it can take a frame or 2 until shell gets that resized buffer to render17:10
elopiogreyback: I saw your queries about UPSTART_SESSION. Will try that later. Thanks.17:11
mzanettigreyback: ah, now I understood what you mean17:12
mzanettigreyback: I'd leave that for another branch though17:12
greybackmzanetti: I want to see this in your next video: http://www.phoronix.com/scan.php?page=news_item&px=MTg0MzU17:12
greybackmzanetti: ofc17:12
mzanettigreyback: I'd say as a first step I'd try to get this now landed as is so we can all start building on top17:13
greybackthese are tricky things, but for pixel perfect frames, something we'll have to worry about eventually17:13
mzanettidefinitely17:13
mzanettigreyback: in the video you can see that sometimes I try to scroll but it's not working17:14
mzanettiI think that's because the app is still waking up from suspended17:14
mzanettiit only happens directly after focusing an app17:14
greybackmzanetti: yep, phablet lifecycle totally unsuited for this.17:14
mzanettibut hey, really didn't think I'd get this far today17:15
mzanettireally proves qtmir works17:15
greybackyep17:15
greybackthe hard bit is getting behaviours right, focus, window placement, workspaces...17:16
mzanettigreyback: re video on phoronix: gimme a minute :D17:16
greybackI like their launcher17:17
greybackbut they don't use multi-touch much17:17
mzanettiyeah, that blue thingie might be a bit of work17:17
mzanettibut for app surfaces rotating etc, we're pretty much there17:17
greybackhas a lovely animation17:17
greybackyeah I've a demo which does that, easy17:17
mzanettithe fact that indicators freezes the whole shell is nasty...17:18
greybackdo they?17:18
greybacknot on my unity8 on desktop17:18
mzanettiyeah, touched them twice so far, after about 5 secs of playing with them it freezes reliably17:18
mzanettimight be something with my environment17:19
mzanettilike I have a bazillion wifi's in range here17:19
greybackbattery makes it hang for 1-2 seconds17:19
kgunngreyback: and that nemo shell needs at least 1 thing to "make it square" in 1 touch...17:21
kgunnthe off kilter windows look cute for a demo...but would quickly piss me off17:21
greybackkgunn: right. It's fun for a demo - or a multi-user UI - but yeah, the freedom is nutty17:21
=== alan_g is now known as alan_g|EOD
=== boiko_ is now known as boiko
=== salem_ is now known as _salem
mzanettipopey: can we upload amd64 clicks to the store yet?21:24
popeymzanetti: yeah, we have always been able to21:32
mzanettiwhere does unity7 store window state information?22:02
mzanettilike last open position/size etc22:02
greyback_mzanetti: often apps themselves save that data, and request position/size on startup.22:12
mzanettigreyback_: I see... I guess we don't have anything like that in place yet22:13
greyback_but I don't know where compiz saves any such data22:13
greyback_mzanetti: nope not yet22:13
greyback_we've a lot of plumbing to do still22:14
thetoxicarcadehello all :D is this the old unity or the new unity as in broken lxc container unity22:18

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