Bug 494768 - Disabling middle-click "Pastes selected text" setting disables Emacs clipboard synchronization
Summary: Disabling middle-click "Pastes selected text" setting disables Emacs clipboar...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 6.2.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-14 19:28 UTC by Tomasz Hołubowicz
Modified: 2024-10-16 17:31 UTC (History)
1 user (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 Tomasz Hołubowicz 2024-10-14 19:28:27 UTC
SUMMARY
Disabling "Pastes selected text" for middle-click (almost) disables Emacs clipboard synchronization. 

STEPS TO REPRODUCE
1. Disable "Pastes selected text" setting and restart system.
2. Open Emacs and try to copy text with M-w (kill-ring-save) or C-w (kill-region). 
3. Try to paste text or open history popup.

OBSERVED RESULT
Nothing gets saved to system clipboard. Weirdly enough C-k (kill-line) or C-M-k (kill-sexp) still saves things to clipboard. 

EXPECTED RESULT
Copying and cutting text in Emacs works as usual.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.11.3-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 1 David Edmundson 2024-10-16 17:31:13 UTC
If emacs is using the primary buffer (middle click paste) buffer for storage, and we disable it there's nothing we can do at our level.

You can try reporting it to emacs.