Open GiedriusS opened 8 years ago
Workaround:
gsettings set org.mate.peripherals-keyboard-xkb.indicator foreground-color '0 0 0'
This will set the font to be always black. If you don't plan changing theme to dark this should be ok :smile:
nice finder, in a ideal world it should read theme fg color, but a gsettings key is sufficient :)
Yes, it might be. I've already seen it before but didn't like the "hack" word... but we can try it since there's no other fix around...
Nice, it's indeed fixed now, thanks @XRevan86 :smile: The font has a bit weird rendering (somewhat blurred), but the color is correct for both light and dark themes.
So I saw this fixed in Debian Testing with GTK+ 3.20, but now I see it in Ubuntu MATE 16.10 with GTK+ 3.18... tried Menta, TraditionalGreen and other themes, the font is still white. :confused:
@flexiondotorg: can you reproduce this in Ubuntu 16.10?
@flexiondotorg: I see it now in Ubuntu 16.10 - only with Radiant-MATE though. Seems to be fixed in other themes, at least for 3.20.
This bug still exists for me in mate-1.16 built on gentoo.
As a work around for this annoying issue, I can suggest the following remedy:
edit foreground-color
in org->mate->desktop->peripherals->keyboard->indicator
.
Change it to 0 0 0
.
Which theme do you use?
This happened with GTK+3.18 and GTK+3.20, with the following themes:
Menta, TraditionalGreen, TraditionalOK, GreenSubmarine, BlueMenta and Adwaita.
This happened with GTK+3.18 and GTK+3.20, with the following themes:
Menta, TraditionalGreen, TraditionalOK, GreenSubmarine, BlueMenta and Adwaita.
Not here in fedora with gtk+-3.20/22, Changing to a theme with another bg color for the panel change the font color like it should.
Using latest mate-themes is the key. Here I have GTK+ 3.18.9, and I use the latest 3.18 themes, and I don't see this issue.
Btw, issue is still present in Ubuntu 16.04 LTS, because it uses GTK+ 3.18. Had to use this workaround with `foreground-color'
If you use the default MATE packages in 16.04, then it's GTK+2 build. I'm not sure we'll be able to fix this for GTK+2.
No, I'm using mate 1.18 ppa
Ok, then a theme fix is needed.
No, I'm using mate 1.18 ppa
And which theme are you using? I fixed that for Mate-Radiant theme https://github.com/flexiondotorg/ubuntu-mate-themes/commit/61217fea9b1ac963eadf953226254deb25376a16 If you use another theme you need to add something like this
/* needed for keyboard layout indicator applet */
.mate-panel-menu-bar {
color: @theme_fg_color;
}
Note, .mate-panel-menu-bar is the main style class for the panel.
I use Radiance (as it stated through Appearance Preferences), I guess Mate-Radiant is the other name for that. How can I make use of your fix @raveit65 ?
No, Mate-Radiant is based on Radiance but adjusted for Mate. Create ~.config/gtk-3.0/gtk.css with that content.
/* needed for keyboard layout indicator applet */
.mate-panel-menu-bar {
color: @fg_color;
}
and reload session for restarting mate-settings-daemon. As you can see /usr/share/themes/Radiance/gtk-3.20/gtk-main.css use another color definition as Radiant-Mate.
@flexiondotorg: I can confirm Radiant-MATE still has this issue, not only in 16.04, but also in 16.10 and 17.04. I see @raveit65 fixed it, but I'm not sure if an SRU would be allowed for this change...
Happens with GTK+ 3.14 as well, but with a weird effect: the indicator has light green + white colors (with a gradient), at least in my VM. This looks quite funny with BlackMATE theme. :slightly_smiling_face:
Reopening, we need to get this fixed for any theme and any GTK+ version...
From my wrongly reported bug:
ubuntu-mate-desktop
mate-control-center
Appearance - for example darkroom:
1.18.4
Ubuntu 18.04 LTS
Issue filed to the launchpad as bug 1728711.
Reopening, we need to get this fixed for any theme and any GTK+ version...
Any one working on that? This is fixed in Mate themes an Ubuntu Mate themes. I see no reason to let a report open if no one is working on that.
I can't reproduce this bug on fedora 30 with libmatekbd 1.23 (master) with light theme:
Regards
Still can reproduce with any non-standard light theme (which do not have the fix from https://github.com/mate-desktop/libmatekbd/issues/28#issuecomment-297430508). MATE v1.24.1.
As seen in this screenshot https://i.imgur.com/VRBC772.jpg the indicator text that shows the current layout is white. And it is always white regardless of the theme being used. This happens only on gtk3 builds. @raveit65 also confirmed this. libmatekbd version: [*] libmatekbd-1.12.0_1 MATE keyboard library