Bug 170085 - Tree view uses different characters on dark and light mode on Windows
Summary: Tree view uses different characters on dark and light mode on Windows
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Windows-Dark-Mode
  Show dependency treegraph
 
Reported: 2025-12-22 11:35 UTC by Hossein
Modified: 2025-12-22 15:27 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hossein 2025-12-22 11:35:42 UTC
Description:
When changing dark/light mode for LibreOffice, one may see different characters are used in tree view. Light mode uses +/- and dark mode uses >/v for the tree.

Steps to Reproduce:
1. Start LibreOffice
2. Change the theme to "Light" if LibreOffice is in dark mode, and vice versa a few times from "Tools > Options > LibreOffice Themes". Do not click "OK", but rather remain in the options to see the changes each time.

Actual Results:
Compare tree view in "Tools > Options". Light mode uses +/- and dark mode uses >/v for the tree. Change happens immediately, so it should be easy to see the difference in "Tools > Options" tree.

Expected Results:
Both dark and light mode should use similar characters. +/- seems to be a better choice compared to >/v


Reproducible: Always


User Profile Reset: No

Additional Info:
For a comparison, this demo win32 application is useful: (requires building with Visual Studio). Try different modes, and see the changes in the "Tree View" section:

Darkmodelib – Win32 Library for Dark Mode Support
https://github.com/ozone10/darkmodelib/

It uses this enum:
enum class TreeViewStyle : unsigned char
{
	classic,  ///< Non-themed legacy appearance.
	light,    ///< Light mode.
	dark      ///< Dark mode.
};

"classic" seems to be a better choice, as it uses +/- which is more readable. >/v is hard to see.

Version: 25.8.3.2 (X86_64)
Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e
CPU threads: 20; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 1 V Stuart Foote 2025-12-22 15:06:54 UTC
Confirmed.

Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 680(Build:0)
CPU threads: 28; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 2 V Stuart Foote 2025-12-22 15:27:53 UTC
May need to be carful here, some of the exposure buttons seem to be icons and not just single character glyphs. Same STR but look at the Sidebar Styles deck.