[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session

Nicolas Fella bugzilla_noreply at kde.org
Tue May 21 21:01:02 BST 2024


https://bugs.kde.org/show_bug.cgi?id=479406

Nicolas Fella <nicolas.fella at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/kcolorchooser/-/commit |hics/kcolorchooser/-/commit
                   |/dace6c0d2b04b444b4e4a92045 |/7a03f1ccac935cb9c1a8e030a1
                   |0a7ed24b79cc30              |98d9267b0479f1

--- Comment #19 from Nicolas Fella <nicolas.fella at gmx.de> ---
Git commit 7a03f1ccac935cb9c1a8e030a198d9267b0479f1 by Nicolas Fella, on behalf
of Thomas Weißschuh.
Committed on 21/05/2024 at 20:00.
Pushed by nicolasfella into branch 'release/24.05'.

Allow dbus processing in qt-base to enable color-picking via portal

qt-base uses dbus to query the desktop portal if color-picking is
supported, without explicitly waiting for the result.
kcolorchooser creates its QColorDialog before the response was processed
and therefore color picking via the portal is presumed to be
unavailable.

Give the eventloop the opportunity to process the event and only
afterwards create the QColorDialog.

See https://bugreports.qt.io/browse/QTBUG-120957
(cherry picked from commit dace6c0d2b04b444b4e4a920450a7ed24b79cc30)

M  +3    -0    kcolorchooser.cpp

https://invent.kde.org/graphics/kcolorchooser/-/commit/7a03f1ccac935cb9c1a8e030a198d9267b0479f1

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


More information about the Unassigned-bugs mailing list