<?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>70063</bug_id>
          
          <creation_ts>2003-12-10 22:24:24 +0000</creation_ts>
          <short_desc>global shortcuts don&apos;t work when any popup is active</short_desc>
          <delta_ts>2017-06-02 03:32:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdelibs</product>
          <component>qt</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>1</everconfirmed>
          <reporter name="Derick Swanepoel">derick</reporter>
          <assigned_to name="Lubos Lunak">l.lunak</assigned_to>
          <cc>1and2</cc>
    
    <cc>adaptee</cc>
    
    <cc>ahx2323</cc>
    
    <cc>alessandro.ufms</cc>
    
    <cc>alex.danila.web</cc>
    
    <cc>alex</cc>
    
    <cc>aspotashev</cc>
    
    <cc>auxsvr</cc>
    
    <cc>b.gedzior</cc>
    
    <cc>bluedzins</cc>
    
    <cc>btharper1221</cc>
    
    <cc>caionnew</cc>
    
    <cc>cfeck</cc>
    
    <cc>chealer</cc>
    
    <cc>christian.gonzalez</cc>
    
    <cc>cocacooler</cc>
    
    <cc>dag</cc>
    
    <cc>darkvater</cc>
    
    <cc>esigra</cc>
    
    <cc>fake</cc>
    
    <cc>faure</cc>
    
    <cc>fel1992</cc>
    
    <cc>forum</cc>
    
    <cc>froh</cc>
    
    <cc>gabidospi</cc>
    
    <cc>genacid</cc>
    
    <cc>germano.massullo</cc>
    
    <cc>illumilore</cc>
    
    <cc>jazzuban</cc>
    
    <cc>jesper.juhl</cc>
    
    <cc>jonas.vejlin</cc>
    
    <cc>jsekal</cc>
    
    <cc>KaiUweBroulik2</cc>
    
    <cc>karthik.periagaram</cc>
    
    <cc>kde-2011.08</cc>
    
    <cc>kde</cc>
    
    <cc>kdebugs</cc>
    
    <cc>kojot350</cc>
    
    <cc>logixoul</cc>
    
    <cc>marius</cc>
    
    <cc>maysara_a_a</cc>
    
    <cc>mpartap</cc>
    
    <cc>mstu</cc>
    
    <cc>munlinux</cc>
    
    <cc>nucrap</cc>
    
    <cc>pandu_rao</cc>
    
    <cc>pogonyshev</cc>
    
    <cc>roie.kerstein</cc>
    
    <cc>Ronny.Standtke</cc>
    
    <cc>sasha2048</cc>
    
    <cc>schnetter</cc>
    
    <cc>sfh23</cc>
    
    <cc>stuffcorpse</cc>
    
    <cc>the-q</cc>
    
    <cc>tkachenkok</cc>
    
    <cc>tobias.polzer</cc>
    
    <cc>uc</cc>
    
    <cc>ultr</cc>
    
    <cc>victor.box3</cc>
    
    <cc>vysny</cc>
    
    <cc>yez</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>1454</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>184630</commentid>
    <comment_count>0</comment_count>
    <who name="Derick Swanepoel">derick</who>
    <bug_when>2003-12-10 22:24:24 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.1.94)
Compiler:          gcc (GCC) 3.3.2 20031022 (Gentoo Linux 3.3.2-r3, propolice) 
OS:          Linux

When a combo box (or drop-down list, or whatever) is active, none of the KDE shortcuts work (at least, I haven&apos;t found a shortcut that _does_ work, so I&apos;m assuming that none work).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>184817</commentid>
    <comment_count>1</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2003-12-11 10:26:40 +0000</bug_when>
    <thetext>Not simple to fix, if it&apos;s possible at all.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>200005</commentid>
    <comment_count>2</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2004-01-29 16:18:06 +0000</bug_when>
    <thetext>*** Bug 73730 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>205800</commentid>
    <comment_count>3</comment_count>
    <who name="Vedran Ljubovic">vljubovic</who>
    <bug_when>2004-02-14 23:15:07 +0000</bug_when>
    <thetext>Very annoying when you start typing URL and realise that you need to change your keyboard layout (Ctrl+Alt+K)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208989</commentid>
    <comment_count>4</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2004-02-23 19:27:24 +0000</bug_when>
    <thetext>*** Bug 63141 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>219147</commentid>
    <comment_count>5</comment_count>
    <who name="Stanislav Karchebny">berk</who>
    <bug_when>2004-03-26 16:19:52 +0000</bug_when>
    <thetext>Really annoying behavior, any clues of what might be causing it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>219812</commentid>
    <comment_count>6</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2004-03-29 03:51:17 +0000</bug_when>
    <thetext>Because it calls XGrabKeyboard, IIRC; this is most likely to prevent some sort of races/confusion, but I am not sure</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>224500</commentid>
    <comment_count>7</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2004-04-17 16:03:17 +0000</bug_when>
    <thetext>*** Bug 78761 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256432</commentid>
    <comment_count>8</comment_count>
    <who name="Stephan Binner">binner</who>
    <bug_when>2004-08-06 08:53:02 +0000</bug_when>
    <thetext>*** Bug 86557 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>257293</commentid>
    <comment_count>9</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2004-08-09 20:00:54 +0000</bug_when>
    <thetext>*** Bug 86864 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>287379</commentid>
    <comment_count>10</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2004-11-19 19:01:12 +0000</bug_when>
    <thetext>*** Bug 53315 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>288013</commentid>
    <comment_count>11</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2004-11-22 13:16:40 +0000</bug_when>
    <thetext>*** Bug 93571 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>306784</commentid>
    <comment_count>12</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2005-01-25 14:16:56 +0000</bug_when>
    <thetext>*** Bug 97733 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>352030</commentid>
    <comment_count>13</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2005-06-20 15:07:06 +0000</bug_when>
    <thetext>*** Bug 107696 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>370422</commentid>
    <comment_count>14</comment_count>
    <who name="Susanne Oberhauser">froh</who>
    <bug_when>2005-09-02 15:10:36 +0000</bug_when>
    <thetext>this is annoying me, too.

I often switch between english and german on an english keyboard layout, especially in apps like konqueror.

So my keyboard shortcut is kind of hard-coded into my typing.

often when I find I need or don&apos;t need anymore umlauts typing a url like gg:füsch or http://...  I

  get the wrong character
  backspace
  keyboard switch (fails because of this bug)
  get the wrong character again
  backspace again
  escape to get rid of the completions
  keyborad switch again
  get the right character

I understand it&apos;s not the highest on the list but it&apos;s annoying.


thx</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>422163</commentid>
    <comment_count>15</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2006-03-15 13:55:20 +0000</bug_when>
    <thetext>*** Bug 123657 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>422996</commentid>
    <comment_count>16</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2006-03-18 16:24:11 +0000</bug_when>
    <thetext>*** Bug 123840 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>456514</commentid>
    <comment_count>17</comment_count>
    <who name="FiNeX">finex</who>
    <bug_when>2006-07-29 11:17:36 +0000</bug_when>
    <thetext>This behavior is still present in KDE 3.5.3 ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>518741</commentid>
    <comment_count>18</comment_count>
    <who name="Martin Rehn">martinrehn</who>
    <bug_when>2007-04-03 20:25:37 +0000</bug_when>
    <thetext>The same bahaviour also occurs whenever a menu, any menu, including the K menu and applications menus is open. Not to be outdoneby Susanne (#14), an example of when this is irritating is this:

1. Browse K menu to find an application.
2. Realise that this application might play sound and I don&apos;t want that right now.
3. Try pressing the volume control or mute buttons.
4. It does not work. Close menu, adjust volume, navigate menu again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>518744</commentid>
    <comment_count>19</comment_count>
    <who name="Martin Rehn">martinrehn</who>
    <bug_when>2007-04-03 20:36:42 +0000</bug_when>
    <thetext>Bug 123657 informs us that the same thing happens for right-click menus. Bug 107696 notes that it applies when passive windows pop up; &quot;say for example autocomplete/intellisense in KDevelop&quot;.

So we have:
1) Combo boxes and friends (e.g. address field in Konqueror, autocomplete/form field suggestions on web pages)
2) Menus: application menus, RMB menus, K menu
3) (anything else?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>539264</commentid>
    <comment_count>20</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2007-08-02 22:50:14 +0000</bug_when>
    <thetext>*** Bug 148465 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>539282</commentid>
    <comment_count>21</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2007-08-02 23:32:20 +0000</bug_when>
    <thetext>*** Bug 143766 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>542287</commentid>
    <comment_count>22</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2007-08-23 15:59:26 +0000</bug_when>
    <thetext>*** Bug 147419 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>545255</commentid>
    <comment_count>23</comment_count>
    <who name="Matthew Dawson">matthew</who>
    <bug_when>2007-09-09 21:54:23 +0000</bug_when>
    <thetext>After investigating problem, it seems this problem also occurs with Qt only 
applications, and still occurs with Qt 4.3(with qt-copy patches) as well as 
Qt 3.3.  When trying to narrow down to what call grabbed the keyboard, I also 
discovered that when the window with the popup does not have focus, shortcuts 
will still work.

Tested on KDE 3.5.7 with volume controls/Xmodmap and a svn checkout of qt-copy 
from KDE for Qt 4.3.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>552491</commentid>
    <comment_count>24</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2007-10-30 20:21:13 +0000</bug_when>
    <thetext>*** Bug 151573 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>554199</commentid>
    <comment_count>25</comment_count>
    <who name="Andriy Rysin">arysin</who>
    <bug_when>2007-11-08 21:09:31 +0000</bug_when>
    <thetext>*** Bug 139543 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>556350</commentid>
    <comment_count>26</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2007-11-18 14:52:37 +0000</bug_when>
    <thetext>*** Bug 152511 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>556376</commentid>
    <comment_count>27</comment_count>
    <who name="Andriy Rysin">arysin</who>
    <bug_when>2007-11-18 17:03:38 +0000</bug_when>
    <thetext>In KDE4 kxkb allows to use XKB shortcuts to switch keyboard layout, and if you use those popup windows won&apos;t stand in a way. So at least for layout switching (which I understand is most of the cases) we have a workaround.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>556379</commentid>
    <comment_count>28</comment_count>
    <who name="Daniel Duris">kdebugs</who>
    <bug_when>2007-11-18 17:07:38 +0000</bug_when>
    <thetext>why is it not possible to publish fix for kde 3.x+.

why shoudl users be forced to wait for kde 4, which is nowhere yet to be released.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>556383</commentid>
    <comment_count>29</comment_count>
    <who name="Stefan Majewsky">majewsky</who>
    <bug_when>2007-11-18 17:16:08 +0000</bug_when>
    <thetext>Why should a patch for KDE 3 be released? KDE 4 comes in one month, and I&apos;m sure that many users are already using it (me, for instance). If at all, there would be a source code patch, but people who apply source codes rather than installing packages are in most cases programmers.

@Andriy Rysin (#27): Keyboard layouts are not the only problem. I do not use different keyboard layouts, but I still find this bug annoying because a very big part of my KDE installation is to be accessed by shortcuts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>556479</commentid>
    <comment_count>30</comment_count>
    <who name="">premierSullivan</who>
    <bug_when>2007-11-19 01:40:04 +0000</bug_when>
    <thetext>Has there been any confirmation or even an indication that kde 4 will fix this problem?  It may still be an issue.  If it hasn&apos;t been fixed in kde 4 its unlikely to be fixed in kde 3... anyway, KDE is still planning to release a 3.5.9 (for some reason) so if there is a workaround, it may still be included in kde 3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>560017</commentid>
    <comment_count>31</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2007-12-03 22:59:29 +0000</bug_when>
    <thetext>*** Bug 153044 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>560339</commentid>
    <comment_count>32</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2007-12-04 22:12:17 +0000</bug_when>
    <thetext>*** Bug 142059 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>564385</commentid>
    <comment_count>33</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2007-12-18 11:24:17 +0000</bug_when>
    <thetext>*** Bug 154264 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>574773</commentid>
    <comment_count>34</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2008-01-24 17:07:13 +0000</bug_when>
    <thetext>*** Bug 145732 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>593863</commentid>
    <comment_count>35</comment_count>
    <who name="Bram Schoenmakers">me</who>
    <bug_when>2008-04-12 23:52:17 +0000</bug_when>
    <thetext>*** Bug 160751 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>629192</commentid>
    <comment_count>36</comment_count>
      <attachid>26407</attachid>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2008-07-25 17:27:53 +0000</bug_when>
    <thetext>Created attachment 26407
qt4.4.0 patch

This Qt patch allows global shortcuts to work while a Qt applications shows a
popup, by not grabbing the keyboard when a window from the application already
has focus (i.e. it gets already keyboard events anyway). Which means it still
doesn&apos;t work e.g. with K-Menu or non-Qt applications.

There is also the problem that when a popup is open and another one, e.g. from
Klipper or the logout dialog, is open, then the new one does not have
keyboard/mouse grab (because mouse grab is already taken by the first popup),
making the new popup basically useless. It&apos;d probably require manager selection
for passing the grab around or something, and it&apos;d be only opt-in.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>646665</commentid>
    <comment_count>37</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2008-09-15 18:28:38 +0000</bug_when>
    <thetext>*** Bug 171116 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>649797</commentid>
    <comment_count>38</comment_count>
    <who name="Frank Reininghaus">frank78ac</who>
    <bug_when>2008-09-29 19:57:02 +0000</bug_when>
    <thetext>*** Bug 150442 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>650944</commentid>
    <comment_count>39</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2008-10-04 11:34:13 +0000</bug_when>
    <thetext>*** Bug 127751 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>688709</commentid>
    <comment_count>40</comment_count>
    <who name="jan sekal">jsekal</who>
    <bug_when>2008-12-29 11:34:55 +0000</bug_when>
    <thetext>I can confirm this bug, and it lasts at least one year and something.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>696410</commentid>
    <comment_count>41</comment_count>
    <who name="Sasha Unspecified">sasha2048</who>
    <bug_when>2009-01-08 23:31:28 +0000</bug_when>
    <thetext>This is annoying me, too.
The bug is still present in KDE 4.2 Beta2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>696424</commentid>
    <comment_count>42</comment_count>
    <who name="Sasha Unspecified">sasha2048</who>
    <bug_when>2009-01-08 23:55:33 +0000</bug_when>
    <thetext>The most annoying effect of this bug for me is that I cannot change keyboard layout (I use Win+Z to switch layout) while typing an URL in Firefox or any other browser (because browsers drop down the list when typing in location bar).


Since 3.1.94 to 4.2 Beta2 -- not fixed yet -- very pity.
If this bug is really hard to fix -- may be use some workaround? For example, could the following option be available to users(?): To make all comboboxes automatically closed when Ctrl, Alt or Win modifier key is pressed. As any global shortcut starts with modifier, this will help. Of course, this is not so handy as processing shortcuts without closing popups -- but it would be much much better than ignoring global shortcuts at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>697023</commentid>
    <comment_count>43</comment_count>
    <who name="Christian González">christian.gonzalez</who>
    <bug_when>2009-01-09 22:04:49 +0000</bug_when>
    <thetext>Is the patch of Lubos Lunak being accepted - or should someone go and inform Qt Software about this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>707858</commentid>
    <comment_count>44</comment_count>
    <who name="Paweł Prażak">kojot350</who>
    <bug_when>2009-01-30 12:51:10 +0000</bug_when>
    <thetext>I confirm this on KDE 4.2, it happens with firefox url list, as mentioned, but not with same list in konqueror.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>712912</commentid>
    <comment_count>45</comment_count>
    <who name="Karthik Periagaram">karthik.periagaram</who>
    <bug_when>2009-02-06 22:01:08 +0000</bug_when>
    <thetext>Another instance of this bug ... bugging users is the use of keyboard shortcuts for desktop effects. I scroll down a pop up menu and realize that I need to get something from another window in another desktop. I&apos;d like to use the keyboard shortcut to activate the desktop grid (or present windows), but I can&apos;t. This is annoying. Thanks in advance for fixing/working on fixing this!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>748382</commentid>
    <comment_count>46</comment_count>
    <who name="Dotan Cohen">kde-2011.08</who>
    <bug_when>2009-04-27 11:20:57 +0000</bug_when>
    <thetext>In Kubuntu 9.04 with KDE 4.2 I can say that these features work:
1) When typing in Firefox addressbar with dropdown active, I can switch keyboard layouts with Shift-Alt
2) When typing in Konqueror addressbar with dropdown active, I can switch keyboard layouts with Shift-Alt
3) When typing in Konqueror addressbar with dropdown active, I can switch windows with Atl-Tab
4) When typing in Konqueror addressbar with dropdown active, I can open krunner with Alt-F2
5) When searching in Lancelot&apos;s Applications menu, I can switch languages with Shift-Alt
6) When searching in Lancelot&apos;s Applications menu, I can switch windows with Atl-Tab

And these features do not work:
1) When typing in Firefox addressbar with dropdown active, I can not switch windows with Atl-Tab
2) When typing in Firefox addressbar with dropdown active, I can not open krunner with Alt-F2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>749420</commentid>
    <comment_count>47</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2009-04-29 05:03:06 +0000</bug_when>
    <thetext>*** Bug 190991 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>763571</commentid>
    <comment_count>48</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2009-05-24 13:04:09 +0000</bug_when>
    <thetext>*** Bug 193624 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>795096</commentid>
    <comment_count>49</comment_count>
    <who name="Vsevolod Krishchenko">mstu</who>
    <bug_when>2009-07-19 19:15:00 +0000</bug_when>
    <thetext>&gt; When typing in Konqueror addressbar with dropdown active, I can open krunner
with Alt-F2

Still Alt-F2 does not work when recent urls list drop down manuall in address bar.  Active popup menu in Konqueror prevents shortucts too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>868003</commentid>
    <comment_count>50</comment_count>
    <who name="">esigra</who>
    <bug_when>2009-11-25 02:45:32 +0000</bug_when>
    <thetext>Works for me in KDE 4.3.3. Thanks for fixing!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>868113</commentid>
    <comment_count>51</comment_count>
    <who name="Alexander Potashev">aspotashev</who>
    <bug_when>2009-11-25 11:57:36 +0000</bug_when>
    <thetext>(In reply to comment #50)
&gt; Works for me in KDE 4.3.3. Thanks for fixing!

Doesn&apos;t work for me in KDE 4.3.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>868117</commentid>
    <comment_count>52</comment_count>
    <who name="Daniel Duris">kdebugs</who>
    <bug_when>2009-11-25 12:04:02 +0000</bug_when>
    <thetext>works for me in KDE 4.2.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>868134</commentid>
    <comment_count>53</comment_count>
    <who name="Alexander Potashev">aspotashev</who>
    <bug_when>2009-11-25 12:36:38 +0000</bug_when>
    <thetext>(In reply to comment #52)
&gt; works for me in KDE 4.2.2

Which version of Qt are you using?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>868138</commentid>
    <comment_count>54</comment_count>
    <who name="Alex">alex</who>
    <bug_when>2009-11-25 12:48:55 +0000</bug_when>
    <thetext>Does not work for me with KDE 4.3.3 and QT 4.5.2 (Ubuntu Karmic)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>868154</commentid>
    <comment_count>55</comment_count>
    <who name="Susanne Oberhauser">froh</who>
    <bug_when>2009-11-25 13:14:25 +0000</bug_when>
    <thetext>still broken for me on opensuse 11.1.

I can&apos;t switch windows with m-tab nor switch keyboard layout with c-m-k

opensuse 11.1
0 froh@byron:~ $ konqueror --version
Qt: 4.5.3
KDE: 4.3.1 (KDE 4.3.1) &quot;release 179&quot;
Konqueror: 4.3.1 (KDE 4.3.1) &quot;release 178&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>868235</commentid>
    <comment_count>56</comment_count>
    <who name="Daniel Duris">kdebugs</who>
    <bug_when>2009-11-25 14:27:31 +0000</bug_when>
    <thetext>&gt; works for me in KDE 4.2.2

&gt;&gt;Which version of Qt are you using?

4.5.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>901717</commentid>
    <comment_count>57</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2010-01-19 14:16:17 +0000</bug_when>
    <thetext>*** Bug 223364 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923574</commentid>
    <comment_count>58</comment_count>
    <who name="Victor">victor.box3</who>
    <bug_when>2010-02-24 16:58:31 +0000</bug_when>
    <thetext>Does not work for me.

Kde sc 4.4.0

qt-4.6.2-1.fc12.x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>929801</commentid>
    <comment_count>59</comment_count>
    <who name="Kai Uwe Broulik">KaiUweBroulik2</who>
    <bug_when>2010-03-07 04:42:09 +0000</bug_when>
    <thetext>I assigned Meta+Arrow keys as global shortcut for volume control. When I have opened e.g. a context menu and decide to change the volume then I cycle through the menu items with the arrow keys instead of changing volume...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1031235</commentid>
    <comment_count>60</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2010-10-13 01:39:27 +0000</bug_when>
    <thetext>I confirm that opening the konqueror location-bar combobox (with the mouse; I&apos;m not talking about the auto-completion popup), and then pressing Alt+F2, does not work.

I also confirm that Lubos&apos; patch is not in Qt (I checked 4.6 and 4.7). I just applied it to my Qt-4.6 (it applies cleanly) and restarted konqueror, and .... it works! I can use Alt+F2, switch desktops, etc.

Lubos: I guess the reason you didn&apos;t send it to Qt (as a merge request or even as a bugreport) is the limitations you mention in comment #36? I can&apos;t reproduce the problem you mention with multiple popups, the first one closes whenever I try to open another one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1039680</commentid>
    <comment_count>61</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2010-11-02 19:59:12 +0000</bug_when>
    <thetext>*** Bug 255909 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1103964</commentid>
    <comment_count>62</comment_count>
    <who name="ultr">ultr</who>
    <bug_when>2011-04-04 13:32:24 +0000</bug_when>
    <thetext>I think this is not fixable.

Popup menus grab keyboard and mouse using X11 calls: XGrabKeyboard and XGrabPointer.
KDE will not receive any shortcut events during the time such grab is active.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1109575</commentid>
    <comment_count>63</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2011-04-19 20:34:05 +0000</bug_when>
    <thetext>ultr: obviously it&apos;s not that simple, since the patch from #36 works. If I read it correctly, it makes popups not grab the keyboard when they don&apos;t need to (because the popup is the active window anyway, so it will get keyboard events) -- but I&apos;m not very good at reading Xlib-related code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1109576</commentid>
    <comment_count>64</comment_count>
    <who name="ultr">ultr</who>
    <bug_when>2011-04-19 20:39:16 +0000</bug_when>
    <thetext>Yes, but this only solves the problem in Qt programs. If GTK application continues to grab the keyboard, there is probably nothing KDE can do about it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1109625</commentid>
    <comment_count>65</comment_count>
    <who name="Daniel Duris">kdebugs</who>
    <bug_when>2011-04-19 22:41:28 +0000</bug_when>
    <thetext>The Global shortcuts should take priority over any pop-up or pop-over layers or
menus, even if contextual.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1125461</commentid>
    <comment_count>66</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2011-05-30 22:36:13 +0000</bug_when>
    <thetext>*** Bug 274539 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1145430</commentid>
    <comment_count>67</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2011-07-25 18:25:57 +0000</bug_when>
    <thetext>Lubos/David, what is the status of this bug/patch? Has there been an attempt to get this into Qt? It is an upstream problem, so it doesn&apos;t belong here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1148297</commentid>
    <comment_count>68</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2011-08-01 13:45:23 +0000</bug_when>
    <thetext>Feel free to try to push the patch upstream.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1148401</commentid>
    <comment_count>69</comment_count>
    <who name="Oswald Buddenhagen">ossi</who>
    <bug_when>2011-08-01 16:53:09 +0000</bug_when>
    <thetext>the loop in the second hunk can be made less arcane:

while (QWidget *popup = qApp-&gt;activePopupWidget())
    popup-&gt;close();

i can&apos;t comment on the patch in detail, but it seems plausible, so feel free to submit upstream for discussion. lubos, note that you need to do that yourself for legal reasons.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1191486</commentid>
    <comment_count>70</comment_count>
    <who name="Germano Massullo (Thetra)">germano.massullo</who>
    <bug_when>2011-11-28 15:46:45 +0000</bug_when>
    <thetext>I can write my experience:
if I open KDE menu, and press the laptop&apos;s keyboard shortcuts to manage brightness, they will not work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1191544</commentid>
    <comment_count>71</comment_count>
    <who name="ultr">ultr</who>
    <bug_when>2011-11-28 18:24:38 +0000</bug_when>
    <thetext>Dan Duris: This is not about priorities. This is about grabbing keyboard events completely so that they are no longer received by any X client other than the popup owner - including window manager (kwin) and any other component of KDE.


This patch is of course an improvement of Qt library, but it will not SOLVE this issue.
Solution will be partial: popups created by Qt applications will stop blocking global shortcuts, but popups from GTK based applications won&apos;t.
This will cause the user experience to be incoherent.

And duplicates of this bug will continue to appear, because users do not care/understand why this will not work in GTK applications.


GTK has to fix this as well in the same way. But I wouldn&apos;t count on its developers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1191555</commentid>
    <comment_count>72</comment_count>
    <who name="Dotan Cohen">kde-2011.08</who>
    <bug_when>2011-11-28 18:46:10 +0000</bug_when>
    <thetext>&gt; This will cause the user experience to be incoherent.
&gt;

Not incoherent, but maybe inconsistent. However, many (most) other KDE bugs that cause inconsistency between Qt and GTK are handled by doing the right thing in Qt and ignoring whatever GTK does. Therefore the fact that GTK apps will still have the problematic popup is not a reason to not fix this issue in Qt apps.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1191790</commentid>
    <comment_count>73</comment_count>
    <who name="Susanne Oberhauser">froh</who>
    <bug_when>2011-11-29 11:49:16 +0000</bug_when>
    <thetext>(In reply to comment #64, #71, #72)
&gt; [what about GTK?]
Is this a problem with gtk based apps at all??


FWIW, this looks now fixed for me:  I&apos;m currently running KDE 4.7.2 from KDE:KDE4:STABLE:Desktop on an openSUSE 11.3.

With pop-ups open, global shortcuts work for me in both gtk and qt based applications (firefox, google-chrome for gtk, konqueror for qt 4.7.4).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1191818</commentid>
    <comment_count>74</comment_count>
    <who name="ultr">ultr</who>
    <bug_when>2011-11-29 13:06:41 +0000</bug_when>
    <thetext>Dotan Cohen:

Yes, inconsistent was what I meant.

&gt; Therefore the fact that GTK apps will still
&gt; have the problematic popup is not a reason
&gt; to not fix this issue in Qt apps.

Not at all. I&apos;m totally for this improvement in Qt.

I&apos;m just saying it will not fix the problem everywhere, unless this change is implemented in every toolkit.
Or the fix is done somewhere else where it will affect all the applications, ex. in x11lib. But I guess they will not agree to modify grabbing system just because toolkits handle it wrong.


Susanne Oberhauser:

Are you sure you have tested it with popups like *context menus* or *main menus*?
Popup windows (ex. JavaScript alert() in web browsers) are not popups in this context, because they do not grab mouse and/or keyboard.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1191968</commentid>
    <comment_count>75</comment_count>
    <who name="Susanne Oberhauser">froh</who>
    <bug_when>2011-11-29 17:18:48 +0000</bug_when>
    <thetext>(In reply to comment #74)
&gt; Susanne Oberhauser:
&gt; 
&gt; Are you sure you have tested it with popups like *context menus* or *main
&gt; menus*?
&gt; Popup windows (ex. JavaScript alert() in web browsers) are not popups in this
&gt; context, because they do not grab mouse and/or keyboard.

I originally had the issue with the URL in konqueror.  I typed &quot;gg:süß&quot;, the history starting &quot;gg:&quot; popped up, I saw gg:s[-, and I realized I need to switch keyboard and then the shortcut didn&apos;t cut it :)

as per now, in all three brosers (konqeror, firefox, chrome) the shortcuts work with the pop up open.  the same works for the main menu in chrome and the file menu in kmail2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1192125</commentid>
    <comment_count>76</comment_count>
    <who name="Simon Persson">simon.persson</who>
    <bug_when>2011-11-30 04:34:01 +0000</bug_when>
    <thetext>(In reply to comment #75)
&gt; I originally had the issue with the URL in konqueror.  I typed &quot;gg:süß&quot;, the
&gt; history starting &quot;gg:&quot; popped up, I saw gg:s[-, and I realized I need to switch
&gt; keyboard and then the shortcut didn&apos;t cut it :)
&gt; 
&gt; as per now, in all three brosers (konqeror, firefox, chrome) the shortcuts work
&gt; with the pop up open.  the same works for the main menu in chrome and the file
&gt; menu in kmail2.
See comment #27. Switching keyboard layouts does work (the main shortcut for this is handled directly by xkb), but the global kde shortcuts do not... and that&apos;s what this bug is about.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1356386</commentid>
    <comment_count>77</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2013-04-01 06:11:05 +0000</bug_when>
    <thetext>*** Bug 298021 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1375158</commentid>
    <comment_count>78</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2013-06-09 03:18:30 +0000</bug_when>
    <thetext>*** Bug 320937 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1379595</commentid>
    <comment_count>79</comment_count>
    <who name="">uc</who>
    <bug_when>2013-06-26 18:04:50 +0000</bug_when>
    <thetext>FYI:  ksnapshot 4.10.3-1.30.1 will not capture a screen view if there is a menu pulled down in the Thunderbird 17.0.6 configuration page (specifically, the list of authentication methods).
KDE  4.10    openSuse 12.3    libqt 4.2.4

Posted here because a more specific bug was marked as a duplicate of this one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1416718</commentid>
    <comment_count>80</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2013-12-05 19:44:49 +0000</bug_when>
    <thetext>*** Bug 328463 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1451082</commentid>
    <comment_count>81</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2014-05-25 22:50:01 +0000</bug_when>
    <thetext>*** Bug 335333 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1533834</commentid>
    <comment_count>82</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2015-07-28 12:36:25 +0000</bug_when>
    <thetext>*** Bug 349802 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1534161</commentid>
    <comment_count>83</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2015-07-30 14:23:45 +0000</bug_when>
    <thetext>Good news: Plasma 5.4 will come with a new experimental Wayland backend. With Wayland we are able to better handle this situation and this issue should already be fixed in 5.4 on top of Wayland.

Given that it is an issue with X11 and unfixable with X11 I dare to mark the bug as resolved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1534615</commentid>
    <comment_count>84</comment_count>
    <who name="Philippe Cloutier">chealer</who>
    <bug_when>2015-08-02 00:09:03 +0000</bug_when>
    <thetext>Thank you for these good news Martin, but users will not stop using X11 because this doesn&apos;t affect it.
That Wayland is not affected does not resolve the bug. 

Unless this is not considered a KDE bug (in which case this should be marked INVALID), this should be retitled to specify X11 specificity and reopened until it is fixed in KDE, or until KDE drops support for X11.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1534619</commentid>
    <comment_count>85</comment_count>
    <who name="Christian González">christian.gonzalez</who>
    <bug_when>2015-08-02 02:31:10 +0000</bug_when>
    <thetext>Thanks Filipus Klutiero,, agreed.
Looking at the votes, this is no minor bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536010</commentid>
    <comment_count>86</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2015-08-10 07:35:22 +0000</bug_when>
    <thetext>I&apos;m sorry but this bug is not fixable with X11. It&apos;s a design problem in the X11 protocol and thus cannot be fixed on X11. It&apos;s pointless to keep the bug open for X11 as it cannot be fixed. Also there is no other place to report the bug and get it fixed. As it&apos;s a design problem in the X11 protocol it can only be fixed by a different protocol - e.g. Wayland.

As this happened now and we have support for it, I consider this bug as fixed. Please note that in KDE bugtracker we mark bugs as resolved fixed as soon as there is code which fixes the bug, not when it reaches the users. This might be unfortunate for the user, but it&apos;s the only way how we developers can handle our bugs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536051</commentid>
    <comment_count>87</comment_count>
    <who name="Philippe Cloutier">chealer</who>
    <bug_when>2015-08-10 10:56:14 +0000</bug_when>
    <thetext>This is certainly fixable with X11. Even if it was not going to be fixed, there would be a point in keeping the ticket open, i.e. allowing users to find it.

Indeed, tickets are marked as resolved when there is code which fixes, not when we find a context where &quot;the bug does not appear&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536054</commentid>
    <comment_count>88</comment_count>
    <who name="Dotan Cohen">kde-2011.08</who>
    <bug_when>2015-08-10 11:11:12 +0000</bug_when>
    <thetext>&gt; Given that it is an issue with X11 and unfixable with X11 I dare to mark the bug
&gt; as resolved.

Though I agree with the RESOLVED status if KDE devs have no intention of working on this, I disagree with the RESOLVED FIXED status unless KDE has Wayland as an official dependency. Perhaps RESOLVED WONTFIX would be more appropriate?

I say this with complete respect for the KDE devs and their time. I have nothing but appreciation for you guys!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536055</commentid>
    <comment_count>89</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2015-08-10 11:17:41 +0000</bug_when>
    <thetext>&gt; This is certainly fixable with X11

No, it&apos;s not. The problem is that a popup window normally grabs the keyboard and while the keyboard is grabbed no other process is able to get key events. The result is global shortcuts cannot work. As long as the X11 protocol allows to grab the keyboard and as long as there is no global shortcut support directly integrated into the X11 protocol this is unfixable. For both we need a new protocol - we can call it X12 or Wayland, doesn&apos;t matter.

&gt; I disagree with the RESOLVED FIXED status unless KDE has Wayland as an official dependency

Wayland has been a hard dependency of the Plasma workspace since the 5.2 release. Wayland is used already every time you lock the screen.

So let&apos;s not discuss semantics. I as the developer working on this issue decided that it&apos;s fixed and let&apos;s please stop the discussion about that. It just takes my time away from working on Wayland support :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536056</commentid>
    <comment_count>90</comment_count>
    <who name="Dotan Cohen">kde-2011.08</who>
    <bug_when>2015-08-10 11:28:14 +0000</bug_when>
    <thetext>&gt; Wayland has been a hard dependency of the Plasma workspace since
&gt; the 5.2 release. Wayland is used already every time you lock the screen.

I did not know that. If that is the case, then the issue is closed!

&gt; So let&apos;s not discuss semantics. I as the developer working on this issue decided
&gt; that it&apos;s fixed and let&apos;s please stop the discussion about that. It just takes my time
&gt; away from working on Wayland support :-)

Thank you Martin. As always, your valuable time is appreciated! Have a terrific week!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536184</commentid>
    <comment_count>91</comment_count>
    <who name="Philippe Cloutier">chealer</who>
    <bug_when>2015-08-11 00:36:28 +0000</bug_when>
    <thetext>Martin,
It may remain forever the case that global shortcuts don&apos;t work when any popup is active in X11. But that stops being a bug when users stop being deceived, for example thanks to documentation.

I do not consider you or anyone as &quot;the developer working on this issue&quot;, but in any case, nobody decides that bugs are fixed. Anybody can fix bugs, or not.
No one has asked you to participate or even monitor this discussion. All you were asked is to leave the ticket open until the issue is solved, just like we ask anyone to do with any ticket.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536241</commentid>
    <comment_count>92</comment_count>
    <who name="Dotan Cohen">kde-2011.08</who>
    <bug_when>2015-08-11 09:08:54 +0000</bug_when>
    <thetext>@Filipus: You might notice that Martin is a KDE developer, is working on this issue, and furthermore he is the _only_ KDE developer that is working on this issue. Thus, he is &quot;the developer working on this issue&quot;.

You are correct in the sense that anybody is welcome to contribute code for consideration to be included in KDE, thus if you would prefer that somebody else become &quot;the developer working on this issue&quot; then please convince them, or yourself, to do so. Until then, Martin remains &quot;the developer working on this issue&quot;. As in free software as in love, badgering or insulting somebody until they do what you want will not work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536242</commentid>
    <comment_count>93</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2015-08-11 09:10:12 +0000</bug_when>
    <thetext>Do whatever you want to do with this bug report, I&apos;m out of here!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536381</commentid>
    <comment_count>94</comment_count>
    <who name="Philippe Cloutier">chealer</who>
    <bug_when>2015-08-11 23:43:15 +0000</bug_when>
    <thetext>Dotan, I do not think of someone who considers an issue solved as working on that issue. And if the solution is deprecating X11, this will involve more than a single developer. Besides, as I wrote, bugs are not fixed because people decide they are - they are fixed when the software is changed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536393</commentid>
    <comment_count>95</comment_count>
    <who name="">auxsvr</who>
    <bug_when>2015-08-12 06:05:22 +0000</bug_when>
    <thetext>This is a well-known limitation of the X protocol, as explained by both experts Lubos Lunak and Martin Gräßlin. Further discussion of this seems to be pointless now that Wayland is going to replace it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1556738</commentid>
    <comment_count>96</comment_count>
    <who name="bartek">b.gedzior</who>
    <bug_when>2015-11-13 11:15:38 +0000</bug_when>
    <thetext>Maybe I&apos;m not an expert, but If its a limitation of X protocol, then why bug doesn&apos;t occur in firefox? It also work under X....
Let me explain. When you activate popup (try right button menu) and then try any shortcut. In firefox popup will be simply closed and shortcut will be executed. This is the behaviour I would expect and if its possible in firefox it should be possible in KDE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1556755</commentid>
    <comment_count>97</comment_count>
    <who name="ultr">ultr</who>
    <bug_when>2015-11-13 13:13:26 +0000</bug_when>
    <thetext>@bartek

You are right, it works for Firefox. But not for apps created with Qt4, GTK2 and GTK3.

The reason is Firefox (XUL?) grabs only the mouse pointer and not the keyboard when displaying a context menu. While the rest of the above grab both mouse and keyboard, thus overriding separate keyboard grabs for the shortcuts.

So, to fix this issue we would need to modify Qt (maybe already fixed in Qt5?) and GTK not to unnecessarily (?) grab the keyboard when displaying menus.

Please find the &apos;grabtest&apos; program in the attachment. It checks whether mouse and/or keyboard are already grabbed.
Comilation: gcc -lX11 grabtest.c -o grabtest
Test: Run &quot;sleep 3 &amp;&amp; ./grabtest&quot; and quickly open a context menu

Results:
1) no context menu:
MOUSE GRAB SUCCEEDED
KEYBOARD GRAB SUCCEEDED
2) Firefox context menu:
MOUSE GRAB FAILED, already grabbed?
KEYBOARD GRAB SUCCEEDED
3) Qt4 context menu (tested with Konsole 4.14.2)
MOUSE GRAB FAILED, already grabbed?
KEYBOARD GRAB FAILED, already grabbed?
4) GTK2 context menu (tested with GIMP 2.8)
MOUSE GRAB FAILED, already grabbed?
KEYBOARD GRAB FAILED, already grabbed?
5) GTK3 context menu (tested with Cheese 3.14.1)
MOUSE GRAB FAILED, already grabbed?
KEYBOARD GRAB FAILED, already grabbed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1556756</commentid>
    <comment_count>98</comment_count>
      <attachid>95476</attachid>
    <who name="ultr">ultr</who>
    <bug_when>2015-11-13 13:14:23 +0000</bug_when>
    <thetext>Created attachment 95476
grabtest.c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1556759</commentid>
    <comment_count>99</comment_count>
    <who name="ultr">ultr</who>
    <bug_when>2015-11-13 13:32:12 +0000</bug_when>
    <thetext>So, as auxsvr@gmail.com said, maybe the Wayland will fix this.
I just hope they have people who think about all the possible use-cases or leave wide space for extensions before creating the protocol...
(sorry for my ignorance, I didn&apos;t check the Wayland protocol yet)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1557090</commentid>
    <comment_count>100</comment_count>
    <who name="Dmitry Alexandrov">dag</who>
    <bug_when>2015-11-14 21:02:01 +0000</bug_when>
    <thetext>ultr&gt; You are right, it works for Firefox. But not for apps created with Qt4, GTK2 and GTK3. 

Funny. On my Debian GNU/Linux Jessie this problem does *not* occur in Qt4 programs (including KDE software). While GTK- (v2 and v3, except of Mozilla’s software) and Tk-based interfaces are affected.

$ konqueror --version
Qt: 4.8.6
KDE Development Platform: 4.14.2
Konqueror: 4.14.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1557099</commentid>
    <comment_count>101</comment_count>
    <who name="Dmitry Alexandrov">dag</who>
    <bug_when>2015-11-14 21:32:21 +0000</bug_when>
    <thetext>However, it’s quite possible that I just have not understood the point of the problem, since your ‘grabtest’ reports that ‘KEYBOARD GRAB FAILED’ for both Qt and GTK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1612406</commentid>
    <comment_count>102</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2016-08-05 14:52:00 +0000</bug_when>
    <thetext>*** Bug 366281 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1678938</commentid>
    <comment_count>103</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2017-06-02 03:32:09 +0000</bug_when>
    <thetext>*** Bug 380415 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>26407</attachid>
            <date>2008-07-25 17:27:53 +0000</date>
            <delta_ts>2008-07-25 17:27:53 +0000</delta_ts>
            <desc>qt4.4.0 patch</desc>
            <filename>qapplication_x11.cpp.patch</filename>
            <type>text/plain</type>
            <size>6564</size>
            <attacher name="Lubos Lunak">l.lunak</attacher>
            
              <data encoding="base64">LS0tIHFhcHBsaWNhdGlvbl94MTEuY3BwLnNhdgkyMDA4LTA3LTA4IDE4OjI0OjUyLjAwMDAwMDAw
MCArMDIwMAorKysgcWFwcGxpY2F0aW9uX3gxMS5jcHAJMjAwOC0wNy0yNSAxNjo1MzozNS4wMDAw
MDAwMDAgKzAyMDAKQEAgLTM0Myw3ICszNDMsOCBAQCBzdGF0aWMgV2luZG93IHByZXNzZWRfd2lu
ZG93ID0gWE5vbmU7CiAKIC8vIHBvcHVwIGNvbnRyb2wKIHN0YXRpYyBib29sIHJlcGxheVBvcHVw
TW91c2VFdmVudCA9IGZhbHNlOwotc3RhdGljIGJvb2wgcG9wdXBHcmFiT2s7CitzdGF0aWMgYm9v
bCBwb3B1cE1vdXNlR3JhYk9rOworc3RhdGljIGJvb2wgcG9wdXBLZXlib2FyZEdyYWJPazsKIAog
Ym9vbCBxdF9zbV9ibG9ja1VzZXJJbnB1dCA9IGZhbHNlOyAgICAgICAgICAgICAgICAvLyBzZXNz
aW9uIG1hbmFnZW1lbnQKIApAQCAtMzE5NCw2ICszMTk1LDE0IEBAIGludCBRQXBwb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OmtleWJvYXJkR3Jh
YmJlciAhPSAwKQotICAgICAgICAgICAgICAgICAgICBRV2lkZ2V0UHJpdmF0ZTo6a2V5Ym9hcmRH
cmFiYmVyLT5ncmFiS2V5Ym9hcmQoKTsKLSAgICAgICAgICAgICAgICBlbHNlCi0gICAgICAgICAg
ICAgICAgICAgIFhVbmdyYWJLZXlib2FyZChkcHksIFgxMS0+dGltZSk7CisgICAgICAgIGlmICgo
cG9wdXBNb3VzZUdyYWJPayA9IChyID09IEdyYWJTdWNjZXNzKSkpIHsKKyAgICAgICAgICAgIGlm
IChRQXBwbGljYXRpb25Qcml2YXRlOjphY3RpdmVfd2luZG93KQorICAgICAgICAgICAgICAgIHBv
cHVwS2V5Ym9hcmRHcmFiT2sgPSBmYWxzZTsgLy8gbm90IG5lZWRlZCwga2V5Ym9hcmQgZXZlbnRz
IHdpbGwgY29tZSBub3JtYWxseQorICAgICAgICAgICAgZWxzZSB7CisgICAgICAgICAgICAgICAg
ciA9IFhHcmFiS2V5Ym9hcmQoZHB5LCBwb3B1cC0+ZWZmZWN0aXZlV2luSWQoKSwgZmFsc2UsCisg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgR3JhYk1vZGVBc3luYywgR3JhYk1vZGVB
c3luYywgWDExLT50aW1lKTsKKyAgICAgICAgICAgICAgICBwb3B1cEtleWJvYXJkR3JhYk9rID0g
KHIgPT0gR3JhYlN1Y2Nlc3MpOwogICAgICAgICAgICAgfQogICAgICAgICB9CiAgICAgfQpAQCAt
MzcyMiw3ICszNzI5LDcgQEAgdm9pZCBRQXBwbGljYXRpb25Qcml2YXRlOjpjbG9zZVBvcHVwKFFX
aQogICAgIGlmIChRQXBwbGljYXRpb25Qcml2YXRlOjpwb3B1cFdpZGdldHMtPmNvdW50KCkgPT0g
MCkgeyAgICAgICAgICAgICAgICAvLyB0aGlzIHdhcyB0aGUgbGFzdCBwb3B1cAogICAgICAgICBk
ZWxldGUgUUFwcGxpY2F0aW9uUHJpdmF0ZT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AgICAgaWYgKFFXaWRnZXRQcml2YXRlOjprZXlib2FyZEdy
YWJiZXIgIT0gMCkKKyAgICAgICAgICAgICAgICAgICAgUVdpZGdldFByaXZhdGU6OmtleWJvYXJk
R3JhYmJlci0+Z3JhYktleWJvYXJkKCk7CisgICAgICAgICAgICAgICAgZWxzZQorICAgICAgICAg
ICAgICAgICAgICBYVW5ncmFiS2V5Ym9hcmQoZHB5LCBYMTEtPnRpbWUpOworICAgICAgICAgICAg
fQogCiAgICAgICAgICAgICBYRmx1c2goZHB5KTsKICAgICAgICAgfQpAQCAtMzc2OSwxOSArMzc4
MCwxNyBAQCB2b2lkIFFBcHBsaWNhdGlvblByaXZhdGU6OmNsb3NlUG9wdXAoUVdpCiAgICAgICAg
IGlmIChRQXBwbGljYXRpb25Qcml2YXRlOjpwb3B1cFdpZGdldHMtPmNvdW50KCkgPT0gMSAmJiAh
cXRfbm9ncmFiKCkpeyAvLyBncmFiIG1vdXNlL2tleWJvYXJkCiAgICAgICAgICAgICBEaXNwbGF5
ICpkcHkgPSBYMTEtPmRpc3BsYXk7CiAgICAgICAgICAgICBRX0FTU0VSVChhdy0+dGVzdEF0dHJp
YnV0ZShRdDo6V0FfV1N0YXRlX0NyZWF0ZWQpKTsKLSAgICAgICAgICAgIGludCByID0gWEdyYWJL
ZXlib2FyZChkcHksIGF3LT5lZmZlY3RpdmVXaW5JZCgpLCBmYWxzZSwKLSAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICBHcmFiTW9kZUFzeW5jLCBHcmFiTW9kZUFzeW5jLCBYMTEtPnRp
bWUpOwotICAgICAgICAgICAgaWYgKChwb3B1cEdyYWJPayA9IChyID09IEdyYWJTdWNjZXNzKSkp
IHsKLSAgICAgICAgICAgICAgICByID0gWEdyYWJQb2ludGVyKGRweSwgYXctPmVmZmVjdGl2ZVdp
bklkKCksIHRydWUsCisgICAgICAgICAgICBpbnQgciA9IFhHcmFiUG9pbnRlcihkcHksIHBvcHVw
LT5lZmZlY3RpdmVXaW5JZCgpLCB0cnVlLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgKEJ1dHRvblByZXNzTWFzayB8IEJ1dHRvblJlbGVhc2VNYXNrIHwgQnV0dG9uTW90aW9uTWFz
awogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgRW50ZXJXaW5kb3dNYXNrIHwg
TGVhdmVXaW5kb3dNYXNrIHwgUG9pbnRlck1vdGlvbk1hc2spLAogICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgR3JhYk1vZGVBc3luYywgR3JhYk1vZGVBc3luYywgWE5vbmUsIFhOb25l
LCBYMTEtPnRpbWUpOwotICAgICAgICAgICAgICAgIGlmICghKHBvcHVwR3JhYk9rID0gKHIgPT0g
R3JhYlN1Y2Nlc3MpKSkgewotICAgICAgICAgICAgICAgICAgICAvLyB0cmFuc2ZlciBncmFiIGJh
Y2sgdG8ga2V5Ym9hcmQgZ3JhYmJlcgotICAgICAgICAgICAgICAgICAgICBpZiAoUVdpZGdldFBy
aXZhdGU6OmtleWJvYXJkR3JhYmJlciAhPSAwKQotICAgICAgICAgICAgICAgICAgICAgICAgUVdp
ZGdldFByaXZhdGU6OmtleWJvYXJkR3JhYmJlci0+Z3JhYktleWJvYXJkKCk7Ci0gICAgICAgICAg
ICAgICAgICAgIGVsc2UKLSAgICAgICAgICAgICAgICAgICAgICAgIFhVbmdyYWJLZXlib2FyZChk
cHksIFgxMS0+dGltZSk7CisgICAgICAgICAgICBpZiAoKHBvcHVwTW91c2VHcmFiT2sgPSAociA9
PSBHcmFiU3VjY2VzcykpKSB7CisgICAgICAgICAgICAgICAgaWYgKFFBcHBsaWNhdGlvblByaXZh
dGU6OmFjdGl2ZV93aW5kb3cpCisgICAgICAgICAgICAgICAgICAgIHBvcHVwS2V5Ym9hcmRHcmFi
T2sgPSBmYWxzZTsgLy8gbm90IG5lZWRlZCwga2V5Ym9hcmQgZXZlbnRzIHdpbGwgY29tZSBub3Jt
YWxseQorICAgICAgICAgICAgICAgIGVsc2UgeworICAgICAgICAgICAgICAgICAgICByID0gWEdy
YWJLZXlib2FyZChkcHksIHBvcHVwLT5lZmZlY3RpdmVXaW5JZCgpLCBmYWxzZSwKKyAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgR3JhYk1vZGVBc3luYywgR3JhYk1vZGVBc3lu
YywgWDExLT50aW1lKTsKKyAgICAgICAgICAgICAgICAgICAgcG9wdXBLZXlib2FyZEdyYWJPayA9
IChyID09IEdyYWJTdWNjZXNzKTsKICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICB9CiAg
ICAgICAgIH0K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>95476</attachid>
            <date>2015-11-13 13:14:23 +0000</date>
            <delta_ts>2015-11-13 13:15:35 +0000</delta_ts>
            <desc>grabtest.c</desc>
            <filename>grabtest.c</filename>
            <type>text/x-csrc</type>
            <size>1308</size>
            <attacher name="ultr">ultr</attacher>
            
              <data encoding="base64">I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxYMTEvWGxpYi5oPgoKaW50IG1haW4oaW50IGFy
Z2MsIGNoYXIqKiBhcmd2KSB7CiAgICBEaXNwbGF5ICpkcHkgPSBYT3BlbkRpc3BsYXkoTlVMTCk7
CiAgICBpZiAoIWRweSkgewogICAgICAgIGZwcmludGYoc3RkZXJyLCAiVW5hYmxlIHRvIG9wZW4g
ZGlzcGxheS5cbiIpOwogICAgICAgIHJldHVybiAtMTsKICAgIH0KCiAgICBXaW5kb3cgcm9vdCA9
IFJvb3RXaW5kb3coZHB5LDApOwoKICAgIGludCByZXN1bHQ7CiAgICAKICAgIHJlc3VsdCA9IFhH
cmFiUG9pbnRlcihkcHksCiAgICAgICAgICAgICAgICAgICAgICAgICAgcm9vdCwKICAgICAgICAg
ICAgICAgICAgICAgICAgICBGYWxzZSwKICAgICAgICAgICAgICAgICAgICAgICAgICBCdXR0b25Q
cmVzc01hc2sgfCBCdXR0b25SZWxlYXNlTWFzaywKICAgICAgICAgICAgICAgICAgICAgICAgICBH
cmFiTW9kZVN5bmMsCiAgICAgICAgICAgICAgICAgICAgICAgICAgR3JhYk1vZGVTeW5jLAogICAg
ICAgICAgICAgICAgICAgICAgICAgIHJvb3QsCiAgICAgICAgICAgICAgICAgICAgICAgICAgTm9u
ZSwKICAgICAgICAgICAgICAgICAgICAgICAgICBDdXJyZW50VGltZSk7CiAgICBpZiAocmVzdWx0
ICE9IEdyYWJTdWNjZXNzKSB7CiAgICAgICAgZnByaW50ZihzdGRlcnIsICJNT1VTRSBHUkFCIEZB
SUxFRCwgYWxyZWFkeSBncmFiYmVkP1xuIik7CiAgICB9IGVsc2UgewogICAgICAgIGZwcmludGYo
c3RkZXJyLCAiTU9VU0UgR1JBQiBTVUNDRUVERURcbiIpOwogICAgICAgIFhVbmdyYWJQb2ludGVy
KGRweSwgQ3VycmVudFRpbWUpOwogICAgfQoKICAgIHJlc3VsdCA9IFhHcmFiS2V5Ym9hcmQoZHB5
LAogICAgICAgICAgICAgICAgICAgICAgICAgICByb290LAogICAgICAgICAgICAgICAgICAgICAg
ICAgICBGYWxzZSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgR3JhYk1vZGVTeW5jLAogICAg
ICAgICAgICAgICAgICAgICAgICAgICBHcmFiTW9kZVN5bmMsCiAgICAgICAgICAgICAgICAgICAg
ICAgICAgIEN1cnJlbnRUaW1lKTsKICAgIGlmIChyZXN1bHQgIT0gR3JhYlN1Y2Nlc3MpIHsKICAg
ICAgICBmcHJpbnRmKHN0ZGVyciwgIktFWUJPQVJEIEdSQUIgRkFJTEVELCBhbHJlYWR5IGdyYWJi
ZWQ/XG4iKTsKICAgIH0gZWxzZSB7CiAgICAgICAgZnByaW50ZihzdGRlcnIsICJLRVlCT0FSRCBH
UkFCIFNVQ0NFRURFRFxuIik7CiAgICAgICAgWFVuZ3JhYktleWJvYXJkKGRweSwgQ3VycmVudFRp
bWUpOwogICAgfQoKICAgIFhDbG9zZURpc3BsYXkgKGRweSk7CgogICAgcmV0dXJuIDA7Cn0K
</data>

          </attachment>
      

    </bug>

</bugzilla>