Bug 511352

Summary: Middle click is pasting despite being toggled off in settings
Product: [Plasma] kwin Reporter: anthonyjbarricelli
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 6.5.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description anthonyjbarricelli 2025-10-30 01:50:21 UTC
SUMMARY
Middle click seems to be pasting from the clipboard despite having the setting toggled off in "General Behavior."

STEPS TO REPRODUCE
1. Disable "Middle-click: Pastes selected text" in System Settings
2. Restart
3. Check if middle click is pasting
4. Restart until it starts pasting again

OBSERVED RESULT
Middle click pastes despite being disabled in settings

EXPECTED RESULT
Middle click does not paste

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 9800X3D 8-Core Processor
Memory: 64 GiB of RAM (60.5 GiB usable)
Graphics Processor 1: NVIDIA GeForce RTX 5090/PCIe/SSE2
Graphics Processor 2: NVIDIA GeForce RTX 5090/PCIe/SSE2


ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-10-30 16:58:28 UTC
Into which app?
Comment 2 anthonyjbarricelli 2025-10-30 17:23:04 UTC
(In reply to Nate Graham from comment #1)
> Into which app?

Are you asking which app middle click is pasting into? Because it is app agnostic -- it pastes into all apps. Firefox, Discord, various text editors. Konsole as well I believe
Comment 3 anthonyjbarricelli 2025-10-31 00:34:42 UTC
Correction, not Konsole. But confirming middle click pastes in Discord, Firefox, and Code - OSS. Does not paste in Kate, or Dolphin (location bar).

I've looked for settings in Discord, Firefox, and Code, and there does not seem to be any relating to middle mouse click. It definitely did not do this before 6.5. I middle click all the time for scrolling.
Comment 4 anthonyjbarricelli 2025-11-23 03:37:20 UTC
I believe this may be intended behavior according to the discussion on this thread: https://discuss.kde.org/t/how-to-disable-middle-click-paste/33569

My sentiments lie with the comment about wanting a smooth scroll feature like Windows seems to have that works with every application. I never saw the value in middle click pasting when Ctrl+V works fine, but to each their own.