Bug 389935 - Kcolorchooser doesn't work in wayland
Summary: Kcolorchooser doesn't work in wayland
Status: RESOLVED DUPLICATE of bug 415927
Alias: None
Product: frameworks-kdelibs4support
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.91.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-06 02:06 UTC by Michael D
Modified: 2022-09-08 07:59 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael D 2018-02-06 02:06:03 UTC
kcolorchooser can't "pick screen color" in a wayland session.

Since I can't find any listing for kcolorchooser, I've posted this bug here, though I realize it may be the wrong place.
Comment 1 Kai Uwe Broulik 2018-02-06 10:13:32 UTC
KColorChooser just uses QColorDialog which provides this button that cannot and will not work on Wayland. Either Qt adopts KWin's proprietary color picking protocol (unlikely) that e.g. Plasma's color picker applet uses, or we provide our own color dialog through plasma-integration.
Comment 2 Michael D 2018-02-06 15:57:43 UTC
Thanks for the info. I hope someone is working on the more likely alternative.
Comment 3 Christoph Feck 2018-02-06 22:31:32 UTC
We still have "our" KColorDialog in kdelibs4support. Not sure if that works with Wayland, though. Reassigned there, in case it should.

(KColorEdit is a completely different application)
Comment 4 Kai Uwe Broulik 2018-02-06 22:43:30 UTC
One idea would be to resurrect it and put it in plasma-integration just as KFileDialog stuff is. This would also let us bring back the color pallettes (like 40 colors).
Comment 5 tromzy 2019-01-07 13:42:16 UTC
Can confirm, color picking would be nice to have on Wayland.
Comment 6 Bernie Innocenti 2022-02-20 01:51:57 UTC
Bug still present with KF 5.91.0... but is this dialog part of kdelibs4support or is it QColorDialog in Qt5?

Also, in Wayland you can send the color chooser dialog behind its parent window by clicking outside of it (leaving novice users wondering where the dialog went).
Comment 7 Bernie Innocenti 2022-02-20 02:13:28 UTC
Ok, this is just QColorDialog, and the color picker is still broken in Qt 6.2.3, as can be seen by running this example app:

    /usr/lib64/qt6/examples/widgets/dialogs/standarddialogs/standarddialogs)
Comment 8 Bernie Innocenti 2022-02-20 02:17:06 UTC
Upstream Qt bug: https://bugreports.qt.io/browse/QTBUG-81538
Closing as duplicate of bug #415927

*** This bug has been marked as a duplicate of bug 415927 ***
Comment 9 Zesko 2022-09-08 07:59:52 UTC
But another color picker app "kontrast" works fine in KDE Wayland. 
https://github.com/KDE/kontrast

Can you add some part of "kontrast" functions into Kcolorchooser?