Bug 168442 - Use native widgets in update check dialog (weld)
Summary: Use native widgets in update check dialog (weld)
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-17 10:09 UTC by Michael Weghorn
Modified: 2025-09-17 10:14 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of the update check dialog with gtk4 VCL plugin on Linux (103.56 KB, image/png)
2025-09-17 10:09 UTC, Michael Weghorn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weghorn 2025-09-17 10:09:52 UTC
Created attachment 202853 [details]
Screenshot of the update check dialog with gtk4 VCL plugin on Linux

The update check dialog currently doesn't use the standard weld approach to support using native widgets from the UI toolkit. That means it's look/style doesn't match with the rest of the application, as can be seen e.g. with the gtk3 or gtk4 VCL plugins on Linux.

Steps to reproduce:

1) start Writer with SAL_USE_VCLPLUGIN=gtk3 or SAL_USE_VCLPLUGIN=gtk4 on Linux
2) start the update check dialog using "Tools" -> "Check for Updates"
3) look at the dialog

Actual result:

The dialog's look doesn't match the rest of the application as can e.g. be seen for gtk4 in the attached screenshot.

Expected result:

Styling/look of the dialog should match that of the rest of the UI.
Comment 1 Michael Weghorn 2025-09-17 10:12:26 UTC
The pending commits for tdf#104833 to set the mnemonic widgets also somewhat prepares for/should make it easier to eventually port the dialog to use the standard approach of a .ui file and the weld::Widget abstraction to support native widgets, see for example https://gerrit.libreoffice.org/c/core/+/191073 for code pointers and thoughts.
Comment 2 Michael Weghorn 2025-09-17 10:13:45 UTC
Version used:

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1f3cc565a32452ef52d66fef33c551dffff814c3
CPU threads: 32; OS: Linux 6.16; UI render: default; VCL: gtk4
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1f3cc565a32452ef52d66fef33c551dffff814c3
CPU threads: 32; OS: Linux 6.16; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded