Bug 165129 - Adapt Windows VCL components on menus to look similar to standard Windows 11 UI components
Summary: Adapt Windows VCL components on menus to look similar to standard Windows 11 ...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
24.2.7.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Sahil Gautam (allotropia)
URL:
Whiteboard:
Keywords:
Depends on: 164656
Blocks: UI-Theming
  Show dependency treegraph
 
Reported: 2025-02-08 15:19 UTC by jan d
Modified: 2025-02-10 20:22 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Simulated Win 11 UI style menu (36.04 KB, image/jpeg)
2025-02-08 15:21 UTC, jan d
Details
Current menu vcl windows menu for comparison (30.12 KB, image/jpeg)
2025-02-08 15:22 UTC, jan d
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jan d 2025-02-08 15:19:48 UTC
Description:
The current VCL components combine elements from various versions of windows. This can make them appear as incoherent and "old" looking.

Steps to Reproduce:
Open any menu in the Libreoffice applications

Actual Results:
Menus have...
* a dark gray 1px border
* a strong dark shadow
* a divider line that starts where the lables start (not full width)
* hard corners
* a triangle submenu indicator

Expected Results:
* a lighter (#DFDFDF) 1px border
* Shadow: is generally very light. Fades for about 8px. Windows seems to use two overlayed shadows: one seems to give the menu an additional "outline" of 1 px, the other is the light/soft main shadow.
* dividing lines in menus are full width, 1px thick, #EAEAEA
* rounded corners (6px radius)
* Submenus indicated by chevrons (I think 1px thick, #7E7E7E)



Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.8.4.2 (X86_64) / LibreOffice Community
Build ID: bb3cfa12c7b1bf994ecc5649a80400d06cd71002
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded
Comment 1 jan d 2025-02-08 15:21:01 UTC
Created attachment 199072 [details]
Simulated Win 11 UI style menu
Comment 2 jan d 2025-02-08 15:22:21 UTC
Created attachment 199073 [details]
Current menu vcl windows menu for comparison
Comment 3 V Stuart Foote 2025-02-08 18:55:05 UTC
Seems like a Win WDM os/DE specific demand requiring a lot of dev effort refactoring to native Windows WinUI.

But can kind of agree it might be desirable. See also bug 164656, suggests potential for Qt/win32 libs to move us beyond WinXP era Luna widgets.
Comment 4 jan d 2025-02-08 19:02:45 UTC
> lot of dev effort refactoring to native Windows WinUI.

Does this mean we could not change how VCL currently draws components on windows (I assume it simulates the look)