https://bugs.kde.org/show_bug.cgi?id=441668

            Bug ID: 441668
           Summary: Please make middle-click pasting optional
           Product: kwin
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: platform-wayland
          Assignee: kwin-bugs-n...@kde.org
          Reporter: geisse...@gmail.com
  Target Milestone: ---

SUMMARY
Recently middle-click pasting got implemented for the Wayland platform (Bug
422426).
However, this feature could be regarded as an annoyance due to the risk of
inadvertent pasting. Especially users coming from different operating systems
are not used to this behaviour and dislike it. Moreover, this feature could
potentially be a privacy risk, since marked texts are automatically added to a
clipboard, altough they might contain sensitive information. Additionally, it
might conflict different uses of the middle mouse button.
There currently appears to be no way to disable middle-click paste on both
Plasma Wayland and X11. It would be nice if an option could be added to the
System Settings mouse configuration page (or alternatively to the clipboard
settings) to disable middle-click paste at least for the Wayland platform (and
if technically possible, also for X11).


STEPS TO REPRODUCE
1. Mark an arbitrary text in a Wayland (or X11) session
2. Activate a text input widget
3. Press the middle mouse button

OBSERVED RESULT
The marked text will be pasted into the widget.

EXPECTED RESULT
There should be an option to disable middle-click pasting, at least for Wayland
(and for X11 if feasible).

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-27-generic (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
- The idea for this report started on Nate Graham's blog
(https://pointieststick.com/2021/08/20/this-week-in-kde-some-cool-new-stuff/#comment-23401).
- Middle-click pasting is optional in GNOME (according to
https://linuxconfig.org/how-to-disable-middle-mouse-button-click-paste-on-ubuntu-20-04-focal-fossa-linux)
- Not sure whether I chose the right component. Feel free to move the issue if
you know a better place.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to