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

            Bug ID: 167669
           Summary: Use native GTK and Qt color picker dialogs on Linux
           Product: LibreOffice
           Version: 25.8.0.0 alpha0+
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: UI
          Assignee: [email protected]
          Reporter: [email protected]

Currently, LibreOffice implements its own color picker dialog.

However, the GTK and Qt UI toolkits that are used on Linux provide native color
picker dialogs:

* GTK: GtkColorChooserDialog,
https://docs.gtk.org/gtk3/class.ColorChooserDialog.html
* Qt: QColorDialog, https://doc.qt.io/qt-6/qcolordialog.html

I suggest to switch to using these dialogs for the GTK and Qt based VCL plugins
on Linux.

Using these will provide better integration and a more uniform experience
across applications.
It also adds the ability to pick an existing color from any pixel on screen,
which the LO dialog doesn't support (and which would presumably require using
some desktop portal to get access).

Steps to reproduce:

1) start LO Writer with the gtk3 or qt6 VCL plugin on Linux
2) in the toolbar, click on the small arrow of the "Font color" toolbar item
3) click on the "Custom Color" button

Actual result: The custom LO color chooser dialog shows up. There is no way to
use a color picker to select an existing color from a pixel on screen.

Expected result: The native toolkit color chooser dialog should show up,
allowing to pick the color from a pixel on screen.

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

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8b60950947e8017b1f0b30538b6ef9a3bab51bee
CPU threads: 32; OS: Linux 6.12; UI render: default; VCL: kf5 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: CL threaded

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

Reply via email to