Bug 152534 - Dark Mode on Windows 11 Active selections from the tabbed menu bar have light blue background which makes the white icon almost invisible
Summary: Dark Mode on Windows 11 Active selections from the tabbed menu bar have light...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha1+
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility
: 153511 (view as bug list)
Depends on:
Blocks: Notebookbar-Tabbed Windows-Dark-Mode
  Show dependency treegraph
 
Reported: 2022-12-15 22:23 UTC by Sebastiaan Veld
Modified: 2023-02-10 16:06 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Active selections from the tabbed menu bar have light blue backgrond which makes the white icon alsmost invisible (42.67 KB, image/png)
2022-12-15 22:23 UTC, Sebastiaan Veld
Details
Notepad++ workaroud (9.59 KB, image/png)
2023-02-08 14:32 UTC, dulven123
Details
Windows 10 for reference (32.23 KB, image/png)
2023-02-10 16:06 UTC, Caolán McNamara
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastiaan Veld 2022-12-15 22:23:35 UTC
Created attachment 184165 [details]
Active selections from the tabbed menu bar have light blue backgrond which makes the white icon alsmost invisible

Dark Mode on Windows 11 shows lightblue border for active items in the tabbed menu bar which makes icons and it's text almost invisible as those are mostly white itself.

The border collor of the active its (screenhot attached) maybe should have a dark fill with the collor of the tabbed menu bar itself (or slightly lighter). That what an active item has the light blueborder with a dark fill which makes the white icon better visible.
Comment 1 Sebastiaan Veld 2022-12-15 22:24:29 UTC
Version: 7.5.0.0.beta1 (X86_64) / LibreOffice Community
Build ID: 3aca23eec42e9d6fbe57071d7633ae1fc4bc5fcc
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: nl-NL
Calc: CL threaded
Comment 2 Stéphane Guillou (stragu) 2023-01-02 16:53:07 UTC
Can't reproduce with Windows 10 and default dark mode colours:

Version: 7.5.0.1 (X86_64) / LibreOffice Community
Build ID: 77cd3d7ad4445740a0c6cf977992dafd8ebad8df
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded
Comment 3 Sebastiaan Veld 2023-01-26 07:17:50 UTC
Same issue in 7.5.0.2.

Version: 7.5.0.2 (X86_64) / LibreOffice Community
Build ID: c0dd1bc3f1a385d110b88e26ece634da94921f58
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: nl-NL
Calc: CL threaded
Comment 4 Stéphane Guillou (stragu) 2023-01-30 12:15:17 UTC
Marking as new as I can see the same in Rizal's post: https://libreofficemaster.blogspot.com/2022/03/libreoffice-dark-mode-on-windows.html
Comment 5 dulven123 2023-02-08 14:27:06 UTC
It seems this is a bug in Windows 11. Notepad++ also faced this issue and they come with a workaround (the text and image underneath is automatically inverted upon selection):
issue: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10510
workaround: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/10685

I can confirm this bug is still present in the latest beta insider of Windows 11.
Comment 6 dulven123 2023-02-08 14:32:13 UTC
Created attachment 185222 [details]
Notepad++ workaroud
Comment 7 Stéphane Guillou (stragu) 2023-02-10 10:09:27 UTC
*** Bug 153511 has been marked as a duplicate of this bug. ***
Comment 8 Stéphane Guillou (stragu) 2023-02-10 10:26:02 UTC
(In reply to dulven123 from comment #5)
> It seems this is a bug in Windows 11. Notepad++ also faced this issue and
> they come with a workaround (the text and image underneath is automatically
> inverted upon selection):
> issue: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10510
> workaround: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/10685
> 
> I can confirm this bug is still present in the latest beta insider of
> Windows 11.

Caolán, what do you think? Not our bug? Can we do a similar workaround?
Comment 9 Caolán McNamara 2023-02-10 16:06:04 UTC
Created attachment 185297 [details]
Windows 10 for reference

Windows 10 looks ok AFAICS. Apparently my Windows box is not eligible for upgrade to Windows 11 so someone else will have to investigate if this is still a problem and what the solution might be.