/srv/irclogs.ubuntu.com/2018/07/20/#ubuntu-desktop.txt

jbichafossfreedom: uploaded. I didn't see the bug until now00:52
jbichaI'm not completely gone. I just need to use more of my time to focus on other priorities these days00:54
jbichafeel free to ping or email if you want to get my attention00:57
didrocksgood morning06:07
tsimonq2Hey didrocks, how are you?06:12
oSoMoNgood morning desktoppers!06:13
tsimonq2Hey oSoMoN :)06:13
oSoMoNhey tsimonq2, hey didrocks06:13
didrockshey tsimonq2, good! yourself?06:14
didrockssalut oSoMoN06:14
didrockstu arrives à dormir? pas trop crevé ?06:14
tsimonq2didrocks: Pretty good :)06:16
oSoMoNdidrocks, pas assez, je suis fatigué, heureusement le week-end arrive06:19
oSoMoNje vais pouvoir faire des siestes \o/06:20
dufluMorning didrocks, tsimonq2, oSoMoN06:23
dufluet tout le monde06:23
tsimonq2Hey duflu :)06:23
dufluWell, Europe anyway06:23
oSoMoNhey duflu06:25
didrocksoSoMoN: bon courage :)06:28
didrockshey duflu06:28
didrockssmall patch of the morning: https://github.com/ubuntu/communitheme/pull/639/files06:28
gitlab-botubuntu issue (Pull request) 639 in communitheme "Install override file for ubuntu-dock style" (comments: 2) [Open]06:28
didrockspeople developping the theme were hacking away with a mix of the snap session and manually installed things in /usr :p06:29
didrocksso yeah, ofc, there are some leftovers when reshaping for them a proper build system06:29
dufluAlso good morning Africa06:37
=== pstolowski|afk is now known as pstolowski
TrevinhoMorning10:08
tsimonq2Heya Trevinho :)10:10
TrevinhoHi tsimonq210:11
dufluHi Trevinho10:14
dufluAnd good night, bon-weekend10:14
dokoTrevinho: fyi, mutter ftbfs on i38610:55
=== jhernandez_ is now known as jhernandez
=== pstolowski is now known as pstolowski|lunch
willcookeHappy Friday!12:26
didrockshey willcooke12:27
dokodidrocks: fyi, ubuntu-settings ftbfs12:44
didrocksdoko: I know, it's a meson regression12:45
didrocksdebugged, filed a bug upstream, tagged as a regression, will be fixed in the next release12:45
c-lobranohi all!12:47
=== pstolowski|lunch is now known as pstolowski
didrockshey c-lobrano12:47
c-lobranodidrocks: I'm working on 465, gnome-software ships with it's own gtk-style.css as gresource which seems loaded after ours, so that we cannot modify some properties12:48
c-lobranoeh, sorry hi didrocks! :D12:48
c-lobranois the above due to the mechanism we use to load css in snap?12:50
didrocksc-lobrano: nothing to be done with the loading mechanism, it's just that the css loaded by the app will always have priorities over the general theme one12:51
c-lobranodidrocks: I feared this :(12:52
didrocksc-lobrano: however, you can have an apps/ directory12:52
didrockslike we have /usr/share/themes/Radiance/gtk-3.20/apps/gnome-panel.css for instance12:52
didrocksI wonder if that would work with the snap, worth a try12:53
didrocksat worse, for testing, you can symlink12:53
c-lobranodidrocks: great, I can see if that work, thanks12:53
didrocksc-lobrano: keep me posted :)12:54
c-lobrano;)12:54
c-lobranodidrocks: I assume the filename is the same as software executable (i.e. gnome-software.css)13:09
didrocksc-lobrano: exactly13:11
c-lobranodidrocks: if this is the only requirement, it does not seem to work :(13:12
c-lobranoI mkdir apps in /usr/share/Communitheme/gtk-3.0 and copied the simplest css there13:12
didrocksc-lobrano: interesting, Trevinho would know maybe? ^13:13
didrocksc-lobrano: I assumed you tried /usr/share/*themes*/Communitheme…13:14
didrocks(and that it was just a typo?13:14
c-lobranodidrocks: yes, typo here, but right on the system :D13:14
didrocksok, let's see what Trevinho tells…13:15
c-lobranoalright (y)13:15
muktupavelsdidrocks, c-lobrano: what are you trying to do? GTK+ does not automatically load app specific css files.13:40
muktupavelsin Ambiance it is imported - https://bazaar.launchpad.net/~ubuntu-art-pkg/ubuntu-themes/trunk/view/head:/Ambiance/gtk-3.20/gtk-main.css#L6713:40
Trevinhomh let me see13:40
c-lobranomuktupavels: oh I see. I am not importing this css from the main one13:41
c-lobranomuktupavels: so is it just a css organization style (apps specific css)? Does not have any effect on gtk+?13:41
muktupavelsno it does not have any effect...13:42
muktupavelshttps://gitlab.gnome.org/GNOME/gnome-software/blob/master/src/gs-application.c#L27113:42
muktupavelsgnome-software loads it with app priority... so I think there is nothing you can do from theme.13:42
c-lobranomuktupavels: pity, so it is the same we do already with _apps.scss. Does that mean that g-s gtk-style.css will always have priority over our css?13:42
muktupavelsyes.13:43
c-lobrano:(13:43
Trevinhoc-lobrano: so... you want to include some custom css for an app only, righ?13:43
Trevinhoso, yeah.., as muktupavels said, no way13:43
c-lobranoTrevinho: yes, we would :D13:43
c-lobranoI mean, I didn't expect this was g-s specific13:44
Trevinhoc-lobrano: there was some discussion at GUADEC also about theming, and some apps want just to be right.... So someone provide inside their codebase exception for theming13:44
TrevinhoI can't remember examples, but indeed there are13:44
Trevinhowhile forcing otherwise13:44
muktupavelsMaybe gnome-software can load it as fallback? Not sure it that will work correctly...13:44
muktupavelshttps://developer.gnome.org/gtk3/stable/GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-FALLBACK:CAPS13:45
c-lobranoTrevinho, muktupavels: it is weird though. The same icon is blue under adwaita and orange in communitheme13:45
muktupavelswhat icon?13:46
c-lobranoinstalled apps have a circular badge13:47
c-lobranohttps://usercontent.irccloud-cdn.com/file/1o3vafvF/image.png13:47
muktupavelshttps://gitlab.gnome.org/GNOME/gnome-software/blob/master/src/gtk-style.css#L1313:47
muktupavelsit probably just recolors based on color!?13:47
c-lobranothe badge is an image with .installed-icon class13:47
didrocksc-lobrano: as muktupavels pointed out, do you set theme_selected_bg_color?13:48
c-lobranooh, yes we do13:49
c-lobranofound it now13:49
didrocksand so, it's not picked?13:49
muktupavelsWhy is that problem that Adwaita has blue and communitheme orange?13:50
c-lobranofor sure, adwaita set this theme_selected_bg_color to blue13:50
c-lobrano*sets13:50
c-lobranowe use our selection color, which is orange13:50
didrocksweird…13:51
didrocksI don't think we do any magic in Ambiance/Radiance, Trevinho ^13:51
=== maclin1 is now known as maclin
Trevinhoc-lobrano: as for including extra css files it should work, if you use the classic @import url...13:52
didrocksTrevinho: look at the discussion above with gnome-software color13:52
c-lobranoTrevinho: yes, that is working indeed13:52
didrockssounds like it's picking from theme_selected_bg_color13:52
Trevinhodidrocks: yeah, that message was sent while i got disconnected :-D13:52
Trevinhoso the delay13:53
Trevinhoanyway...13:53
didrocksTrevinho: ahah ;)13:53
c-lobranothe problem is that g-s is using a very generic color :D13:53
c-lobrano;)13:53
c-lobranonot sure I can change that without affecting other elements, but this is a different problem13:53
Trevinhothose colors are set in ambiance of course... But yeah, they can be for many things13:53
c-lobranoI assume that changing this define before setting the property and then change it back again, would not work, right? :D13:54
Trevinhoeh, nope13:54
* c-lobrano already is thinking some dirty tricks13:54
c-lobrano:)13:54
muktupavelsoh, does gtk support !important?13:55
Trevinhoc-lobrano: it's probably better to ask upstream to make possible this theming13:55
muktupavelsif so then it might work..13:55
muktupavels.installed-icon { color: red !important; }13:55
c-lobranomuktupavels: not sure, g-s complains when I tried13:55
didrocksTrevinho: but, it is overridable13:55
didrockslook at https://gitlab.gnome.org/GNOME/gnome-software/blob/master/src/gtk-style.css#L1313:56
didrocksso, it should pick theme_selected_bg_color13:56
didrocksand c-lobrano told that it was set to orange13:56
didrockswhich isn't what he sees from what I understand?13:56
Trevinhoyes, so should happen13:56
c-lobranodidrocks: yes it is orange13:56
didrocksahhhh13:56
c-lobranoit's working as expected13:56
didrocksso, all good? I'm unsure13:56
didrocksabout your question :p13:56
didrocksyou mentioned about blueish marks13:56
c-lobrano:D, since it is more an "indication" than a selection, we didn't want it orange13:57
didrocksahhhh13:57
c-lobranoyes, sorry, I was talking about adwaita13:57
Trevinhoambiance define all the colors I guess, so these should be redefined by all the themes in general13:57
didrocks!important isn't supported in the Shell, I don't know for gtk13:57
ubot5didrocks: I am only a bot, please don't think I'm intelligent :)13:57
Trevinhoshell has different code for css parsing13:57
Trevinhowell using same low-level library, but then different13:58
didrocksyep, that's not what I was asking for :)13:58
didrocksjust if GTK has !important support ;)13:58
Trevinhohas...13:58
didrocksok, so I think c-lobrano can override it then, if desired, unsure about the fact to not use the theme color as other apps13:59
muktupavelsgtk inspector does not like !important...13:59
c-lobranowhen I use !important, g-s complains "junk at the end of colors"13:59
Trevinhoat least, in the source code is ised in various places like when loading symbolic svgs...13:59
c-lobrano*junk at the end of value for color13:59
didrocksc-lobrano: yeah, forget about the Shell, you are in a GTK use case here anyway and we know it doesn't support it14:00
c-lobranomuktupavels: gtkinspector can do the trick, because it's css is loaded even after g-s one :D14:00
didrocksah g-s -> gnome software, not the shell14:01
c-lobranooops, yes14:01
* didrocks got it now :)14:01
didrocksthat's why there was my previous remark :p14:01
c-lobranosorry for the misunderstanding14:01
c-lobrano:D14:01
didrockscould have been gnome session as well :p14:01
c-lobranoright14:01
didrocksannoying it doesn't like it :/14:02
* c-lobrano is removing this todo from the list14:02
didrocks"done" ECANTDO :)14:02
c-lobranobut Trevinho is right, I can ask upstream14:03
c-lobranoand then provide the fix upstream if I can :D14:03
muktupavelswell gnome-software could load extra css as fallback that has @define-color gs_installed_icon_color @theme_selected_bg_color and then in communitheme you could set your own color.14:03
c-lobranodidrocks: I like that label! ECANTDO14:03
Trevinhoyeah, that could be a good way to do it...14:03
didrocksc-lobrano: hehe, works in a lot of cases :)14:03
didrocksbut yeah muktupavels is right, unsure if they will want to extend it that way though…14:04
Trevinholike using a define color pointing as default to the current one14:04
Trevinhoallowing overriding14:04
* didrocks would like that being a gtk feature14:04
Trevinhoupstream should be fine on this14:04
Trevinhoeh... app devs maybe not :-D14:04
c-lobranobetter than mine, was using wontdo, which is way too personal ;)14:04
didrocksheh14:04
c-lobranoI can ask for !important14:04
didrocksor set_color($specific_color,$fallback_color)14:05
didrocksif first isn't set, fallback to second14:05
didrocksI guess that's what Trevinho was elluding to14:05
c-lobranoI see14:08
Trevinhoyeah, like a define... see what upstream prefers14:10
Trevinhoanyone has time for sponsoring my nautilus update?14:11
TrevinhoSeb appartently didn't had time this morning14:12
didrocksif it doesn't involve git-workflow discussion… :p14:12
Trevinhodidrocks: doesn't14:12
didrockscan have a look, cosmic?14:12
Trevinhodidrocks: see https://code.launchpad.net/~3v1n0/ubuntu/+source/nautilus/+git/nautilus there are MP for both cosmic and bionic14:13
Trevinhodidrocks: you've write access to salsa also?=14:13
didrocksTrevinho: I don't14:14
Trevinhoah branches are *-3-26-414:14
Trevinhoah ok14:14
didrockslinks to the MP?14:14
didrocksthat will be easier14:14
Trevinhohttps://code.launchpad.net/~3v1n0/ubuntu/+source/nautilus/+git/nautilus/+merge/35017014:14
Trevinhohttps://code.launchpad.net/~3v1n0/ubuntu/+source/nautilus/+git/nautilus/+merge/35017414:14
TrevinhoI didn't finalize the changelog + tag though, but I can do if you don't want to do it as the sponsor14:15
didrocksI can do it14:15
didrockshowever, I'll only do cosmic today14:15
didrocksbut the whole pristine-tar worflow sucks, we have to pull/push for MP with new version14:15
Trevinhoyep14:15
didrocksI wonder how much we are complicating ourself for no good reason (what's the point to have tarballs now with meson?)14:15
TrevinhoI've proposed pristine-tar + upstream/3.26.x branches to salsa too14:16
didrocksgreat! :)14:16
Trevinhono point.. also because gbp can build one quickly14:16
didrocksbut yeah, I think we should discuss about using upstream git only + packaging branch14:17
didrocksand a good versionning so that a cherry-pick is really a cherry-pick14:17
didrocksfood for thoughts :)14:17
didrocksRevert "Revert "files-view: Remove new empty folder name14:17
didrocks;)14:17
Trevinhoyeah... :D I wanted to revert it 10 times to make reviewing funnier14:18
didrocksheh, a diff in a diff in a diff generating a new diff could be fun14:19
didrocksTrevinho: hum, I can't pull upstream/3.26.x in upstream/latest14:21
didrocksthere are conflicts14:21
didrocksI was expected your branch to be descendant of it14:21
didrocks(and still use upstream/latest until we don't diverge on version between bionic and cosmic)14:22
Trevinhoah... well upstream/latest is not used here since in debian it points to .28 so I thought we should use that14:22
Trevinhothat 3.26.x is just debian salsa + this release14:23
Trevinhoupstream/latest.. not touched14:23
didrocksTrevinho: ah, yeah, you're right then. But you need gbp.conf to point to the new branch (see instructions)14:27
didrocksTrevinho: I wonder how your branch could have built then?14:27
Trevinhoisn't that already the case?14:27
TrevinhoI've `upstream-branch=upstream/3.26.x`14:27
didrocksah, so an update with this was already done14:28
didrocksok, but as gbp didn't download the branch…14:28
didrocksreally, there is something we are getting wrong with that whole workflow IMHO…14:28
Trevinhomnhmh, why it doesn't how can we make it point to it?14:28
didrocksTrevinho: so, changes look good, let me testbuild14:29
didrocksyeah, gbp should be smart enough for this IMHO14:29
Trevinholike after cloning, check the conf and see what's missing...14:29
didrocksright14:29
Trevinhobut overriding latest would have been worse here to have debian to work later14:32
didrocksagreed14:38
didrocksin that case, it's legit IMHO14:38
didrocksTrevinho: builds fine and works well to me, sponsoring cosmic :)14:38
* didrocks needs to remember to not use debcommit -r14:39
didrocksTrevinho: all done, and branches pushed14:41
Trevinhodidrocks: thanks14:41
didrocksthanks to you!14:41
didrockslet's see once it's in for nautilus14:41
didrockson bionic14:41
Trevinhoit's basically the same14:47
Trevinhogit diff ubuntu/master-3-26-4 on bionic will tell you :)14:47
sdezielCould someone tell me where to report a bug with gnome-calculator's snap?15:12
didrockskenvandine[m]: do we have somewhere dedicated for our snaps? ^15:17
sdezielhaving a way to pull the sources of said snap would be nice too :)15:19
didrockssdeziel: something to request the snapd team on the forum, I think there are already some threads on it15:25
sdezieldidrocks: OK, thanks15:28
=== pstolowski is now known as pstolowski|off
oSoMoNtime to call it a week17:16
oSoMoNhave a great week-end everyone17:17

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