Bug 167074 - Format -> Theme - UI enhancement
Summary: Format -> Theme - UI enhancement
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-18 07:13 UTC by Parth Raiyani
Modified: 2025-06-19 20:56 UTC (History)
5 users (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 Parth Raiyani 2025-06-18 07:13:20 UTC
Description:
Convert theme dialog to IconView widget for enhancement as native GTK widget is better and it would also improve web-based libreoffice experience.

Steps to Reproduce:
1. Open any document
2. Go to Format
3. Click on Theme

Actual Results:
Theme dialog uses a ValueSet widget to display theme options.

Expected Results:
It will now use native IconView widget instead of ValueSet widget.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f221fa6d3022fcb51d23329828b306b4ffaa49a8
CPU threads: 16; OS: Linux 6.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 V Stuart Foote 2025-06-18 10:44:54 UTC
Would we loose the color swatch representation (Dark1, Light + 6 accents) for each Color Theme visible now in the dialog?

What would the new "native IconView widget" present if not the color swatches?
Comment 2 Tomaz Vajngerl 2025-06-18 12:55:21 UTC
(In reply to V Stuart Foote from comment #1)
> Would we loose the color swatch representation (Dark1, Light + 6 accents)
> for each Color Theme visible now in the dialog?
> 
> What would the new "native IconView widget" present if not the color
> swatches?

It would present the same color swatches, but using an GTK native IconView instead of ValueSet, which is a LO custom widget. Custom widgets have several issues when using welding (non-native look, HiDPI for example).

When using JS dialog, we need to send the bitmaps of the whole widget to the client (and listen to mouse events when clicking on the presented bitmap and send those back to the LO core) instead of individual color swatches. 

This is why we are working on converting usages of the ValueSets to IconView.