Bug 415927 - Impossible to pick a screen color on Wayland
Summary: Impossible to pick a screen color on Wayland
Status: RESOLVED FIXED
Alias: None
Product: kcolorchooser
Classification: Applications
Component: general (show other bugs)
Version: 19.12
Platform: Arch Linux Linux
: HI normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL: https://bugreports.qt.io/browse/QTBUG...
Keywords: wayland
: 389935 419705 450082 453803 455414 455580 458832 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-01-06 13:09 UTC by Patrick Silva
Modified: 2023-10-03 20:33 UTC (History)
14 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 Patrick Silva 2020-01-06 13:09:31 UTC
STEPS TO REPRODUCE
1. open kcolorchooser on Wayland session
2. try to pick a screen color
3. 

OBSERVED RESULT
it's impossible to pick a screen color on Wayland

EXPECTED RESULT
we can pick a screen color on Wayland

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.65.0
Qt Version: 5.14.0
Comment 1 Christoph Feck 2020-01-20 12:35:45 UTC
Not sure if this can be addressed in QColorDialog. In Wayland, it is explicitely forbidden to read the screen contents. KWin offers an infrastructure for screenshot applications. I am not sure if the protocols used there use a standard that Qt could follow.

I suggest to report this to Qt developers (as a bug for QColorDialog).
Comment 2 Patrick Silva 2020-01-20 15:47:48 UTC
done
https://bugreports.qt.io/browse/QTBUG-81538
Comment 3 Patrick Silva 2020-04-06 11:27:38 UTC
*** Bug 419705 has been marked as a duplicate of this bug. ***
Comment 4 Bernie Innocenti 2022-02-20 02:17:06 UTC
*** Bug 389935 has been marked as a duplicate of this bug. ***
Comment 5 Paul Worrall 2022-03-25 09:39:35 UTC
*** Bug 450082 has been marked as a duplicate of this bug. ***
Comment 6 Patrick Silva 2022-05-15 17:28:13 UTC
*** Bug 453803 has been marked as a duplicate of this bug. ***
Comment 7 Patrick Silva 2022-06-16 21:00:54 UTC
*** Bug 455414 has been marked as a duplicate of this bug. ***
Comment 8 Paul Worrall 2022-06-21 12:52:19 UTC
The Colour Picker desktop widget works fine on Wayland, so are we sure it's valid to blame this on upstream?
Comment 9 Paul Worrall 2022-06-21 12:53:06 UTC
*** Bug 455580 has been marked as a duplicate of this bug. ***
Comment 10 Antonio Rojas 2022-09-07 09:50:32 UTC
*** Bug 458832 has been marked as a duplicate of this bug. ***
Comment 11 Zesko 2022-09-08 08:00:10 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?
Comment 12 Antonio Rojas 2022-09-08 08:49:17 UTC
Fixed now in the KDE Qt patch collection.