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.
TheStroyer, can you still reproduce comment 9 in versions 7.4 or 7.5 ?
Created attachment 186619 [details] Bad (sidebar)
No, I cannot reproduce that bug. There are still some elements that don't switch properly. But at least in the default layout (no ribbons) most things seem to switch theme. I did experience the first time I tried switching that the icons didn't switch theme at all, making them invisible. But I cannot reproduce that the second time. The elements that don't switch are included in screenshots.
Created attachment 186620 [details] Good (sidebar)
Created attachment 186621 [details] Bad (completion) The completion is only readable in light mode (the text doesn't toggle color at all, be it dynamically or otherwise)
Created attachment 186622 [details] Good (completion)
Thank you for testing again, TheStroyer. I can't reproduce the Word Completion tooltips or the sidebar hamburger icon issues with: Version: 7.5.2.2 (X86_64) / LibreOffice Community Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded nor with 7.4.6. Regarding the tabbed interface issue, it should be fixed in 7.5.2. See bug 153541. If you can consistently reproduce the Word Completion tooltip and sidebar's hamburger icon issues in 7.5, please open new reports about each of them separately. Given that the main issues are resolved, please go ahead and close as fixed, Caolán.
Thank you for taking a look. The main issue is fixed indeed, so I'll close it.