themix-project / oomox-gtk-theme

Oomox-gtk-theme is a fork of Numix-gtk-theme with slightly different visual design choices and more customization capabilities. It can be used in Themix/Oomox app.
https://github.com/themix-project/oomox
GNU General Public License v3.0
46 stars 8 forks source link

LibreOffice text highlight color wrong #71

Open geckolinux opened 4 years ago

geckolinux commented 4 years ago

Hi there, I just created a theme with oomox based on Numix, very happy with it except for one problem: In LibreOffice 7.0 beta2 (current version in openSUSE Tumbleweed) the color of highlighted text in Writer and selected cells in Calc is wrong. It is a grey color (#EBEBEB) whereas it should be a pinkish orange color. This problem does not exist with standard Numix. There's also an error when launching libreoffice from the terminal, not sure if that has anything to do with it:

(soffice:4070): Gtk-WARNING **: 14:24:26.863: Theme parsing error: gtk.css:87:51: Invalid name of pseudo-class

Thanks in advance for the help!

oomox: Screenshot at 2020-07-13 14-32-25

Numix: Screenshot at 2020-07-13 14-32-51

geckolinux commented 4 years ago

Thanks @actionless for adding the labels. Do you need any other information from me to make it easier to find the CSS?

I'm attaching the gtk-3.20/dist/gtk.css file if that helps any.

Also I found that I can run the GTK debugger like this: env GTK_THEME=oomox-mine GTK_DEBUG=interactive libreoffice I couldn't find any useful CSS elements with it, but it might just be because I don't know how to use it.

actionless commented 4 years ago

no, thanks, i'm not going to fix this since it's not reproducible in gtk widget factory and so

i just let it open in case if someone would volunteer

geckolinux commented 4 years ago

I'm still trying to debug this. This is a fairly major issue, because that same highlight color also is used in LibreOffice for highlighting search results, which need to "pop" and be very visible from the rest of the gray text. But with the gray highlight color it's very hard to see the search results.

So apparently it is pulling the LibreOffice highlight color from the "Textbox Background" color:

Screenshot at 2020-07-15 07-55-26

Screenshot at 2020-07-15 08-00-10

This issue does not exist when changing it to an Arc based theme, but I don't like the way the Arc widgets look at all.

geckolinux commented 4 years ago

since it's not reproducible in gtk widget factory

Hi @actionless , I'm sorry, I didn't understand this part? Do you mean that the color is correct in LibreOffice for you?

actionless commented 4 years ago

no, i am talking about https://developer.gnome.org/gtk3/stable/gtk3-widget-factory.html