Bug 455414 - Color chooser dialog doesn't work under Wayland
Summary: Color chooser dialog doesn't work under Wayland
Status: RESOLVED DUPLICATE of bug 415927
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_colors (show other bugs)
Version: 5.25.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-16 14:26 UTC by thebluequasar
Modified: 2022-06-16 21:00 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Color chooser not working under Wayland (399.85 KB, video/mp4)
2022-06-16 14:26 UTC, thebluequasar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thebluequasar 2022-06-16 14:26:16 UTC
Created attachment 149801 [details]
Color chooser not working under Wayland

SUMMARY
Color chooser dialog doesn't work under Wayland
It's also the same for KColorChooser  app, both:  1-cannot pick up any color, 2-can't detect the position of mouse cursor while outside its window. See the screen recording.

STEPS TO REPRODUCE
1.  Log in to a Plasma Wayland session, open system settings app and go to colors section under appearance sub-menu (Optionally, you can use KColorChooser app since they behave exactly the same in this regard)
2. Choose custom color in the accent color options, and try to pick up any color, preferably outside its own window
3. No color will be chosen based on where you've clicked, and the position of the mouse cursor  won't work when the mouse cursor isn't over the Color chooser dialog window (or KColorChooser main window).

OBSERVED RESULT
Color chooser dialog doesn't work under Wayland

EXPECTED RESULT
Color chooser dialog should work as it does under Xorg, picking up colors from anywhere on the screen

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon User – 5.25
KDE Plasma Version: 5.25
KDE Frameworks Version: 5.95
Qt Version: 5.15.4
Kernel: 5.13.0-51 generic (64bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
A screen recording is attached.
Comment 1 Yerrey Dev 2022-06-16 17:26:21 UTC
This is a "feature" of Wayland of itself I believe. To quote a smarter person "By design, Wayland doesn't allow clients to see the contents of another client". If that's the case here, the fix is not trivial.
Comment 2 Patrick Silva 2022-06-16 21:00:54 UTC

*** This bug has been marked as a duplicate of bug 415927 ***