<?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>375000</bug_id>
          
          <creation_ts>2017-01-13 10:27:53 +0000</creation_ts>
          <short_desc>Meta-to-open-menu stops working quickly after reboot on specific keyboard model</short_desc>
          <delta_ts>2018-03-09 14:31:50 +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>input</component>
          <version>git master</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <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>0</everconfirmed>
          <reporter name="Roman Gilg">subdiff</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>bp1994</cc>
    
    <cc>flo.hennig</cc>
    
    <cc>notuxius</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      <flag name="X11"
          id="1568"
          type_id="32"
          status="+"
          setter="mgraesslin"
    />

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1653996</commentid>
    <comment_count>0</comment_count>
    <who name="Roman Gilg">subdiff</who>
    <bug_when>2017-01-13 10:27:53 +0000</bug_when>
    <thetext>I have this problem only with my Logitech K360 keyboard. It is connected together with a mouse to one unifying receiver.

After reboot the meta key opens the Application Launcher as intended. But after some time (maybe a minute, maybe more, less than an hour), it stops working. I couldn&apos;t yet pinpoint the issue any further.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654116</commentid>
    <comment_count>1</comment_count>
    <who name="Roman Gilg">subdiff</who>
    <bug_when>2017-01-13 19:09:05 +0000</bug_when>
    <thetext>OK, I pinpointed it now: The Meta key stops working directly after first time hitting Alt+Tab to open the Window Switcher / Tabbox.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654143</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2017-01-13 22:06:16 +0000</bug_when>
    <thetext>Interesting, I&apos;m wondering whether alt changes the modifier somehow. What&apos;s your keyboard layout?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654145</commentid>
    <comment_count>3</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2017-01-13 22:06:59 +0000</bug_when>
    <thetext>Btw X11 or Wayland or both?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654402</commentid>
    <comment_count>4</comment_count>
    <who name="Roman Gilg">subdiff</who>
    <bug_when>2017-01-15 11:29:58 +0000</bug_when>
    <thetext>Problem only on X11.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654418</commentid>
    <comment_count>5</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2017-01-15 13:48:04 +0000</bug_when>
    <thetext>good, that should make investigation easier.

Try to use xev to see which key events are generated. My theory is that there is a mismatch. That the logitech somehow generates multiple press events which are then not matched by a release. Or that somehow the keygrab steals events, but that wouldn&apos;t make any sense.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654678</commentid>
    <comment_count>6</comment_count>
    <who name="Roman Gilg">subdiff</who>
    <bug_when>2017-01-16 16:37:46 +0000</bug_when>
    <thetext>There is no difference in the output of xev:

Before Alt+Tab (i.e. Meta works):
KeyPress event, serial 40, synthetic NO, window 0x4600001,
    root 0x4e9, subw 0x0, time 30763207, (961,1097), root:(3189,1138),
    state 0x10, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x4600001,
    root 0x4e9, subw 0x0, time 30763409, (961,1097), root:(3189,1138),
    state 0x50, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

After Alt+Tab (i.e. Meta works not):
KeyPress event, serial 40, synthetic NO, window 0x4600001,
    root 0x4e9, subw 0x0, time 30773771, (961,1097), root:(3189,1138),
    state 0x10, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x4600001,
    root 0x4e9, subw 0x0, time 30773991, (961,1097), root:(3189,1138),
    state 0x50, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False


Also when I kill kwin in running session and then start it again, problem is gone until I press the next time Alt+Tab.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654683</commentid>
    <comment_count>7</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2017-01-16 16:53:46 +0000</bug_when>
    <thetext>what is xev showing for &quot;Alt+Tab&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654698</commentid>
    <comment_count>8</comment_count>
    <who name="Roman Gilg">subdiff</who>
    <bug_when>2017-01-16 17:46:37 +0000</bug_when>
    <thetext>See https://phabricator.kde.org/D4164 for my latest findings.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1655517</commentid>
    <comment_count>9</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2017-01-19 17:06:29 +0000</bug_when>
    <thetext>Duplicate of bug 370920?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1655722</commentid>
    <comment_count>10</comment_count>
    <who name="Roman Gilg">subdiff</who>
    <bug_when>2017-01-20 19:20:07 +0000</bug_when>
    <thetext>Damn, I forgot about that one (although I created it^^). But, nope, they are independent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1670563</commentid>
    <comment_count>11</comment_count>
    <who name="Bartek">bp1994</who>
    <bug_when>2017-04-09 15:38:35 +0000</bug_when>
    <thetext>I have a similar issue, Meta key stops working some time after booting, but I have a different keyboard (CM Storm QuickFire Ultimate), and I don&apos;t use Alt-Tab. Could this be related?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1690178</commentid>
    <comment_count>12</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2017-07-22 12:47:15 +0000</bug_when>
    <thetext>What&apos;s the state of this? Did we fix it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1690580</commentid>
    <comment_count>13</comment_count>
    <who name="Roman Gilg">subdiff</who>
    <bug_when>2017-07-24 09:15:58 +0000</bug_when>
    <thetext>Haven&apos;t noticed it for a while. So I close the bug for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1718340</commentid>
    <comment_count>14</comment_count>
    <who name="tuxflo">flo.hennig</who>
    <bug_when>2017-12-24 06:02:03 +0000</bug_when>
    <thetext>I think this is still relevant on the latest version of the plasmashell (KDE Neon user edition, 5.11.4).
Starting Computer, super key works fine (toggles Menu)
After a while: nothing happens when pressing the super key.
Restart kwin (killall kwin_x11 &amp;&amp; kstart5 kwin_x11): Super key is working again.

In my tests it had nothing to do with the Alt+Tab shortcut.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1736817</commentid>
    <comment_count>15</comment_count>
    <who name="Alexander Mentyu">notuxius</who>
    <bug_when>2018-03-09 14:31:50 +0000</bug_when>
    <thetext>Possibly related bugs https://bugs.kde.org/show_bug.cgi?id=390858 and https://bugs.kde.org/show_bug.cgi?id=370920</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>