Bug 164972 - Non-visible scrollbars in Options -> Appearance LO Theme handling of os/DE 'Light' color modes (Win)
Summary: Non-visible scrollbars in Options -> Appearance LO Theme handling of os/DE 'L...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
25.2.0.1 rc
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:25.8.0
Keywords:
: 165097 (view as bug list)
Depends on:
Blocks: UI-Theming LibreOffice-Themes
  Show dependency treegraph
 
Reported: 2025-01-31 14:07 UTC by V Stuart Foote
Modified: 2025-02-08 06:40 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Office 2003 Theme in Dark and Light variants (182.58 KB, image/png)
2025-02-04 10:39 UTC, Heiko Tietze
Details
Light Application Color theme applied to WDM Win10 "Light color theme" scroll bars not visible (265.14 KB, image/png)
2025-02-04 13:43 UTC, V Stuart Foote
Details
Default 'Automatic' theme applied to WDM Win10 "Light color theme" scroll bars not visible (256.64 KB, image/png)
2025-02-04 13:43 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description V Stuart Foote 2025-01-31 14:07:13 UTC
The Options -> Appearance framework does not currently assign usable colors to the Scroll bar widgets when os/DE 'System' are a 'Light' color mode, nor when the appearance 'Light' radio button is selected.

os/DE in 'Dark' color mode, or the appearance 'Dark' radio button selection get usable color values. 

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7a9e303d0ffad7b83beccfe1918f962d2de04a37
CPU threads: 8; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 1 V Stuart Foote 2025-01-31 14:17:00 UTC
Placing WDM Win10 os/DE into 'Light color' mode, LibreOffice Tools -> Options -> Appearance radio button set either to 'System' or to 'Light' (with LO restart if needed) the resulting UI does not assign usable colors to the vertical or horizontal scroll bars.

The selection "thumb" is the same color white as the "scroll bar" and both are the same color as the "application" back ground--so appear invisible--but are present and fully functional otherwise.

Windows WDM only?

New as from comments on see also bug 164943
Comment 2 V Stuart Foote 2025-01-31 14:22:32 UTC
Affecting both the default 'Automatic' theme, and the 'Light Application Color' theme if applied, scroll bars are present but not discernable in the UI in 'Light' mode.
Comment 3 V Stuart Foote 2025-01-31 14:40:38 UTC
The 25.2.0rc1 build is likewise affected by invisible 'Light' mode scrollbars.

Just lacking the Theme 'Reset All' button and ability to review the colors assigned in the default 'Automatic' theme from the Customizations Items listbox as already implemented for 25.8


Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 4 Heiko Tietze 2025-02-04 10:39:33 UTC
Created attachment 198966 [details]
Office 2003 Theme in Dark and Light variants

Not sure what you mean. The colors seem correctly applied with latest master, at least.

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4cc35cf5d52b2e6f9458b27ea6b26a9ebd066af0
CPU threads: 4; OS: Windows 11 X86_64 (build 22000); UI render: Skia/Raster; VCL: win
Locale: en-US (en_DE); UI: en-US
Calc: threaded
Comment 5 V Stuart Foote 2025-02-04 13:43:02 UTC
Created attachment 198969 [details]
Light Application Color theme applied to WDM Win10 "Light color theme" scroll bars not visible

Yes the 'Office 2003 Blue' Appearance theme shows just fine. Issue is with default 'Automatic' or with 'Light Application Color' theme in 'System' or 'Light' RB mode applied.

Somehow they are ending up with no contrast to the scroll bar fg/bg pair with the bg the same color as the Application color.

=-testing-=
Win10 with os/DE WDM 'Light' color theme selected
Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7a9e303d0ffad7b83beccfe1918f962d2de04a37
CPU threads: 8; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 6 V Stuart Foote 2025-02-04 13:43:54 UTC
Created attachment 198970 [details]
Default 'Automatic'  theme applied to WDM Win10 "Light color theme" scroll bars not visible
Comment 7 V Stuart Foote 2025-02-04 13:57:35 UTC
(In reply to V Stuart Foote from comment #5)

Also note the lack of the Page border for the 'Automatic' mode after a theme "Reset All", but at least that is present with the 'Light Application Color' theme applied.

The Page border for Automatic theme is present on the initial clean profile creation. Becomes invisible after a Reset All.
Comment 8 Sahil Gautam (allotropia) 2025-02-05 13:02:50 UTC
(In reply to V Stuart Foote from comment #7)
> (In reply to V Stuart Foote from comment #5)
> 
> Also note the lack of the Page border for the 'Automatic' mode after a theme
> "Reset All", but at least that is present with the 'Light Application Color'
> theme applied.
> 
> The Page border for Automatic theme is present on the initial clean profile
> creation. Becomes invisible after a Reset All.

Acknowledged. Would push a patch hopefully this week. I was busy with some things, sorry for the delayed response.
Comment 9 V Stuart Foote 2025-02-05 14:55:48 UTC
Just checked on Win11 WDM with Skia Vulkan and raster framed rendering--results in the same issues of non-visible scroll bars and the 'Reset All' effects on the page/app background borders.

2025-02-04 TB77 build
Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d60ea6596f7a394290f9a82ac5324e2e8307f5f9
CPU threads: 8; OS: Windows 11 X86_64 (build 22631); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 10 V Stuart Foote 2025-02-07 17:22:19 UTC
*** Bug 165097 has been marked as a duplicate of this bug. ***
Comment 11 Regina Henschel 2025-02-07 17:30:36 UTC
If you create an own new color scheme, then the scrollbar slider and the arrows are white on white background.

I have not found any item in the list, that will change the color of the slider and the arrows. In "Automatic" scheme they are dark gray on light gray background. As any change to an application color, e.g. section boundaries, needs an own color scheme now (bug 165112), the current state of the new feature is not usable.
Comment 12 Commit Notification 2025-02-08 06:40:42 UTC
Sahil Gautam committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/731a4876b72d9794d2a76f170d0338f799369d3f

tdf#164972 Fix white-on-white themed scrollbars on windows

It will be available in 25.8.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.