https://bugs.documentfoundation.org/show_bug.cgi?id=170085

            Bug ID: 170085
           Summary: Tree view uses different characters on dark and light
                    mode on Windows
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to