| Summary: | Color picker cannot copy to clipboard on Wayland | ||
|---|---|---|---|
| Product: | [Unmaintained] kdeplasma-addons | Reporter: | zerocostabstraction <david.vuckovic7> |
| Component: | Color Picker | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | akselmo, computerworm, daanturo, kde, kde, me, nate, o0wang, pavel23dob, postix |
| Priority: | NOR | Keywords: | wayland-only |
| Version First Reported In: | 5.25.0 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=415927 | ||
| Latest Commit: | Version Fixed/Implemented In: | 6.2.0 | |
| Sentry Crash Report: | |||
|
Description
zerocostabstraction
2022-06-18 11:26:11 UTC
The same thing happens to me. System specs: Operating System: Artix Linux KDE Plasma Version: 5.25.0 KDE Frameworks Version: 5.95.0 Qt Version: 5.15.4 Kernel Version: 5.17.15-hardened1-1-hardened (64-bit) Graphics Platform: Wayland Cannot reproduce; all of these things work for me on Wayland. (In reply to Nate Graham from comment #2) > Cannot reproduce; all of these things work for me on Wayland. Maybe relevant to say that i've followed the instructions on here: https://community.kde.org/Plasma/Debugging Running the application run org.kde.plasma.plasmoidname inside gdb plasmawindowed The Widget window that showed up worked like a charm. Any logs I can attach that might help tracking down the issue? (In reply to zerocostabstraction from comment #3) > (In reply to Nate Graham from comment #2) > > Cannot reproduce; all of these things work for me on Wayland. > > Maybe relevant to say that i've followed the instructions on here: > https://community.kde.org/Plasma/Debugging > > Running the application > > run org.kde.plasma.plasmoidname > > inside gdb plasmawindowed > > The Widget window that showed up worked like a charm. Any logs I can attach > that might help tracking down the issue? Sorry to be doing this, still not used to not having an edit button. If the widget is on the desktop, it also works. On the panel, it behaves as described above. I can duplicate this issue, however: - The color picker widget works just fine. - The KColorChooser doesn't work. Operating System: Fedora Linux 36 KDE Plasma Version: 5.25.2 KDE Frameworks Version: 5.94.0 Qt Version: 5.15.3 Kernel Version: 5.18.9-200.fc36.x86_64 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 3600 6-Core Processor Memory: 15,4 GiB of RAM Graphics Processor: AMD DIMGREY_CAVEFISH >On the panel, it behaves as described above.
Well identified.
The panel doesn't have keyboard focus, if the panel doesn't have keyboard focus wayland policies prevent it from modifying the clipboard.
A fast workaround would be to make the colour picker applet use SystemClipboard
For me on Wayland with current git master, the Color Picker widget is able to copy the color to the clipboard when it's on my Panel, or on my Desktop. I still experience this on KDE Plasma 6.1.4 on Fedora Linux 40 and it's quite annoying. Is it going to ever get fixed after 2 years? Is the widget on your panel, Pavel? I remain unable to reproduce the issue with the widget on a panel. (In reply to Nate Graham from comment #9) > Is the widget on your panel, Pavel? I remain unable to reproduce the issue > with the widget on a panel. I mainly have the widget on the desktop, don't really want it on my panel, but tried it with panel as well and had no success in both cases. With current git master, this is working as expected for me on both the panel and desktop. Let's call it fixed in Plasma 6.2. If anyone can still reproduce the issue after upgrading the Plasma 6.2 in two months, we can re-open this and investigate. I suspect the issuer will be traced to some Klipper setting, custom script, or 3rd-party thing. So for those still experiencing it, it would be useful also to try again in a new clean user account with no customization, other than adding a Color Picker widget to the desktop or panel. |