Description: When switching dark/light theme while running writer some parts of the UI don't switch colors, leading to very bad contrast. This is fixed by restarting. Steps to Reproduce: 1. Open writer when light theme is on 2. Switch to dark theme Actual Results: See the left part of the attached image Expected Results: See the right part of the attached image Reproducible: Always User Profile Reset: No Additional Info: Version: 7.1.8.1 / LibreOffice Community Build ID: 10(Build:1) CPU threads: 12; OS: Linux 5.16; UI render: default; VCL: gtk3 Locale: nl-NL (en_US.UTF-8); UI: en-US 7.1.8-5 Calc: threaded
Thank you for reporting the bug. It seems you're using an old version of LibreOffice. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version. Change to RESOLVED WORKSFORME, if the problem went away.
(In reply to TheStroyer from comment #0) > Actual Results: > See the left part of the attached image > > Expected Results: > See the right part of the attached image Please attach those images. Thank you.
Created attachment 178727 [details] Comparison between correct behavior (right) and wrong behavior (left)
A separate thing you can also notice from this picture is that part of the interface, like the font selector disappears. This happens when the window width is made too small. It is present in the >> button on the right. But way more of the interface could be present.
Just one additional question: Step 2 "Switch to dark theme" is: Tools -> Options -> Personalisation -> Preinstalled theme -> Dark Theme?
No, to switch to dark theme, I switch my gtk theme to a dark variant of the theme. This can be done with the following command: gsettings set org.gnome.desktop.interface gtk-theme Breeze-Dark A similar thing can be done to switch to light theme: gsettings set org.gnome.desktop.interface gtk-theme Breeze Note that you need to have the breeze theme installed for these commands to work. You can also replace them by Adwaita-dark and Adwaita respectively (capitalization matters).
Is it only the muffin/tabbed part of the UI? That's one of the major remaining users of non-native gtk widgets.
There are a couple of other places. When clicking on the dropdown button for font selection, it changes to the wrong color. Also the weird sidebar at the right also has some wrong colors. But the ribbon UI is indeed the worst offender. I've attached screenshots of the examples. Note that this time I was in dark mode and switched to light mode. So all the dark parts are wrong.
Created attachment 178868 [details] Font selection
Created attachment 178869 [details] Side bar
https://gerrit.libreoffice.org/c/core/+/133076 should at least fix comment #10 and the "speckles" that can be seen at the corner of the comboboxes in that image. Comment #9 however I can't reproduce and I'm not sure I'm looking at the right thing. "Default Paragraph Style" and "Clear formatting" looks a bit like the top of the style dropdown from the standard toolbar, but in 7.3 those entries are the other way around and don't have that wide bevel around them
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/37fb1cbf7bceac8421741dc55b89146a42a77a22 Related: tdf#147237 change the SalObject background when the settings change It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/7c313b2e41e013d33b3576960a688c319d584d9a Related: tdf#147237 change the SalObject background when the settings change It will be available in 7.3.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.