GtkEmojiChooser: Colour emoji in non-selected section label are invisible
TSIA really:
- if an
EmojiSection
has a colour emoji as its button label, that emoji can only be seen if that section is currently selected/active; - if it's not, said emoji is invisible - like the Smileys and Flags ones here (see this comment for how they should look)
Avoiding transparency fixes this, e.g. putting this in the Inspector:
.emoji-picker button label
{
opacity: 1;
}
so it looks like colour glyphs and opacity
don't interact well here at all. Any opacity
except 1
immediately disappears.
The stock CSS in _common.scss
is
label {
padding: 0;
opacity: 0.55;
}
&:hover label { opacity: 0.775; }
&:checked label { opacity: 1; }
However, this isn't a problem with all colour glyphs; for example, this properly makes the pickable emoji transparent, instead of making them disappear:
.emoji label
{
opacity: 0.5;
}
I'm on Debian unstable so may have various strange and horrible combinations of supporting libraries, but I can't see how any of them would cause this. However, I'm equally baffled by how no one else has reported it yet, so I'm wondering whether it occurs for anyone else.
This occurs with both libgtk-3-dev_3.22.29-2_amd64.deb
and my own fresh jhbuild
. It also occurs in GTK+ 4 when using the cairo renderer.