Summary: | After upgrade to KDE 4.7 all tooltips in LibreOffice are black on black and illegible (theme regression) | ||
---|---|---|---|
Product: | [Plasma] Oxygen | Reporter: | Robert Simmons <rsimmons0> |
Component: | gtk2-engine | Assignee: | Hugo Pereira Da Costa <hugo.pereira.da.costa> |
Status: | CLOSED DOWNSTREAM | ||
Severity: | normal | CC: | b7.10110111, hugo.pereira.da.costa, russianneuromancer, web |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Notice the black tooltip right in the center |
From the screenshot it's not possible to say but i guess compositing has no impact on this, but it's more a widget style proxy issue (OOo paints hardcoded textcolors on styled backgrounds, borrowed gtk+ disease...) and Hugo probably was mad ;-) enough to choose a non bright background for the tooltip background - looks like window text... re-assigning, pass back if this happens only with compositing. It happens with or without compositing. Its likely a problem with libreoffice and color scheme. 1/ new oxygen color scheme uses black background and white foreground for tooltips. 2/ libreoffice does not use the right foreground color (gets the default one: black). - could you try use a different (non oxygen) colorscheme and see if that fixes the issue - try play (in the "advanced" color settings) with the tooltip foreground color and see whether libreoffice updates accordingly - confirm that you are using oxygen-gtk as a style for libreoffice (and not the Qt wrapper) Thx Hugo The only color scheme available is "LibreOffice." As long as I am looking in the right place: Tools (menu) > Options > LibreOffice > Appearance > Color Scheme > Scheme Also, in trying to change the tooltip theme, I have exposed another bug that causes systemsettings to crash any time the tooltip theme is changed. :( I've reported that one here: https://bugs.kde.org/show_bug.cgi?id=279342 I should join the testing team for KDE, because if there is a bug, I will run headlong into it. I was talking about "kde" colorscheme systemsettings->Application Appearance->Colors. As for the other bug, well, apparently is a Plasma related theme, and should be fixed, in more recent version of KDE. (should be 4.7.1) Ok, when I change the color scheme there to honeycomb, the background color changes to gold with black text and it legible. Also, I noticed that with the scheme set to oxygen, the tooltips within Libre are black on black, but if you hover over "Minimize", "Maximize", "Close" the tooltips are white text on black background. But, with it set to honeycomb, all the tooltips are black text on gold background. The style of the tooltip is slightly different, however. The ones inside Libre have squared corners and the others have rounded corners. So, I think that changing the KDE color scheme is a good workaround for now, until the oxygen tooltips are fixed. The fact that the tooltips are square is a limitation imposed by lire-office. As for the original bug, it is due to the fact that the wrong tooltip foreground color is used. Likely a lire-office bug. Best way to confirm would be to compile oxygen-gtk in debug mode (see readme) and post the output when showing tooltip. Forgot to mention: I cannot reproduce. So: 1/ which version of LibreOffice are you using (I use 3.3.2) 2/ which version of oxygen-gtk (I have trunk but also works with 1.1.1) 3/ make sure you don't have some "gtkrc" file that would mess-up oxygen-gtk (you can check $HOME/.gtkrc-2.0, $HOME/.gtkrc-2.0-kde $HOME/.kde/share/config/gtkrc*) It is recommanded to remove all color settings in any of the files above, since oxygen-gtk should be able to deal with colors by itself. http://i.imgur.com/xLbeD.png is a screenshot of my nice-looking libreoffice tooltips I am using LibreOffice 3.3.2 and gtk2-engines-oxygen 1.0.3. Both are from Ubuntu's main package repository. There are no color settings in the gtkrc file. I am using Kubuntu 11.04, but I will install the development branch which has gtk2-engines-oxygen version 1.1.0. And when I have time this weekend I will recompile gtk-oxygen in debug mode and post the output. *** Bug 281058 has been marked as a duplicate of this bug. *** As said above, I'm unable to reproduce. People are encouraged to - report whether they are using the Gtk or the Qt interface of libreoffice - make sure they use the oxygen-gtk engine - use a recent enough version of oxygen-gtk - possibly change color scheme. It's a bug in libreoffice... Switch back to old color scheme and it will work... And report bug to Libreoffice/Qt devs. so closing as downstream. (to be more precise: I think it is a bug in libreoffice's Qt interface) |
Created attachment 62490 [details] Notice the black tooltip right in the center Version: unspecified (using KDE 4.7.0) OS: Linux I upgraded to KDE 4.7 and after the upgrade all the tooltips in LibreOffice are suddenly black text on a black background. Reproducible: Always Steps to Reproduce: 1) Install Libre Office and KDE 4.7.0 2) Open a LibreOffice document. 3) Hover over anything to make a tooltip appear. Actual Results: Black text on black background tooltips. Expected Results: Black text on blue background like the rest of the tooltips. I am using the following versions: Kubuntu 11.04 Libre Office 3.3.2 KDE 4.7.0