/srv/irclogs.ubuntu.com/2015/06/04/#ubuntu-desktop.txt

larsugood morning!06:10
mpt“Unhandled Lockdown Error” would be a great name for a band06:40
seb128good morning desktopers07:10
larsu"I'm not an expert, but I don't think I need 114 instances of indicator-sound-service."07:16
mptOh dear, did the 115th one crash? That’s the one that plays the sound07:17
larsuhaha07:18
* larsu updates the counter inside indicator-sound service to make it go to 11507:18
willcookeo/07:21
larsumorning willcooke!07:21
seb128hey willcooke07:22
larsuno pitti today?07:22
seb128seems not...07:22
seb128nah, I miss the time where I had scrollbars07:22
seb128Laney, larsu!!!!07:22
larsuI was the first person to talk in here at 8:10 today, so I guess not :)07:23
larsuseb128: you have *no* scrollbars?07:23
seb128no07:23
seb128no thumb, no bar, no color, no handle07:23
seb128nothing07:23
seb128in gedit or nautilus07:23
seb128I do have the overshot effect if I scroll with the pad though07:23
larsumitya57: I see the point of not wanting to make it slower, but it's producing incorrect results now...07:24
seb128the overshot effect is buggy btw07:24
seb128if I'm of the top of a nautilus view and try to scroll up, it displays fully in a non smooth way and stay there for like 3s07:24
larsuyou should see a scrollbar when hovering the window07:25
seb128not happening07:26
larsutrackpad?07:26
seb128dell lattitude with trackpad and nibble07:26
seb128I use the nibble07:26
seb128but seems the same with the trackpad07:26
larsudo you have the new overlay-scrollbar package? (is that even uploaded yet?)07:26
seb128touchpad07:26
seb128I upgraded with the ppa which is in the topic07:27
seb128https://launchpad.net/~ubuntu-desktop/+archive/ubuntu/ww07:27
seb128that has a new o-s07:27
larsuweird, I'm not getting that yet07:29
seb128oh, it works after unsetting GTK_MODULES07:30
seb128nothing forced to uninstall o-s-gtk3 for me and I didn't restart my session so the env is still set07:30
seb128that seems to make o-s not work and gtk scrollbars bug07:30
larsuLaney fixed that in the MR - we're only loading the module for gtk207:30
seb128k07:31
larsudunno if we need to handle that case tbh07:31
seb128oh man, those scrollbars are not nice :-/07:31
larsuwell, they're not themed yet07:31
seb128k07:31
seb128I hope they are better once themed, but atm it feels like quite an user regression :-/07:31
seb128they are width07:32
larsuwe can make them look however you want07:32
larsuand actually I'd like some input. notadesigner07:32
seb128my first reaction is "thinner"07:32
larsuthe only thing we're regressing on is that they're not outside the window07:32
larsuseb128: ya, definitely!07:32
larsueven Adwaita has them thinner ... and that's saying something ;)07:33
seb128also the fact that they are rounder at the top/bottom looks weird in e.g gedit07:33
seb128in nautilus as well in fact07:34
seb128it looks weird to have a circle against a line07:34
seb128imho it would be nicer to just have flat borders07:34
larsuor none if you ask me, android style07:34
larsujust the thumb07:34
larsubut then, nobody's asking me07:35
seb128can we do that?07:35
seb128mpt, do you think somebody from design could help us and give some recommendation on how new gtk scrollbars should look like?07:35
mptha ha07:36
seb128mpt, atm they are like on http://tinyurl.com/nhkn93v07:36
larsuseb128: I've asked for a theme update countless times. We're not getting it.07:37
seb128larsu, https://blogs.gnome.org/mclasen/files/2013/08/zoomscrollbar.png looks much nicer07:37
seb128larsu, there is a difference between a theme update and UI recommendations07:37
larsufair enough07:38
seb128like I guess a theme update would require work from an engineer07:38
larsuso does theming the scrollbars07:38
seb128where advising on UI details is a pure design thing07:38
seb128if they do the change07:38
seb128but it seemed you said you would be happy with them telling us what to do07:39
seb128like visual07:39
seb128even if they don't do the actual css changes07:39
larsuya I would be, but they're not07:39
seb128larsu, I would start by doing what is on https://blogs.gnome.org/mclasen/files/2013/08/zoomscrollbar.png with orange as color07:39
seb128that doesn't have the round corner issue07:39
seb128nor the width one07:39
larsuyes, that was my first plan as well07:39
seb128why is GTK making default widget look buggy?07:39
seb128just to punish their non GNOME users?!07:40
larsuthis is our theme :)07:40
seb128we made scrollbars wider on purpose?07:40
larsuyes07:40
seb128oh, ok07:40
seb128why?!07:40
larsuI don't know :)07:40
mptSurely not07:40
larsuit's old code07:40
larsubut it's in there07:40
seb128oh, ok07:41
larsuI guess for people that turn off o-s?07:41
TheMusoHey willcooke.07:41
TheMusoHey folks.07:41
seb128let's delete scrollbar customizations then07:41
larsuseb128: default gtk is Adwaita now, regardless of if you're on GNOME or not07:41
seb128just change the color07:41
Sweet5harkmoin07:41
seb128larsu, k, so it doesn't make sense we are keeping those old hacks07:41
seb128let's clean them out07:41
seb128less code ;-)07:41
larsuI agree07:41
mptseb128, yes, just changing the background of the corners so that it is the same color as the trough border would be an improvement07:42
larsumpt: no work has gone into theming those yet. All we did was turn off overlay-scrollbars07:42
seb128mpt, would the ones from https://blogs.gnome.org/mclasen/files/2013/08/zoomscrollbar.png with orange instead of blue look fine to you?07:42
mptlarsu, then how come the thumb looks the same (e.g. three little grooves) as Ambiance/Radiance in 14.04 with overlay scrollbars uninstalled?07:44
mptI’m pretty sure Ambiance+Radiance aren’t inheriting from some other theme there07:44
mptseb128, I don’t understand what’s going on in that screenshot. Is the thumb getting *smaller* when you mouse over it?07:45
mptI.e. what’s the difference between those three states?07:45
seb128larsu, ^ do you know?07:46
larsumpt: because Ambiance/Radiance has code for theming them when you uninstall overlay-scrollbars...07:46
mptlarsu, so it still has that same theming in Wily, right?07:46
larsuyes07:46
seb128mpt, https://blogs.gnome.org/mclasen/2013/08/05/scrolling-in-gtk/07:47
larsumpt, seb128: no, these screenshots are misleading. It gets wider as you mouse-over it07:47
larsuGTK_THEME=Adwaita gedit to try them out07:47
seb128the thinner line is when you hold the click07:48
seb128it goes in autoscrolling mode07:48
mptlarsu, so we have exactly the same problem with the trough now as we did with the scrollbuttons before: pasty-grey crevices in each corner of the overall area.07:48
seb128or follow the mouse07:48
larsumpt: I can make them #ff0000 if that helps visibility07:49
mptlarsu, you’re talking about the thumb. I’m talking about the crevices.07:50
larsumpt: I don't understand. Which crevices do you mean?07:51
larsumpt: where the background shines through between trough and the window border?07:54
mptlarsu, these bits: http://imgur.com/SvZ4Ezd07:56
mptThat’s what I thought seb128 was talking about with “<seb128> it looks weird to have a circle against a line”07:57
larsumpt: ya, this is the window's background shining through because of the rounded corners. I agree with seb128 that we should flatten them07:59
mptlarsu, there are two ways to solve the problem: (1) square the corners or (2) fill them with something08:02
mptI was suggesting a very simple approach to (2), just fill them with the same color as the scrollbar is already using for its border08:02
mptthough ideally they’d have their own 3-D appearance, like the thumb does, to make them look intentional08:04
Laneysup08:06
seb128hey Laney, wie gehts?08:06
larsumpt: hm, I think 3-D might make them look a bit off. They appear only when you're in the window or when swiping08:08
larsumorning Laney!08:08
Laneydoing good thanks08:09
LaneyI added a breaks to gtk08:10
Laneyit's in a silo now, didn't update that ppa08:10
seb128so it would force uninstall o-s-gtk3?08:12
Laneynah it upgrades you to a version which doesn't set GTK_MODULES and doesn't depend on it08:13
Laneyso autoremove should get rid of it08:13
mptlarsu, fair enough, but if that’s the rule, the whole scrollbar needs redesigning, not just the corners08:14
seb128Laney, yeah, I didn't restart my session though, so the env is still set and I've no scrollbars in my apps now08:15
seb128need to restart later ;-)08:15
* seb128 doesn't want to close ongoing work though08:15
larsumpt: tell me about it...08:15
seb128Laney, do you remember if in u-s-s we had/have a way to dynamically list or not plugins from the main grid?09:29
Laneyyes we do09:29
Laneythe battery plugin does it09:29
seb128thanks09:31
Laneywhat will you do09:34
Laneytry to activate the s-i service and hide if that fails?09:34
seb128Laney, undecided yet, I'm pondering09:36
seb1281. check for something that tells me s-i or snappy and hide in the second case, and change the depends to be | snappy-cli09:36
seb1282. split the update panel in a new binary which has the depends and see that only in touch09:36
seb1282. makes more sense if we plan to write a new panel for snappy updates09:37
seb128unsure yet, the backend is not going to have a lot on common but maybe the UI can be reused09:38
seb128or maybe it makes more sense to just start fresh09:38
Laneylarsu: does (g)dbus have any way of asking 'could I activate this name' without actually activating it?09:38
Laneyprobably the existing one will get thrown away09:38
LaneyI would have thought09:38
Laneyif snappy it just a completely different thing09:38
Laneys/it/is/09:39
seb128the backend at least09:39
seb128the UI is lilely to stay the same09:39
larsuLaney: yes: gdbus call -e --dest org.freedesktop.DBus --object-path / --method org.freedesktop.DBus.ListActivatableNames09:39
seb128but then it's not  a complex bit to copy over09:39
Laneyah nice09:39
Laneymight be good to use that ^ to tell if system-image is there09:40
larsuLaney: well, that doesn't do exactly what you want, but there's nothing for individual names09:40
larsuLaney: other than looking in /usr/share/dbus-1/services09:40
Laneyand yes, I think the UI has some complex state module so is going to be easier to do it over09:40
Laneylarsu: why doesn't it?09:40
larsuLaney: hm?09:41
larsuwhy doesn't it what09:41
Laneywhy doesn't it do what we want?09:43
larsuit gives you a list of activatable names09:44
larsudoesn't tell you if a specific name is activatable09:44
larsuof course, you can find out from the liest09:44
larsu*list. I can't type today. drunk from the smoothie maybe?09:45
Laneyliszt09:45
LaneyI'm missing a piece of knowledge here09:45
seb128larsu, are you following dholbach on that green smoothie diet?09:45
larsuLaney: https://www.youtube.com/watch?v=4BJDNw7o6so09:45
larsuseb128: urgh, no09:45
seb128k, was wondering :-)09:46
* larsu doesn't like green stuff in smoothies09:46
larsuunless kiwi09:46
seb128I see09:46
Laneynice tune09:46
larsuphoenix!09:46
larsuLaney: what are you missing?09:46
Laney04/06 10:44:30 <larsu> it gives you a list of activatable names09:47
Laney04/06 10:44:43 <larsu> doesn't tell you if a specific name is activatable09:47
Laneythis concept09:47
larsuyou asked for something like IsThisNameActivatable("com.something")09:47
Laneyya09:47
larsubut that doesn't exist. What does exist is ListActivatableNames()09:47
Laneyyou mean that we have to search the list?09:47
larsuyes09:47
Laneyoh right09:48
LaneyI get that :P09:48
LaneyI thought that you were trying to tell me about some weird dbus thing09:48
larsusorry if that wasn't clear. Just wanted to make the small point that my answer wasn't exactly what you were looking for09:48
Laneylike you can't find out if it is activatable until you actually attempt to activate it09:48
Laneyjust that it /might/ be09:48
larsuno, I think it has to be09:48
larsuif it's in that list09:48
Laneynod09:49
larsuby ... err ... "definition"09:49
seb128Laney, I'm just going to look for the file on disk09:49
larsubut at least I got to listen to some phoenix because of this09:49
Laneyhaha09:49
Laneyoh man :'(09:49
Laneythis is one of those laney times09:49
larsuseb128: look into everywhere that's in $XDG_DATA_DIRS09:50
larsuactually that seems wrong09:50
larsuthat var doesn't contain my .local/share09:50
larsubut dbus definitely activates stuff for me from there09:50
larsuoh! that's a defined fallback09:51
larsuneat09:51
seb128larsu, no, just for /etc/dbus-1/system.d/com.canonical.SystemImage.conf10:02
seb128it's basically a "is that package installed"10:02
seb128or /usr/share/dbus-1/system-services/com.canonical.SystemImage.service10:02
seb128Laney, the way you did it for battery seems to be from the battery plugin ... does it mean we have to load the backend on the main view only to get the dynamic visibility?10:05
Laneyseb128: it's a different "plugin"10:08
Laneysee plugins/battery/plugin - this isn't the full panel10:08
Laney(great naming)10:08
seb128Laney, so I would need to do a different "plugin" for system-updates only to deal with the visibility?10:08
seb128I wonder if it wouldn't be easier to just special case that in the visibility main function10:09
Laneyyeah, it's quite minimal though10:09
Laney...10:09
seb128was that a "..." = "no comment", like in reaction to "lets do a hack"?10:10
Laneyindeed10:11
Laneyyou could convince kenvandine though and ignore me ;-)10:11
seb128well, I don't think it makes sense to have plugins added for each panel just to tweak the visiblity10:11
seb128need a better way ;-)10:11
seb128need to go for some erands/get food, biab, going to think about it while walking10:11
Laneythen come up with a better way10:12
Laneythe plugins should handle this themselves10:12
Laneyone way or another - for example you could add a new key into the .pluginfile10:12
LaneyVisibleIf : DbusActivatable:...10:12
LaneyFileExists: ...10:12
darkxstLaney, what happened to your gtk upload? anyway mutter and shell are queued up in proposed, so let it through whenever10:21
LaneyIt's in a CI train silo because I'm uploading it with the overlay scrollbars10:22
Laneywill go in shortly10:22
darkxstLaney, np, not concerned about delays really, was just letting you know shell was ready really10:25
Laneydarkxst: done10:48
Laneyenjoy your breakage!10:48
=== Laney changed the topic of #ubuntu-desktop to: Home of the Desktop Team, https://wiki.ubuntu.com/DesktopTeam | For help or questions, try #ubuntu | Breaking your systems: GTK 3.16 - file bugs with tag "gtk316"
darkxstLaney, pretty sure I avoided major breakage with the shell update, so should be ok10:50
LaneyI mean my breakage really :)10:50
darkxstLaney, ha ok11:08
Laneyit is too nice to be inside11:11
* Laney relocates11:11
* Laney goes blind in a good way11:13
* larsu had a nightmare about going blind11:13
willcookethis is a good plan Laney.  I think a lunch break is called for in the sunshine...11:14
Laneywoah you just reminded me11:14
willcookefood?11:14
LaneyI had one last night where I lost half of both of my ring fingers11:14
willcookeoh11:14
willcookeok then11:14
* willcooke backs slowly away11:14
Laneywas obviously most concerned about not being able to climb11:14
willcookeor type11:14
Laneygood nightmare would have again11:14
larsuobviously11:15
larsuhaha11:15
larsuwillcooke: went for a run in the sun. Can recommend. Now eating a carrot instead of lunch11:15
larsunotsurehowthathappenend11:15
willcooke:D11:17
Laneylarsu: do you have a version of your totem menubar patch on top of 3.14?11:45
larsuLaney: nope. Want one?11:46
Laneywould be good11:46
Laneyit's got some conflicts11:46
larsuwhy not just take 3.16?11:46
Laneyneed that to SRU it11:47
darkxstor my original 3.14 patches?11:47
Laneyit's a fix to those11:47
darkxstoh ok11:48
larsuLaney: fixing some food right now, but will do it right after11:48
Laneydarkxst: https://bugs.launchpad.net/ubuntu/+source/totem/+bug/144722411:49
ubot5Launchpad bug 1447224 in totem (Ubuntu) "Regression: Unable to select audio or subtitle tracks" [High,Confirmed]11:49
Laneylarsu: actually it might be easy to resolve them, let me try11:50
darkxstLaney, I can't track every single bug in the ubuntu sphere11:55
LaneyI didn't ask you to11:57
Laneywe were just fixing it11:57
darkxstok12:01
=== alan_g is now known as alan_g|lunch
larsuLaney: let me know if you need help12:11
Laneysure, test building atm12:12
* darkxst needs to sleep. night all12:14
Laneynn12:15
larsunight12:15
=== rickspencer3_ is now known as rickspencer3
kenvandineseb128, Laney: i like the idea of extending the plugin settings file, VisibleIf could be very useful12:56
Laneywould be good to abstract some common patterns if they might be used more in future12:57
Laneylike if we expect applications to plug in there12:57
=== maxb_ is now known as maxb
=== alan_g|lunch is now known as alan_g
Laneylarsu: so my backport doesn't work13:34
Laneyalso if I run from master on that Sintel video I don't get any languages in the menu13:34
Laneyand because the app menu is gone it's not possible to change languages in full screen13:34
larsuLaney: yes, I have plans for that, but gotta run now (will look at it later)13:34
Laneyok thanks!13:35
Laneysubtitles do work on master & trad menu though13:35
Laneyah wait, maybe it's just that this video doesn't have any languages13:36
Laneyin that case it might be an idea to disable the menu item or otherwise indicate that13:36
Laneycurrently just shows an empty menu (i.e. a line)13:36
maxbHi. I'm using gitg in vivid, and I can't seem to find its preferences dialog. I'm suspicious it's something to do with the ubuntu menuproxy stuff, but setting UBUNTU_MENUPROXY=0 doesn't seem to fix things.13:50
maxbAre there any related suggestions about troubleshooting inaccessible menus that are configured in an application's vala code via Gtk.Applicationn.add_action_entries ?13:50
maxbSomething to do with 'application' vs. 'window' menus, and these not being well translated into Unity?13:51
Laneymaxb: Weird!14:11
maxbyes14:12
LaneyIt breaks for me with in-app menus  but works without although it is called "Unknown Application Name" then14:12
maxbHmm, so running 'UBUNTU_MENUPROXY=0 gitg' actually gives you a visibly different display, then?14:12
Laneyno14:12
maxbph14:12
LaneyI go to Appearance in the control centre and then Behaviour14:12
Laneyand change it to In the menu bar14:13
* maxb tries that14:13
Laneythen it's back in the global menu and works14:13
LaneyI guess it's LIM being broken with header bars14:13
maxbwait, what, now it's working14:13
maxbish14:14
maxbMy setting was already 'in the menu bar'14:14
maxbHowever, this time I actually git some entries dropping down from the 'gitg' menu14:14
maxbI was getting a zero-item menu before14:15
LaneyIf you can reproduce then T_revinho is the Unity guy to talk to14:15
maxbThough, now I seem to have a different bug, as as soon as I clicked on a checkbox, it went into a tight-loop logging Gtk-CRITICAL **: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed14:15
maxbAh14:16
maxbI've figured out one portion of the confusion. I was using sudo to run gitg on /etc14:17
maxbIn retrospect it is 'obvious' how that could break the integration14:17
* maxb will pause, reconsider, and attempt to isolate one underlying issue at a time14:17
maxb(I also have an issue that I can't seem to rebuild vivid's gitg source package on vivid, with build-depends installed - it dies with error: Package `ggit-1.0' not found in specified Vala API directories or GObject-Introspection GIR directories )14:19
seb128kenvandine, Laney, what do you think about http://paste.ubuntu.com/11566702/ ?14:34
kenvandineseb128, pretty good14:35
kenvandinei'd kind of like it to handle cases of than file14:36
seb128other than file you mean?14:36
kenvandinelike gsettings key?14:36
kenvandineyeah14:36
kenvandineso visible-if-file-exits14:36
kenvandinevisible-if-settings-key14:37
kenvandineetc14:37
seb128k14:37
seb128I can rename it14:37
kenvandinejust a though14:37
kenvandinethought14:37
kenvandinei'd imagine we might find other cases like that, so yeah renaming it would be more concise14:37
kenvandineunless we made it a dict14:37
kenvandinevisible-if-cond ?14:38
kenvandinethen file: "some/path/to/file"14:38
kenvandinevisible-if-condition maybe14:38
seb128I'm still undecided if we should have keys14:38
kenvandineor just visible-if14:39
seb128we currently have a "has-dynamic-visibility: boolean value, telling whether the plugin visibility can be determined by the plugin itself only "14:39
kenvandineyeah, i don't love that14:39
kenvandineit means the plugin has to load before deciding14:39
seb128right14:39
kenvandinewhich caused a ton of headache making it faster14:39
seb128also it means UI builds and then change/flickers14:39
kenvandineyeah14:39
kenvandinei spent a bunch of time on that in DC14:40
seb128should I just submit with the rename?14:40
seb128I don't want to spend much time on that now14:40
seb128just unblock the snappy image14:40
kenvandinewhat do you think of the idea of a dict?14:40
seb128extra parsing to do14:40
kenvandineok14:40
kenvandinejust submit with the rename :)14:41
seb128thanks14:41
seb128we can rename/change it later for a dict or shell commands return value or something14:41
kenvandineok14:41
cyphermoxseb128: can we talk about bluez 5 ?14:47
seb128cyphermox, sure14:47
cyphermoxhave you heard anything / plans to move to it this cycle finally?14:47
cyphermoxI'm just asking out of interest :)14:47
seb128cyphermox, not more than previous cycle14:53
seb128check with rsalveti I guess14:53
cyphermoxok14:53
seb128the phone guys were still looking at it before vivid14:53
cyphermoxthanks14:53
seb128yw!14:53
cyphermoxyeah.. sad that it takes so long to get back to 201514:54
cyphermoxsoon we'll be at the point where more people are going to complain that their dynamically pairing mice don't work well, and stuff like that. or want BLE14:54
rsalveticyphermox: there is ongoing conversations to get this on track quite soon actually14:55
cyphermoxok14:55
rsalvetiwe found out we have aosp based trees with the required kernel work already14:55
seb128kenvandine, https://code.launchpad.net/~seb128/ubuntu-system-settings/visible-file-exists/+merge/26109614:55
rsalvetithe main blocker atm is porting the patches for krillin14:55
rsalvetibut we might have a 3.10 kernel for krillin soon14:55
rsalvetiwhich would help quite a bit14:55
cyphermoxok14:55
rsalveticyphermox: ping john-mcaleely if you want to know more, he was on top of it14:56
rsalveti(or should be soon)14:56
* rsalveti is mostly involved with snappy atm14:56
cyphermoxrsalveti: thanks, that's really all I wanted to know14:56
rsalveticool14:56
=== alan_g is now known as alan_g|EOD
willcookeg'night18:09
=== daniel__ is now known as DS-McGuire

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