Bug 511840 - wl-copy requires window focus to add anything to clipboard
Summary: wl-copy requires window focus to add anything to clipboard
Status: RESOLVED DUPLICATE of bug 509277
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.5.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-08 19:51 UTC by Claire
Modified: 2025-11-08 21:05 UTC (History)
3 users (show)

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


Attachments
Screencast of the bug (1.68 MB, video/mp4)
2025-11-08 19:57 UTC, Claire
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Claire 2025-11-08 19:51:26 UTC
SUMMARY
Copy/paste via wl-copy does not automatically add to clipboard. Instead, a wayland icon appears on the application panel and needs to be clicked to activate it.

STEPS TO REPRODUCE
1. Open terminal
2. wl-copy "test"
3. Click the wayland icon that appears on your application panel

OBSERVED RESULT
wl-copy does not get automatic focus

EXPECTED RESULT
The text/input is copied to the clipboard immediately.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.7-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X3D 8-Core Processor
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor: AMD Radeon RX 7800 XT

ADDITIONAL INFORMATION
I was able to fix this by going into my Window Management settings and setting Focus Stealing Prevention from "Medium" to "Low". However, I believe this should not be necessary; something like a clipboard util should surely be an exception and before a recent update this did not happen.
Comment 1 Claire 2025-11-08 19:57:49 UTC
Created attachment 186625 [details]
Screencast of the bug
Comment 2 TraceyC 2025-11-08 20:26:56 UTC
Confirmed on git-master
Comment 3 Zamundaaa 2025-11-08 21:05:19 UTC

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