https://bugs.kde.org/show_bug.cgi?id=512067
Bug ID: 512067
Summary: Clipboard portal can't copy from primary selection
Classification: Plasma
Product: xdg-desktop-portal-kde
Version First 6.5.1
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
When selecting text in KDE in a RemoteDesktop session with the Clipboard portal
enabled, the SelectionOwnerChanged signal is emitted. When requesting data from
one of the available mimetypes, instead of reading from the primary, it will
read from selection.
STEPS TO REPRODUCE
1. Copy text into selection (CTRL+C)
2. Copy text into primary (select text)
3. Read selection data (CTRL+V on client)
OBSERVED RESULT
The clipboard will read from selection, even when it seems like the primary
selection was the one that triggered the signal.
EXPECTED RESULT
Unfortunately, the protocol does not mention the primary selection. I would
expect primary to either not work (no signal emitted for primary), or for both
primary and selection to be affected when reading from / writing to the
clipboard.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 43
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
xdg-desktop-portal-kde-6.5.2-1 (+ patch
https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/b7f2107d0eb35d2b4cfccf9ffaa91437b88eff0a)
--
You are receiving this mail because:
You are watching all bug changes.