Bug 167476 - The button selection for the border presets are 'invisible' in Dark-Mode
Summary: The button selection for the border presets are 'invisible' in Dark-Mode
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks:
 
Reported: 2025-07-12 12:16 UTC by Telesto
Modified: 2025-07-12 15:25 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (6.78 KB, image/jpeg)
2025-07-12 12:16 UTC, Telesto
Details
on 2025-07-12 nightly, Win11 in 'Dark' color sense. LO appearance theme not enabled. (60.98 KB, image/png)
2025-07-12 13:13 UTC, V Stuart Foote
Details
Screenshot (10.92 KB, image/jpeg)
2025-07-12 14:13 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2025-07-12 12:16:14 UTC
Description:
The borders in the border presets are 'invisible' in Dark-Mode

Steps to Reproduce:
1. Open Writer in 'Dark-Mode'
2. Format -> Page Style -> Borders Tab 

Actual Results:
The borders in can't be seen in the border presets

Expected Results:
You should be able to see the borders, instead of relying on the label. Compare Light-Mode


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: bd339e1937d12cf7f62276e537bca96e01ef8ae4
CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded
Comment 1 Telesto 2025-07-12 12:16:57 UTC
Created attachment 201765 [details]
Screenshot
Comment 2 Jussi Suominen 2025-07-12 12:51:15 UTC
Thank you for reporting the bug. I can confirm that the bug is present in the master build: 

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 10850b9ea91807c4f8464e42fee7f33b7c389a77
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: CL threaded

However I was unable to reproduce the bug in the stable build:

Version: 25.2.4.3 (X86_64) / LibreOffice Community
Build ID: 33e196637044ead23f5c3226cde09b47731f7e27
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win
Locale: fi-FI (fi_FI); UI: en-GB
Calc: CL threaded
Comment 3 V Stuart Foote 2025-07-12 13:13:01 UTC
Created attachment 201771 [details]
on 2025-07-12 nightly, Win11 in 'Dark' color sense. LO appearance theme not enabled.

Can't reproduce this either

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e38d4e8cf2b1a1b5c146acbe325d31f84da676b0
CPU threads: 28; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 4 V Stuart Foote 2025-07-12 13:17:13 UTC
Specific preset selected is not highlighted, but the actual borders applied are visible. In attachment 201771 [details] the 'All borders' button had been selected.

Is the issue that you can't identify the selected border preset? I see condition of attachment 201765 [details] when I've selected 'No borders' (the first preset button).
Comment 5 Telesto 2025-07-12 14:13:37 UTC
Created attachment 201772 [details]
Screenshot

The preset buttons itself show which borders will be activated. It's easy to see in Light Mode. Nearly impossible in Dark-Mode

So I'm not talking about the large preview after selecting preset.
Comment 6 V Stuart Foote 2025-07-12 15:23:37 UTC
(In reply to Telesto from comment #5)
> Created attachment 201772 [details]
> Screenshot
> 
> The preset buttons itself show which borders will be activated. It's easy to
> see in Light Mode. Nearly impossible in Dark-Mode
> 
> So I'm not talking about the large preview after selecting preset.

OK, so agree there is a UX design issue with the Line Arrangement 'Presets:' widgets. For bug 167279 an accessible event focus was recently tweaked.

With os/DE Automatic theme in a Dark sense, it is difficult to identify the preset button that has been selected. The selected button does get an outline border when selected, but very thin and in Dark sense almost invisible.

Not sure it can be done, but on the same Page Style panel the 'Shadow Style' gets a button outline. And when Tools -> Options -> Appearance 'Enable application theming' is checked enabled the button outline will respond to the application theme's Accent Color as set (rather than os/DE provided color).

So an enhancement might be to use the same button outline for the preset button with active selection. It might be a problem as the presets now trigger change in the border preview widget, don't think that feature should be dropped.
Comment 7 V Stuart Foote 2025-07-12 15:25:24 UTC
(In reply to V Stuart Foote from comment #6)

Should have noted that this is an existing UI issue, and was not caused in anyway by work on bug 167279