<?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>427988</bug_id>
          
          <creation_ts>2020-10-19 15:32:16 +0000</creation_ts>
          <short_desc>Right mouse button performs context menu action on Wayland</short_desc>
          <delta_ts>2020-11-05 22:00:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>wayland-generic</component>
          <version>5.20.0</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>UPSTREAM</resolution>
          
          
          <bug_file_loc>https://bugreports.qt.io/browse/QTBUG-57849</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Rainer Finke">rainer</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>bugseforuns</cc>
    
    <cc>nate</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>1966430</commentid>
    <comment_count>0</comment_count>
    <who name="Rainer Finke">rainer</who>
    <bug_when>2020-10-19 15:32:16 +0000</bug_when>
    <thetext>When using the right mouse button on Plasma Wayland in normal applications, mostly the first entry of the context menu is performed without a user action if moving the mouse cursor fast enough over the context menu.


I can reproduce this issue on normal Wayland and XWayland applications. But for testing it is the most obvious in system monitor.

It is possible that this has been added to use gestures but I don&apos;t see how anybody can select specific menu entries that fast.

STEPS TO REPRODUCE
1. Open system monitor
2. Go to system load tab and move mouse into the CPU History chart
3. Right Click and move mouse immediately over the context menu

OBSERVED RESULT
- Action is performed without user interaction

EXPECTED RESULT
- Nothing (any action requires left mouse click)


Operating System: Arch Linux
KDE Plasma Version: 5.20.0
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.9.1-arch1-1
OS Type: 64-bit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1966456</commentid>
    <comment_count>1</comment_count>
    <who name="Patrick Silva">bugseforuns</who>
    <bug_when>2020-10-19 17:21:30 +0000</bug_when>
    <thetext>Qt bug?
https://bugreports.qt.io/browse/QTBUG-57849</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1966581</commentid>
    <comment_count>2</comment_count>
    <who name="Rainer Finke">rainer</who>
    <bug_when>2020-10-20 09:00:44 +0000</bug_when>
    <thetext>Yes, that is the same issue. I was not aware that this is a Qt bug... Well, as it is open already for so many years, my hope is very low now to see it fixed :-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1966601</commentid>
    <comment_count>3</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2020-10-20 10:34:14 +0000</bug_when>
    <thetext>Can you reproduce this bug with other compositors? Maybe we could work around it somehow...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1969144</commentid>
    <comment_count>4</comment_count>
    <who name="Rainer Finke">rainer</who>
    <bug_when>2020-10-27 16:43:29 +0000</bug_when>
    <thetext>I&apos;ve tried KWinFT and Sway, both show the same issue.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>