<?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>484218</bug_id>
          
          <creation_ts>2024-03-22 08:12:43 +0000</creation_ts>
          <short_desc>Windows &quot;clicking through&quot;, plasma menu not clickable on X11</short_desc>
          <delta_ts>2024-04-16 23:02:15 +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>general</component>
          <version>6.0.2</version>
          <rep_platform>Neon</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>478556</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nicolas">nicolas</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>danielbermond</cc>
    
    <cc>fanzhuyifan</cc>
    
    <cc>kamil.kuramshin</cc>
    
    <cc>xaver.hugl</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>2304055</commentid>
    <comment_count>0</comment_count>
    <who name="Nicolas">nicolas</who>
    <bug_when>2024-03-22 08:12:43 +0000</bug_when>
    <thetext>SUMMARY
On X11, I observe that kwin starts to behave weirdly: Everything looks okay, but using the mouse is broken: when I click on a window, I may activate a window beneath the visible window, I can only move a single window. And trying to activate a window via the plasma panel is not working at all - nothing can be clicked or reacts to mouse hovers.




STEPS TO REPRODUCE
1. ? random?

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-26-generic (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B550 VISION D
System Version: -CF

ADDITIONAL INFORMATION

Last time I saw this in the logs, which correlated with the time it happend:

&gt; Mär 22 09:02:17 nic-desktop kwin_x11[5658]: kwin_core: XCB error: 152 (BadDamage), sequence: 25827, resource id: 25324535, major code: 143 (DAMAGE), minor code: 3 (Subtract)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2307743</commentid>
    <comment_count>1</comment_count>
    <who name="Nicolas">nicolas</who>
    <bug_when>2024-04-02 12:27:58 +0000</bug_when>
    <thetext>I also observed this now on wayland, while using Android Studio

&gt; Apr 02 14:20:16 nic-desktop kwin_wayland[4193]: kwin_core: XCB error: 3 (BadWindow), sequence: 59423, resource id: 100741020, major code: 129 (SHAPE), minor code: 3 (Combine)
&gt; Apr 02 14:20:16 nic-desktop kwin_wayland[4193]: kwin_core: XCB error: 3 (BadWindow), sequence: 59424, resource id: 100741020, major code: 129 (SHAPE), minor code: 3 (Combine)
&gt; Apr 02 14:20:16 nic-desktop kwin_wayland[4193]: kwin_core: XCB error: 3 (BadWindow), sequence: 59436, resource id: 100741020, major code: 129 (SHAPE), minor code: 3 (Combine)
&gt; Apr 02 14:20:16 nic-desktop kwin_wayland[4193]: kwin_core: XCB error: 3 (BadWindow), sequence: 59437, resource id: 100741020, major code: 129 (SHAPE), minor code: 3 (Combine)
&gt; Apr 02 14:20:16 nic-desktop kwin_wayland[4193]: kwin_core: Could not find window with uuid &quot;{543cb1c7-58b4-4548-a270-bda6e46f2f32}&quot;
&gt; Apr 02 14:20:16 nic-desktop kwin_wayland[4193]: kwin_core: Could not find window with uuid &quot;{543cb1c7-58b4-4548-a270-bda6e46f2f32}&quot;
&gt; Apr 02 14:20:16 nic-desktop kwin_wayland[4193]: kwin_core: Could not find window with uuid &quot;{543cb1c7-58b4-4548-a270-bda6e46f2f32}&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2308395</commentid>
    <comment_count>2</comment_count>
    <who name="Kamil">kamil.kuramshin</who>
    <bug_when>2024-04-04 18:17:18 +0000</bug_when>
    <thetext>
So in my case problem reveal itself in 2 scenarios:
1. In conjunction with right mouse click and then clicking on context menus. After this all mouse pointer is moving but click inputs is &quot;going  to null&quot; also context menu that appeared does not disappear after clicking on it or outside of it. To make things work again in this case I have to press ESC to close opened context menu and mouse starts to work.
2. If standard taskbar is configured to display a thumbnails of application windows, then if I right-click on that thumbnail then no context menu displayed and mouse starting to act as it has no buttons, in this case ESC trick does not works, but I accidentally found that calling tdrop with Alacritty window by hotkey causes to make mouse buttons work again
Found that unexpectedly thanks to sxhkd/tdrop that used to make drop down terminal with Alacritty. But did not find how to trigger this problem. Definitely restarting kwin with ```kwin_x11 --replace``` make this bug to disappear for a while</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2308397</commentid>
    <comment_count>3</comment_count>
    <who name="Kamil">kamil.kuramshin</who>
    <bug_when>2024-04-04 18:24:36 +0000</bug_when>
    <thetext>(In reply to Kamil from comment #2)
&gt; So in my case problem reveal itself in 2 scenarios:
&gt; 1. In conjunction with right mouse click and then clicking on context menus.
&gt; After this all mouse pointer is moving but click inputs is &quot;going  to null&quot;
&gt; also context menu that appeared does not disappear after clicking on it or
&gt; outside of it. To make things work again in this case I have to press ESC to
&gt; close opened context menu and mouse starts to work.
&gt; 2. If standard taskbar is configured to display a thumbnails of application
&gt; windows, then if I right-click on that thumbnail then no context menu
&gt; displayed and mouse starting to act as it has no buttons, in this case ESC
&gt; trick does not works, but I accidentally found that calling tdrop with
&gt; Alacritty window by hotkey causes to make mouse buttons work again
&gt; Found that unexpectedly thanks to sxhkd/tdrop that used to make drop down
&gt; terminal with Alacritty. But did not find how to trigger this problem.
&gt; Definitely restarting kwin with ```kwin_x11 --replace``` make this bug to
&gt; disappear for a while

in addition:
I use Arch Linux:
Plasma 6.0.3
QT 6.6.3
KDE Frameworks Version: 6.0.0
Graphics Platform: X11
Graphics driver: admgpu (free)
Graphics card: Radeon 6800XT</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2312115</commentid>
    <comment_count>4</comment_count>
    <who name="Zamundaaa">xaver.hugl</who>
    <bug_when>2024-04-16 23:02:15 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>