Bug 490232 - Cannot copy from XWayland to Wayland
Summary: Cannot copy from XWayland to Wayland
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 6.1.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-13 15:12 UTC by lucas_kde.org
Modified: 2024-10-24 03:46 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lucas_kde.org 2024-07-13 15:12:35 UTC
SUMMARY
Within an XWayland application, if I use `Ctrl + C` or some menu command for "copy text", I can paste that only within XWayland. Wayland applications never see that copied value. There I can only ever paste what I copied from a Wayland application.

Conversely, I can always copy in a Wayland application and paste to any XWayland application.

Applications copied from:
- Steam
- Discord
- Obisidan
- 010Editor
- IDA

Applications I expected to paste to/see the value:
- Klipper
- `qdbus6 org.kde.KWin /KWin org.kde.KWin.showDebugConsole`
- Firefox
- Wezterm

STEPS TO REPRODUCE
1. Open an XWayland application
2. Copy some text
3. Focus a Wayland application and paste

OBSERVED RESULT
Cannot copy from XWayland to Wayland

EXPECTED RESULT
Copy and paste should work from any application to any application.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: Version 6.7.2 (built against 6.7.1)

ADDITIONAL INFORMATION
Comment 1 cwo 2024-09-13 09:20:37 UTC
Might be related to bug 490577 although the direction there fails the other way
Comment 2 Vlad Zahorodnii 2024-09-24 08:44:43 UTC
It miiiight be related. Since that fix is going to be available in 6.2, can you please test whether the issue is still reproduce there when 6.2 is released? If it is, can you provide more details? The distro, does it happen randomly, or does it happen consistently, what actions are more likely to trigger the issue, etc
Comment 3 Bug Janitor Service 2024-10-09 03:47:23 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2024-10-24 03:46:57 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.