<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>392488</bug_id>
          <alias>libinput-mouse-kcm-middle-click-paste</alias>
          <creation_ts>2018-03-29 14:12:33 +0000</creation_ts>
          <short_desc>Setting to disable middle click paste</short_desc>
          <delta_ts>2025-02-18 20:40:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>systemsettings</product>
          <component>kcm_mouse</component>
          <version>5.22.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>441668</dup_id>
          <see_also>https://bugs.kde.org/show_bug.cgi?id=389710</see_also>
    
    <see_also>https://bugs.kde.org/show_bug.cgi?id=383379</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>usability</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jeremy9856</reporter>
          <assigned_to name="Unassigned bugs">unassigned-bugs-null</assigned_to>
          <cc>kde</cc>
    
    <cc>kresimircindric</cc>
    
    <cc>loudsquid</cc>
    
    <cc>natalie_clarius</cc>
    
    <cc>nate</cc>
    
    <cc>postix</cc>
    
    <cc>unassigned-bugs-null</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1741555</commentid>
    <comment_count>0</comment_count>
    <who name="">jeremy9856</who>
    <bug_when>2018-03-29 14:12:33 +0000</bug_when>
    <thetext>Hello,

We should be able to disable middle click paste for touchpad and mouse to avoid unwanted copy / paste for those who have sensible touchpad and mouse.

It&apos;s possible on Gnome :

org.gnome.desktop.interface gtk-enable-primary-paste -&gt; False

Thanks !</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1741811</commentid>
    <comment_count>1</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2018-03-30 03:27:21 +0000</bug_when>
    <thetext>Needs a new setting in http://doc.qt.io/qt-5/qstylehints.html

Standard Qt widgets (QLineEdit, QTextEdit) and individual applications (Kate/KWrite, Konsole, Calligra, etc.) need to be changed to respect this setting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892013</commentid>
    <comment_count>2</comment_count>
    <who name="KC">kresimircindric</who>
    <bug_when>2019-11-17 12:34:00 +0000</bug_when>
    <thetext>This would be very useful, indeed!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2040170</commentid>
    <comment_count>3</comment_count>
    <who name="postix">postix</who>
    <bug_when>2021-06-13 10:04:57 +0000</bug_when>
    <thetext>This is really needed and super annoying when you use a touchpad on a laptop, where a light tap around the center is misinterpreted as a middle click and thus unintentionally content is pasted!

I only have found one hacky workaround so far [1] involving an sxkhd script.

[1] https://www.reddit.com/r/kde/comments/nyqf13/how_to_disable_middle_click_paste/h1lofqu/?context=3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2059080</commentid>
    <comment_count>4</comment_count>
    <who name="jimbo">loudsquid</who>
    <bug_when>2021-09-06 13:39:26 +0000</bug_when>
    <thetext>The workaround can break normal control+c functionality in Chromium. There should be an option to disable this functionality.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2059083</commentid>
    <comment_count>5</comment_count>
    <who name="jimbo">loudsquid</who>
    <bug_when>2021-09-06 13:45:25 +0000</bug_when>
    <thetext>* sorry, Firefox not Chromium</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2069586</commentid>
    <comment_count>6</comment_count>
    <who name="postix">postix</who>
    <bug_when>2021-10-18 08:43:50 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 441668 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>