<?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>183458</bug_id>
          
          <creation_ts>2009-02-06 17:38:57 +0000</creation_ts>
          <short_desc>Numpad (keypad) keys not mapped correctly when setting Global Shortcuts</short_desc>
          <delta_ts>2017-08-15 14:17:18 +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>shortcuts</component>
          <version>4.5</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=357133</see_also>
          <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="Harikawashi">pfdevmuller</reporter>
          <assigned_to name="David Faure">faure</assigned_to>
          <cc>alphabravo</cc>
    
    <cc>andresbajotierra</cc>
    
    <cc>AndyKluger</cc>
    
    <cc>archsubuser</cc>
    
    <cc>arkangath</cc>
    
    <cc>atorgovitsky</cc>
    
    <cc>bjoernp72</cc>
    
    <cc>bugs.kde.pistos</cc>
    
    <cc>bugs.kde</cc>
    
    <cc>chris</cc>
    
    <cc>cmellwig</cc>
    
    <cc>cndedicated</cc>
    
    <cc>dag</cc>
    
    <cc>desintegr</cc>
    
    <cc>doc.evans</cc>
    
    <cc>duncan.clough+kde</cc>
    
    <cc>edoubrayrie</cc>
    
    <cc>elvanor</cc>
    
    <cc>faure</cc>
    
    <cc>fred.mitchell</cc>
    
    <cc>g111</cc>
    
    <cc>h.klene</cc>
    
    <cc>ironfroggy</cc>
    
    <cc>jarno.malmari</cc>
    
    <cc>joachim.jacob</cc>
    
    <cc>joshuafcole</cc>
    
    <cc>kde</cc>
    
    <cc>kde</cc>
    
    <cc>kdebugs</cc>
    
    <cc>kdelibs-bugs-null</cc>
    
    <cc>kishore96</cc>
    
    <cc>l22087</cc>
    
    <cc>lookanio</cc>
    
    <cc>luislezcair</cc>
    
    <cc>m.hatifnatt</cc>
    
    <cc>mac</cc>
    
    <cc>madumlao</cc>
    
    <cc>Marcin.Kasperski</cc>
    
    <cc>marens</cc>
    
    <cc>mhoppstaedter</cc>
    
    <cc>milan</cc>
    
    <cc>milovan.krivokapic</cc>
    
    <cc>mkbosmans</cc>
    
    <cc>mowalle.dev</cc>
    
    <cc>mynameislich</cc>
    
    <cc>navid.zamani</cc>
    
    <cc>pan.shizhu</cc>
    
    <cc>phopedush</cc>
    
    <cc>revealed</cc>
    
    <cc>rhansen</cc>
    
    <cc>scitechpol</cc>
    
    <cc>simonandric5</cc>
    
    <cc>stefan.loewen</cc>
    
    <cc>thomas.luebking</cc>
    
    <cc>thorsten.mueller.de</cc>
    
    <cc>tobias.bora</cc>
    
    <cc>v.ortex</cc>
    
    <cc>vet.roland</cc>
    
    <cc>watho</cc>
    
    <cc>woegjiub</cc>
    
    <cc>yellowhat46</cc>
    
    <cc>yogeshm.007</cc>
    
    <cc>yyyy12</cc>
          
          <cf_commitlink>https://commits.kde.org/kglobalaccel/2c20ddff034e4958bf0536ca91ae9e444955305d</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>868</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>712798</commentid>
    <comment_count>0</comment_count>
    <who name="Harikawashi">pfdevmuller</who>
    <bug_when>2009-02-06 17:38:57 +0000</bug_when>
    <thetext>Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Ubuntu Packages

When setting global shortcut keys, numpad keys seem to be mapped the same as their regular counterparts (eg. +, -). Pre KDE 4.2, numpad keys were mapped as &quot;KP_add&quot; or whatever the key might have been. This is no longer the case, and causes problems.

Specifically, I can&apos;t get Amarok 2.0.1 to recognise the numpad + and - (combined with windowskey) as global shortcuts for volume control. I&apos;ve tried setting them via Amarok, and via systemsettings, neither works.

Please let me know if you need any more info.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>754361</commentid>
    <comment_count>1</comment_count>
    <who name="Sergio PR">sergio.pe.facebook+kde</who>
    <bug_when>2009-05-08 23:53:37 +0000</bug_when>
    <thetext>I have the same problem :S

ArchLinux, KDE 4.2.2 from KDEmod</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>765982</commentid>
    <comment_count>2</comment_count>
    <who name="steini2000">steinwender</who>
    <bug_when>2009-05-28 01:30:29 +0000</bug_when>
    <thetext>Same problem here (Kubuntu KDE 4.2.2 and 4.2.3).

Setting the global shortcut: Pressing left Win and any plus (alphanumeric or numpad) produces Meta++ in dialog.
BUT: Only left Win and alphanumeric plus work.
Pressing left Win and numpad plus -&gt; nothing happens.

Setting different keyboard layouts doesn&apos;t help (tried en and de).
All (or most) keys from numpad are broken (at least 0-9, +, -, /, *).

kglobalshortcutsrc:
decreaseVolume=Meta+-,Meta+-,Decrease Volume
increaseVolume=Meta++,Meta++,Increase Volume</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>783922</commentid>
    <comment_count>3</comment_count>
    <who name="mac@phobos.ca">mac</who>
    <bug_when>2009-06-29 17:23:49 +0000</bug_when>
    <thetext>*** This bug has been confirmed by popular vote. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>783942</commentid>
    <comment_count>4</comment_count>
    <who name="mac@phobos.ca">mac</who>
    <bug_when>2009-06-29 18:14:25 +0000</bug_when>
    <thetext>Same problem here, KDE 4.2.2 from Debian testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>848572</commentid>
    <comment_count>5</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2009-10-22 01:17:48 +0000</bug_when>
    <thetext>*** Bug 166098 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>848574</commentid>
    <comment_count>6</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2009-10-22 01:17:56 +0000</bug_when>
    <thetext>*** Bug 208026 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>854160</commentid>
    <comment_count>7</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2009-11-01 23:18:49 +0000</bug_when>
    <thetext>*** Bug 212386 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>854632</commentid>
    <comment_count>8</comment_count>
    <who name="Chris Stewart">chris</who>
    <bug_when>2009-11-02 21:49:22 +0000</bug_when>
    <thetext>Same problem here on Ubuntu 9.10 (Karmic) with stock KDE 4.3.2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>855436</commentid>
    <comment_count>9</comment_count>
    <who name="Pistos">bugs.kde</who>
    <bug_when>2009-11-04 04:43:49 +0000</bug_when>
    <thetext>Gentoo, KDE 4.3.1.  Previously (in 3.5), I mapped my numpad keys to be global shortcuts for switching to desktops.  I can no longer do this in 4.3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>910959</commentid>
    <comment_count>10</comment_count>
    <who name="Jean-Noel Rivasseau">elvanor</who>
    <bug_when>2010-02-03 21:44:48 +0000</bug_when>
    <thetext>Could this bug severity be boosted? It appears still not fixed in 4.4 although it actually affects a lots of apps (Amarok for instance...)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>927849</commentid>
    <comment_count>11</comment_count>
    <who name="Sergio PR">sergio.pe.facebook+kde</who>
    <bug_when>2010-03-03 19:40:35 +0000</bug_when>
    <thetext>The bug persits on KDE 4.4.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>927891</commentid>
    <comment_count>12</comment_count>
    <who name="Chris Stewart">chris</who>
    <bug_when>2010-03-03 20:48:36 +0000</bug_when>
    <thetext>I think this is probably caused by a change in Qt4&apos;s handling of input (vs. Qt3).  I think this should be demonstrable in a simple (non-KDE specific) way.  I&apos;ll see if I can come up with a way to clearly show a difference, and therefore the unwanted behavior.  This bug is making me crazy.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>941859</commentid>
    <comment_count>13</comment_count>
    <who name="Eckhart Wörner">ewoerner</who>
    <bug_when>2010-03-29 04:41:42 +0000</bug_when>
    <thetext>*** Bug 190694 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>946664</commentid>
    <comment_count>14</comment_count>
    <who name="pan shi zhu">pan.shizhu</who>
    <bug_when>2010-04-08 05:00:43 +0000</bug_when>
    <thetext>I confirm this bug in my way: cannot set hotkeys in keypad AT ALL.

procedure:

1. set numlock off.
2. use system settings to set any shortcut to Ctrl+Alt+Keypad_PgUp
3. press Ctrl+Alt+Keypad_PgUp and found that the shortcut not activated at all.
4. press Ctrl+Alt+PgUp works, but this is not I want.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>948805</commentid>
    <comment_count>15</comment_count>
    <who name="Michael Trunner">kde</who>
    <bug_when>2010-04-12 19:17:36 +0000</bug_when>
    <thetext>The bug persits on KDE 4.4.2

Archlinux, KDE 4.4.2 from extra</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>949227</commentid>
    <comment_count>16</comment_count>
    <who name="Michael Trunner">kde</who>
    <bug_when>2010-04-13 20:46:33 +0000</bug_when>
    <thetext>As I can see Qt has an KeypadModifier like the MetaModifier or ShifModifier.
I think khotkeys doesn&apos;t handle that modifier information and doesn&apos;t safe it into the khotkeysrc. Because of this, the non keypad version of the short cut works instate of the expected one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1008430</commentid>
    <comment_count>17</comment_count>
    <who name="Pistos">bugs.kde</who>
    <bug_when>2010-08-23 16:03:33 +0000</bug_when>
    <thetext>I found a workaround.

Using xev and xmodmap, I changed the numpad keys to different keysyms.  For example, my ~/.Xmodmap file now has this in it:

keycode 87 = XF86Launch1
keycode 88 = XF86Launch2
keycode 89 = XF86Launch3
keycode 83 = XF86Launch4
keycode 84 = XF86Launch5
keycode 85 = XF86Launch6
keycode 79 = XF86Launch7
keycode 80 = XF86Launch8
keycode 81 = XF86Launch9
keycode 90 = XF86LaunchA
keycode 91 = XF86LaunchB

Then (after running `xmodmap ~/.Xmodmap`), KDE&apos;s Keyboard Shortcuts configuration can detect and map the numpad keys, thinking they are something else (in this case, Launch keys instead of KP_1, KP_2, etc.).  So, I&apos;m, in effect, tricking KDE, but I get the desired result, which is the ability to map my numpad to whatever I want.

Hope this helps some folks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1061112</commentid>
    <comment_count>18</comment_count>
    <who name="Alexey Shildyakov">ashl1future</who>
    <bug_when>2010-12-18 15:14:28 +0000</bug_when>
    <thetext>In Git version with KDE 4.5.4 Amarok is able to change volume by win + (+/-). But not in the numpad keys.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1075448</commentid>
    <comment_count>19</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2011-01-19 10:57:18 +0000</bug_when>
    <thetext>*** Bug 254536 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1075450</commentid>
    <comment_count>20</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2011-01-19 10:57:50 +0000</bug_when>
    <thetext>*** Bug 195445 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1081721</commentid>
    <comment_count>21</comment_count>
    <who name="Chris Stewart">chris</who>
    <bug_when>2011-01-31 14:07:51 +0000</bug_when>
    <thetext>KDE 4.5.5/Ubuntu 10.10 still maps the wrong keys when you use the numpad.  

Wow, we are coming up on a YEAR.  Oh well, back to Trinity for the time being.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1229982</commentid>
    <comment_count>22</comment_count>
    <who name="Björn Pfeiffer">bjoernp72</who>
    <bug_when>2012-02-23 23:25:00 +0000</bug_when>
    <thetext>Happy third anniversary!

KDE 4.8.0 in Sabayon 8 ... still there. 

In shortcut-settings, KP_LEFT  maps to Left-Arrow. When set, KP_LEFT ist not recognized as LEFT, so the input machinery makes a difference, it may be just that dialogue in system-settings that doesn&apos;t. It should work same as xev does.

This is annoying.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1243630</commentid>
    <comment_count>23</comment_count>
    <who name="">woegjiub</who>
    <bug_when>2012-04-07 01:55:54 +0000</bug_when>
    <thetext>Still not working, under KDE 4.8.x

This is rather distressing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1248425</commentid>
    <comment_count>24</comment_count>
    <who name="Duncan Clough">duncan.clough+kde</who>
    <bug_when>2012-04-22 10:39:48 +0000</bug_when>
    <thetext>This bug is still present in kubuntu 12.04...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1253056</commentid>
    <comment_count>25</comment_count>
    <who name="Joshua Cole">joshuafcole</who>
    <bug_when>2012-05-08 03:56:25 +0000</bug_when>
    <thetext>Concur, this is a critical bug for me, since that&apos;s 16 keys I used frequently for directional shortcuts that are inoperable without hacking around it via xmodmap (breaking compatibility with everything else).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1266438</commentid>
    <comment_count>26</comment_count>
    <who name="Lukasz Purgal">lookanio</who>
    <bug_when>2012-06-17 15:11:31 +0000</bug_when>
    <thetext>KDE 4.8.4 and state of this bugs hasn&apos;t changed :-( Tiling (kwin) is really useless without this bug beeing fixed :-(  
Guys, I hope you will cope with this soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1278433</commentid>
    <comment_count>27</comment_count>
    <who name="Tobias Bora">tobias.bora</who>
    <bug_when>2012-07-23 22:09:03 +0000</bug_when>
    <thetext>I confirm this very annoying bug (Kubuntu 12.04).

I hope you&apos;ll be able to solve it soon.

Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1282270</commentid>
    <comment_count>28</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2012-08-06 14:41:52 +0000</bug_when>
    <thetext>Michael -- I presume this is a bug in kkeyserver_x11, not in Qt itself?
There&apos;s some XK_KP_* stiff in that code, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1285358</commentid>
    <comment_count>29</comment_count>
    <who name="Martin Koller">martin</who>
    <bug_when>2012-08-16 13:17:28 +0000</bug_when>
    <thetext>*** Bug 178542 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1289592</commentid>
    <comment_count>30</comment_count>
    <who name="">l22087</who>
    <bug_when>2012-08-21 09:57:23 +0000</bug_when>
    <thetext>Ohh. Disapointing to see how long this has been around. This is my second day running KDE after converting from gnome. Hope it&apos;s fixed soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1291401</commentid>
    <comment_count>31</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2012-08-24 16:44:46 +0000</bug_when>
    <thetext>The numeric keys can&apos;t be differenciated from the standard digits, because Qt (qkeymapper_x11.cpp) assigns XK_KP_0 to Qt::Key_0, so we lose the distinction with the other &apos;0&apos; key. And the global shortcut is stored as a string (e.g. Ctrl+0), no distinction there either. After all the main point of the numeric keypad is to work like the real keys (even though X provides different keycodes for them, at the &quot;physical&quot; level).

OK, well, I suppose you guys would be happy if it at least worked, even if not differenciated. Right?

But there the problem is our code, like keyQtToSymX(), which assumes a given Qt key is mapped to a single X key (keysym).
symQt=48 -&gt; keySym=48, so kglobalaccel doesn&apos;t listen for keysym 0xffb0, KP_0.
KGlobalAccelImpl::grabKey() only grabs keysym 48, the standard &apos;0&apos; key. OK so possibly a hack in kde-runtime/kglobalaccel/kglobalaccel_x11.cpp can help...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1291420</commentid>
    <comment_count>32</comment_count>
      <attachid>73443</attachid>
    <who name="David Faure">faure</who>
    <bug_when>2012-08-24 17:47:16 +0000</bug_when>
    <thetext>Created attachment 73443
Patch for kde-runtime/kglobalaccel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1291423</commentid>
    <comment_count>33</comment_count>
      <attachid>73444</attachid>
    <who name="David Faure">faure</who>
    <bug_when>2012-08-24 17:49:57 +0000</bug_when>
    <thetext>Created attachment 73444
Patch for kdelibs/kdeui/util

These two patches make the numeric digits (0 to 9) work.

It seems there&apos;s a little bit more work needed for the other keys (Add, Subtract etc.) in kglobalaccel, we need to find out the &quot;alternate keysym&quot; for the Qt keys &apos;+&apos;, &apos;-&apos; etc.

To be finished when I&apos;m back to the office, i.e. in 10 days or so.

Meanwhile, please, if you&apos;re hit by this bug, please try these patches. I am not 100% confident that I didn&apos;t break something for other keys than the one I tested... given that the patches ended up being a lot more intrusive than I was initially hoping.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1291431</commentid>
    <comment_count>34</comment_count>
    <who name="Navid Zamani">navid.zamani</who>
    <bug_when>2012-08-24 18:09:51 +0000</bug_when>
    <thetext>(In reply to comment #31)
&gt; The numeric keys can&apos;t be differenciated from the standard digits, because
&gt; Qt (qkeymapper_x11.cpp) assigns XK_KP_0 to Qt::Key_0, so we lose the
&gt; distinction with the other &apos;0&apos; key. And the global shortcut is stored as a
&gt; string (e.g. Ctrl+0), no distinction there either. After all the main point
&gt; of the numeric keypad is to work like the real keys (even though X provides
&gt; different keycodes for them, at the &quot;physical&quot; level).

And another example of why dumbing-down things is bad. Simplifying is only good, if it doesn’t cost power. Otherwise you lose efficiency. Like here. :/

Very unfortunate…

&gt; OK, well, I suppose you guys would be happy if it at least worked, even if
&gt; not differenciated. Right?

Yes. Thanks a lot for the effort, man! :)

&gt; But there the problem is our code, like keyQtToSymX(), which assumes a given
&gt; Qt key is mapped to a single X key (keysym).

Why would it do that? That limitations has no use, yet takes away a lot of freedom. :(
Can we just get rid of the assumption for good?

I feel like it’s easier for us end-users, and application developers, to just switch to over to another toolkit. ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1291448</commentid>
    <comment_count>35</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2012-08-24 18:49:30 +0000</bug_when>
    <thetext>Actually, I&apos;m wrong about Qt, it sets &quot;Qt::KeypadModifier&quot; when seeing a numeric keypad key, so it does offer some distinction. We just need to handle this in KDE&apos;s code, if we want to differenciate it from the standard keys.
I suppose this is wanted?

When someone sets a shortcut for &quot;CTRL +&quot;, do they assume both &quot;+&quot; keys will work? I suppose so, because we don&apos;t have a different string representation anyway (CTRL KPAdd?). Hmm, Qt doesn&apos;t actually handle this in the conversion to/from string, AFAICS.

Anyway, keyQtToSymX() is our own code, we could make it return a list -- or like I did, handle the case of multiple keys externally. No need to switch to another toolkit, we can either make it work as is (with the keys not being differenciated, like my patch does), or improve Qt itself if necessary (e.g. for differenciation also in the string representation).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1291454</commentid>
    <comment_count>36</comment_count>
    <who name="Alexey Shildyakov">ashl1future</who>
    <bug_when>2012-08-24 19:06:25 +0000</bug_when>
    <thetext>My opinion in CTRL+&apos;+&apos;. If I use it I will want to handle both &apos;+&apos; - alphanumeric and in numpad. But the problem in this only case is the alpha-key has &apos;=&apos; as primary representation. So ctrl+&apos;+&apos; in text may produce ctrl+&apos;=&apos; if we are talking about symbols not keycodes of buttons.
Improve Qt to differentiate string representation is good idea. Modify function by adding argument determined the differentiation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1291457</commentid>
    <comment_count>37</comment_count>
    <who name="Navid Zamani">navid.zamani</who>
    <bug_when>2012-08-24 19:15:03 +0000</bug_when>
    <thetext>(In reply to comment #35)
&gt; I suppose this is wanted?
I suppose yes. From a usability/user standpoint, we see different keys on our keyboards, so we should be able to do different things with them. :)
(Especially, since advanced keyboard layouts don’t see the numpad as just a clone of the normal keys anyway. Let alone advanced *keyboards* posing as normal ones.)

&gt; When someone sets a shortcut for &quot;CTRL +&quot;, do they assume both &quot;+&quot; keys will work?
That question should never come up. The thing that stores the shortcuts should have all the same fields as the Qt key event, no? Including KeypadModifier, all other modifiers, locks, modes, and whatever there is. (I’d just store the key event directly in there, also directly compare the objects later [except for time stamps etc. of course]), and save the work. Dunno if that makes sense in Qt though… ;)

As for displaying things… Hmm… if keyQtToSymX() would eat the same stuff (like, the whole key events, or at least all the fields, including KeypadModifier), it could output the correct X keysym all the time, no? Resulting in 100% transparency, and the correct key(sym) displayed in the UI.

&gt; No need to switch to another toolkit,
I was just frustrated. In light of Qt::KeypadModifier, I’m a bit more relaxed again. :)

P.S.: I always offer free beers to every open-source developer who did software I use and happens to be in Cologne. (Since I don’t have any money, but like to say thanks anyway. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1294399</commentid>
    <comment_count>38</comment_count>
    <who name="Milovan">milovan.krivokapic</who>
    <bug_when>2012-09-05 08:53:40 +0000</bug_when>
    <thetext>This is still an issue in KDE 4.9. This bug is stretching from 4.2 to 4.9, I think it is time to be squashed! :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1294402</commentid>
    <comment_count>39</comment_count>
    <who name="Navid Zamani">navid.zamani</who>
    <bug_when>2012-09-05 09:36:32 +0000</bug_when>
    <thetext>(In reply to comment #38)
&gt; This bug is stretching from 4.2 to 4.9, …

It’s by far not the only one.
But please wait for the release (5.0). No point in attacking unfinished early beta versions that are not meant to be used by the general public.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1294673</commentid>
    <comment_count>40</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2012-09-06 13:26:10 +0000</bug_when>
    <thetext>4.9 is a stable release, not a beta for 5.0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1294675</commentid>
    <comment_count>41</comment_count>
    <who name="Navid Zamani">navid.zamani</who>
    <bug_when>2012-09-06 13:38:58 +0000</bug_when>
    <thetext>(In reply to comment #40)
&gt; 4.9 is a stable release, not a beta for 5.0.

Sorry, there seems to be a misunderstanding. 4.x is the beta branch for 5.0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1296538</commentid>
    <comment_count>42</comment_count>
    <who name="Milovan">milovan.krivokapic</who>
    <bug_when>2012-09-12 08:55:50 +0000</bug_when>
    <thetext>(In reply to comment #39)
&gt; (In reply to comment #38)
&gt; &gt; This bug is stretching from 4.2 to 4.9, …
&gt; 
&gt; It’s by far not the only one.
&gt; But please wait for the release (5.0). No point in attacking unfinished
&gt; early beta versions that are not meant to be used by the general public.

4.9 is a stable version of KDE. I have no idea how you came up with beta argument at all. Also afaik there is no KDE 5 but its planned to be KDE 4.10 which still has no relation with what I wrote.

I am aware there are other bugs also stretching through multiple KDE versions, and I didn&apos;t attack anyone. Perhaps you should reread my previous comment and think again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1296618</commentid>
    <comment_count>43</comment_count>
    <who name="Navid Zamani">navid.zamani</who>
    <bug_when>2012-09-12 11:24:22 +0000</bug_when>
    <thetext>(In reply to comment #42)
&gt; 4.9 is a stable version of KDE. I have no idea how you came up with beta
&gt; argument at all. Also afaik there is no KDE 5 but its planned to be KDE 4.10
&gt; which still has no relation with what I wrote.

I’m sorry. I inferred that KDE 4.x must be a developer line, like the odd versions of Gnome and Linux back in the times. (Where e.g. 2.3 and 2.5 were for development and 2.4 and 2.6 were for normal users.) I thought it was the same for KDE 4.x, because of its general buggyness and because of what other people wrote. It was sort of a natural conclusion that just was obvious to me, so I didn’t question it.

Thanks for the hint. I must have looked like an idiot to you guys. ;)
But hey, the thing really is quite buggy or even feels unfinished in so many places where it just shouldn’t for a stable release version. But you’re right. I should not complain, since it’s free, and should instead support you guys more, so that you have the time and resources.

&gt; and I didn&apos;t attack anyone.
Sorry, I didn’t mean to say that like that. Everything’s good. :)

Anyway… This was really off-topic for this bug. Sorry everyone.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1297940</commentid>
    <comment_count>44</comment_count>
    <who name="Milovan">milovan.krivokapic</who>
    <bug_when>2012-09-17 11:14:04 +0000</bug_when>
    <thetext>All ok, no worries. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1313067</commentid>
    <comment_count>45</comment_count>
    <who name="Milovan">milovan.krivokapic</who>
    <bug_when>2012-11-06 15:11:05 +0000</bug_when>
    <thetext>(In reply to comment #33)
&gt; Created attachment 73444 [details]
&gt; Patch for kdelibs/kdeui/util
&gt; 
&gt; These two patches make the numeric digits (0 to 9) work.
&gt; 
&gt; It seems there&apos;s a little bit more work needed for the other keys (Add,
&gt; Subtract etc.) in kglobalaccel, we need to find out the &quot;alternate keysym&quot;
&gt; for the Qt keys &apos;+&apos;, &apos;-&apos; etc.
&gt; 
&gt; To be finished when I&apos;m back to the office, i.e. in 10 days or so.
&gt; 
&gt; Meanwhile, please, if you&apos;re hit by this bug, please try these patches. I am
&gt; not 100% confident that I didn&apos;t break something for other keys than the one
&gt; I tested... given that the patches ended up being a lot more intrusive than
&gt; I was initially hoping.

Can we get a mini guide how to apply this patch? I d really like to give it a try.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1315933</commentid>
    <comment_count>46</comment_count>
    <who name="Tobias Bora">tobias.bora</who>
    <bug_when>2012-11-15 21:41:13 +0000</bug_when>
    <thetext>Hello !

I agree with Milovan, a mini guide would be quite helpful. Is is always available on kubuntu 12.10 ?

Do you have some news about the integration of this patche in the next kubuntu release ? When is it going to be add in the official KDE version ?

Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1321666</commentid>
    <comment_count>47</comment_count>
    <who name="tarnmarlin">mynameislich</who>
    <bug_when>2012-12-06 17:46:37 +0000</bug_when>
    <thetext>This is one legendary bug.  It is going to be 4 years old soon. Yet it&apos;s also the kind of thing you notice on day one. It just shows no one at KDE really uses their keyboard. It&apos;s actually a deal breaker and I keep going back and forth between KDE and GNOME JUST because of this. So many guides talk about how to work around this bug, instead of just fixing it. I can&apos;t care about fancy features if I can&apos;t even quick tile my windows properly (and using something other than the keypad risks interfering with emacs).

I hope this stupid bug gets fixed. Or I might have to waste my time looking at the source code instead. I don&apos;t have enough votes to give to this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1321675</commentid>
    <comment_count>48</comment_count>
    <who name="Navid Zamani">navid.zamani</who>
    <bug_when>2012-12-06 18:54:03 +0000</bug_when>
    <thetext>(In reply to comment #47)
I can tell you one thing: It will be fixed in a heartbeat, if xkb is dead.
Apparently it’s a horrible mess and so nobody wants to touch in even with a pitchfork, even after 4 years. I can relate to that.

I hope that xkb goes away. Maybe the kernel gets reworked so X doesn’t have to use its own implementation… or maybe Wayland does it differently…

I for one, consider the concept of a “desktop environment” to be a wrong concept we should never have started, and the “tablet” one to be a step in an even worse direction. Hence I detached myself and am making my own graphical shell for humans with fully working brains that actually want to create something with their computers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1373946</commentid>
    <comment_count>49</comment_count>
    <who name="Milan">milan</who>
    <bug_when>2013-06-04 22:59:09 +0000</bug_when>
    <thetext>Hi all,

After trying for some time I found a workaround. This works better than mapping the keys to XF86Launch using xmodmap like Pistos proposed. I tried it that way but I also use the numpad a lot for calculations etc so it was a no-go for me.

I found the following workaround using xbindkeys. First you need to install xbindkeys. Then you can map any key combination to a qbus kwin shortcut. You can get a list of all available shortcut names using the following command in the terminal:

qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.shortcutNames

and all window commands by:

qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.shortcutNames | grep Window

You can then use the shortcut name you want and bind the keys to it by modifing ~/.xbindkeysrc

I&apos;ve added the following to my .xbindkeysrc file:

## begin .xbindkeys

&quot;qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut &apos;Window Quick Tile Bottom Left&apos;&quot;
Control + Alt + KP_1

&quot;qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut &apos;Window Quick Tile Bottom Right&apos;&quot;
Control + Alt + KP_3

&quot;qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut &apos;Window Quick Tile Top Left&apos;&quot;
Control + Alt + KP_7

&quot;qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut &apos;Window Quick Tile Top Right&apos;&quot;
Control + Alt + KP_9

&quot;qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut &apos;Window Quick Tile Left&apos;&quot;
Control + Alt + KP_4

&quot;qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut &apos;Window Quick Tile Right&apos;&quot;
Control + Alt + KP_6

&quot;qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut &apos;Window Minimize&apos;&quot;
Control + Alt + KP_2

## end .xbindkeys

Now my numpad keys in combination with Control+Alt are used for tiling and maximizing windows.

Hope this helps someone!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1373947</commentid>
    <comment_count>50</comment_count>
    <who name="Milan">milan</who>
    <bug_when>2013-06-04 23:02:30 +0000</bug_when>
    <thetext>Forgot to add:

&quot;qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut &apos;Window Maximize&apos;&quot;
Control + Alt + KP_8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1374603</commentid>
    <comment_count>51</comment_count>
    <who name="Tobias Bora">tobias.bora</who>
    <bug_when>2013-06-06 19:15:25 +0000</bug_when>
    <thetext>@ Milan : Great !!! It works perfeclty, it is really simple to install, modify, configure, test... As long as it&apos;s not officially supported, this solution will be mine !

Thanks !</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1374607</commentid>
    <comment_count>52</comment_count>
    <who name="Milan">milan</who>
    <bug_when>2013-06-06 19:23:27 +0000</bug_when>
    <thetext>@Tobias : No problemo :-) If you can&apos;t find a specific key or if some combinations don&apos;t work you can also use the following command:

xbindkeys -k

This way you can find the keycode, for example c:86 is numpad +

Then just add Control+Alt+c:86 to .xbindkeysrc
I found that sometimes KP_Substract for example won&apos;t work, but if I use the keycode instead it does.

Milan</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1426393</commentid>
    <comment_count>53</comment_count>
    <who name="">phopedush</who>
    <bug_when>2014-01-23 00:02:31 +0000</bug_when>
    <thetext>Coming up on this bug&apos;s 5-year anniversary! Woo!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1428832</commentid>
    <comment_count>54</comment_count>
    <who name="Joachim Jacob">joachim.jacob</who>
    <bug_when>2014-02-05 10:07:58 +0000</bug_when>
    <thetext>Can still confirm the bug. I am in a testing phase, considering switching to KDE. But this is a major bug for me. It does not deserve status &apos;normal&apos; in terms of usability. KDE&apos;s focus seems to be the mouse indeed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1428904</commentid>
    <comment_count>55</comment_count>
    <who name="Pistos">bugs.kde.pistos</who>
    <bug_when>2014-02-05 16:39:39 +0000</bug_when>
    <thetext>@Joachim: The workaround I mentioned above has been serving me perfectly.  As such, this is a non issue for me.  Someone else also posted an alternative workaround.  Have you tried either of these?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1429876</commentid>
    <comment_count>56</comment_count>
    <who name="Joachim Jacob">joachim.jacob</who>
    <bug_when>2014-02-10 10:59:13 +0000</bug_when>
    <thetext>(In reply to comment #55)
&gt; @Joachim: The workaround I mentioned above has been serving me perfectly. 
&gt; As such, this is a non issue for me.  Someone else also posted an
&gt; alternative workaround.  Have you tried either of these?

To show my willingness to help, I have implemented the qbus workaround of Milan. 

Note:
1. definitely use &apos;xbindkeys -k&apos; to determine the keyboard shortcuts
2. the behaviour of this method seems to be &apos;switching&apos;: pressing numpad 9 again and again switches between previous position and top right tiling. This is not what I intended for.
3. there is no &apos;quick tile to top&apos; and &apos;quick tile to bottom&apos; (which I use the most actually).

So yes, thanks for asking, but unfortunately, after 30 minutes of work, it is still an issue for me. Don&apos;t ignore it please! :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1429929</commentid>
    <comment_count>57</comment_count>
    <who name="Tobias Bora">tobias.bora</who>
    <bug_when>2014-02-10 16:24:07 +0000</bug_when>
    <thetext>@Joachim Jacob : It is an other problem. The current behaviour is that if the window is already tiled, it comes back to it&apos;s previous position (that&apos;s not completely absurd...). I think you&apos;d like that when you press it several times it is more or less near from the screen border ? I don&apos;t know if it&apos;s possible for the moment (maybe a tiling scripts exists, I saw this one but I&apos;m not sure it&apos;s what you want http://kde-look.org/content/show.php/Tiling?content=161151), but you can ask it if someone is interested in making this kind of feature.

About the &quot;quick tile to top/bottom&quot; I was surprised to when I saw it wasn&apos;t present, maybe you could do a feature request, I don&apos;t think it&apos;s really hard to implement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1432172</commentid>
    <comment_count>58</comment_count>
    <who name="Vortex">v.ortex</who>
    <bug_when>2014-02-23 16:14:21 +0000</bug_when>
    <thetext>This ist extremely annoying, since I use the Numpad excessively. Five years for such a critical bug are unbelievable. PLEASE fix it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1434291</commentid>
    <comment_count>59</comment_count>
    <who name="">mhoppstaedter</who>
    <bug_when>2014-03-07 13:11:23 +0000</bug_when>
    <thetext>I also think that there should be a solution for this bug after such a long time. 
Please fix this. Thank you.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1434304</commentid>
    <comment_count>60</comment_count>
    <who name="Navid Zamani">navid.zamani</who>
    <bug_when>2014-03-07 14:01:11 +0000</bug_when>
    <thetext>Actually, it got worse. Now certain keyboard shortcuts do not work anymore at all in some layouts. It’s the same basic bug.

I think KDE needs a complete rewrite of its input system. From scratch. Including the underlying X layer’s part. It’s simply FUBAR.

Maybe as a Google Summer Of Code project?

Otherwise KDE 4 will never come out of beta.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1435882</commentid>
    <comment_count>61</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2014-03-16 11:18:43 +0000</bug_when>
    <thetext>&gt; Maybe as a Google Summer Of Code project?

If you find a programmer who understands keyboard internals of X11/xkbd, Qt4/xlib, Qt5 /xcb, and kdelibs/khotkeys/kglobalaccel, then please direct him here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1508192</commentid>
    <comment_count>62</comment_count>
    <who name="">yellowhat46</who>
    <bug_when>2015-03-30 20:39:24 +0000</bug_when>
    <thetext>Any news about this bug in plasma 5?
I am on arch linux with KDE 5.8.0 and I have this bug.

Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1513191</commentid>
    <comment_count>63</comment_count>
    <who name="thorsten">thorsten.mueller.de</who>
    <bug_when>2015-04-24 13:00:54 +0000</bug_when>
    <thetext>Bug still exists in Plasma5 with KDE 5.9.0

Could we at least have it to respond to the numpad? If I set something to Ctrl+1 and during setting it accepts and recognizes this combination why can&apos;t it do this later when I use it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1514117</commentid>
    <comment_count>64</comment_count>
    <who name="Luis Lezcano Airaldi">luislezcair</who>
    <bug_when>2015-04-27 18:26:44 +0000</bug_when>
    <thetext>I think this bug is the same as https://bugs.kde.org/show_bug.cgi?id=346806</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1537319</commentid>
    <comment_count>65</comment_count>
    <who name="Gerard">scitechpol</who>
    <bug_when>2015-08-16 23:33:45 +0000</bug_when>
    <thetext>Year 2015. The bug persists.

The shortcuts recorder saves the combination &quot;Control + Alt + KP_6&quot; as &quot;Control + Alt + 6&quot;. So you need to use the second shortcut, not the first.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1570017</commentid>
    <comment_count>66</comment_count>
    <who name="">AndyKluger</who>
    <bug_when>2016-01-16 15:37:52 +0000</bug_when>
    <thetext>Is kdelibs still the correct product for this bug, or should it be re-associated with a different one, such as plasma-frameworks?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1593528</commentid>
    <comment_count>67</comment_count>
    <who name="revealed">revealed</who>
    <bug_when>2016-05-10 10:49:59 +0000</bug_when>
    <thetext>Hello.

I&apos;m facing the very same issue with openSUSE Tumbleweed 20160505. Plasma 5.6.3 ;

My keyboard is of a Logitech MK700 / MK710 pack. Mouse/keyboard combo.

In Plasma i use the model &quot;Logitech / Generic&quot; different models did not change the behaviour.

I wanted to use meta and Numeric Plus Minus for the screenmagnifier. Workaround for me is to enable xbindkeys to autostart as sugguested in comment #49. My $HOME/.xbindkeysrc:
# begin .xbindkeys
&quot;qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut &apos;view_zoom_out&apos;&quot;
Mod2+Mod4 + Super_L + KP_Subtract
&quot;qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut &apos;view_zoom_in&apos;&quot;
Mod2+Mod4 + Super_L + KP_Add
## end .xbindkeys

Mod2+ is &quot;Num&quot; (Probably unneccesary).

I was allowed to compare the output of:
xbindkeys -k where the same buttons are working with my machine. The silly is. They produce the very same output. But the one works, and the other not.

Many Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1659207</commentid>
    <comment_count>68</comment_count>
    <who name="madumlao">madumlao</who>
    <bug_when>2017-02-06 22:47:53 +0000</bug_when>
    <thetext>Happy 8 years :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1659229</commentid>
    <comment_count>69</comment_count>
    <who name="Pistos">bugs.kde.pistos</who>
    <bug_when>2017-02-07 03:22:18 +0000</bug_when>
    <thetext>Happy birthday to you,
Happy birthday to you,
Happy birthday dear
KDE-numpad-bug-that-has-not-been-fixed-in-nearly-a-decaaaaaaade....
... happy birthday to you!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1659242</commentid>
    <comment_count>70</comment_count>
    <who name="Navid Zamani">navid.zamani</who>
    <bug_when>2017-02-07 06:13:05 +0000</bug_when>
    <thetext>🎼 Happy crumble dayy … KDEE …
🎼 You are wayy … too buggy for mee …
🎼 Gone to Enlightenment … cause of youu …
🎼 Happy Enlightenment … ’s buggy too. :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1659255</commentid>
    <comment_count>71</comment_count>
    <who name="Marcin Kasperski">Marcin.Kasperski</who>
    <bug_when>2017-02-07 07:38:58 +0000</bug_when>
    <thetext>Happy xbindkeys.
Works whatever is desk.

PS What about dropping current keybinding module altogether and just using xbindkeys instead as KDE key-shortcut app (and porting setup module to generating it&apos;s config)? I am serious…</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1659292</commentid>
    <comment_count>72</comment_count>
    <who name="Navid Zamani">navid.zamani</who>
    <bug_when>2017-02-07 08:26:25 +0000</bug_when>
    <thetext>(In reply to Marcin Kasperski from comment #71)

My guess is, that  KDE plans on just moving to Wayland, and dropping X in its entirety. Apparently it was never fun to work with, and isn’t worth it anymore.
So this bug will never be fixed. Ever.

Don’t expect the new stuff to be any less buggy though. It wouldn’t be KDE, if anything would ever leave the early alpha quality level. As always, there will be a lot of settings, but you’re a weirdo if you actually use them and notice that everything breaks, as “everything works fine and is very stable” for the developers, who apparently never use any of them themselves. ;)
(I should create a “Advanced Control Panel” for Gnome 3, with a bazillion settings to play with, that all just cause Gnome 3 to crash. And then I should make big advertisement everywhere about how Gnome 3 is way more configurable than KDE. If KDE then disagrees because they don’t work, I’d tell them “and neither do yours”. … But I won’t … because it would mean learning *gag* Gnome 3. ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671241</commentid>
    <comment_count>73</comment_count>
    <who name="">archsubuser</who>
    <bug_when>2017-04-13 12:13:28 +0000</bug_when>
    <thetext>&gt; set quick tile shortcuts to meta+alt+[numkey]
&gt; google for quick tile shortcut bugs for like an hour
&gt; remember to try checking bug tracker
&gt; immediately find this bug report
&gt; be excited that at least quick tiling itself works, and it&apos;s actually a problem with numpad input, so I have that going for me, which is nice
&gt; see that bug was reported in 2009
&gt; question hatred for GNOME
&gt; remap quick tile shortcuts to p[]l;&apos;,./ like I&apos;m on a stupid %*^#ing netbook
&gt; add to list of reasons to learn C++</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1677084</commentid>
    <comment_count>74</comment_count>
    <who name="Lord Alveric">fred.mitchell</who>
    <bug_when>2017-05-19 18:43:08 +0000</bug_when>
    <thetext>This is a long-standing bug. I&apos;m affected by it too. It is also embarrassing. I know workarounds have been posted over what is nearly a decade...!!!!

My keyboards all have the numeric pad that never sees much use because of this bug. I have 9 virtual desktops, and would only been massively cool if I could simply use this keypad to call them up.

Please, please, PLEASE fix this bug already. I&apos;d do it myself but I have so many projects in the fire right now I don&apos;t have the time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1677101</commentid>
    <comment_count>75</comment_count>
    <who name="madumlao">madumlao</who>
    <bug_when>2017-05-19 22:57:32 +0000</bug_when>
    <thetext>I have a morbid fascination with watching this bug remain unfixed. There should be Linux user group parties all over the world for the 10 year anniversary. Mark it in your korganizers folks: 2019-02-06, the 10-year kde numpad bug party. Heck invite your GNOME friends along!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1677102</commentid>
    <comment_count>76</comment_count>
    <who name="Navid Zamani">navid.zamani</who>
    <bug_when>2017-05-20 00:54:41 +0000</bug_when>
    <thetext>Since this bug has turned into a bulletin board by now…

Frankly, there is no viable desktop environment for Linux nowadays.
• KDE hasn’t left “early beta” quality since 4.0, as this bug shows. Try anything out of the ordinary in the settings, and it will either be broken or not exist anymore. (Kate is still my favorite though.)
• Gnome took it to its logical conclusion, and just removed all the features right away anyway. Including themability. (Qalculate still can’t be beaten though.)
• Ditto for Cinnamon/Mate, which are of better quality, but still crippled by minimalism.
• XFCE et al are even more minimal, so even less viable for non-consumers.
• Enlightenment is currently in a large transition, and also only works if you don’t try anything too much out of the ordinary, if at all.

I think it is time for something new. Something clean and elegant, yet uncompromisingly powerful. A true Linux PC graphical shell. Not a “desktop environment”. Not a command line / search. Yet with all the advantages of both.

Where is it though?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1677876</commentid>
    <comment_count>77</comment_count>
    <who name="Gerard">scitechpol</who>
    <bug_when>2017-05-26 15:36:11 +0000</bug_when>
    <thetext>(In reply to Navid Zamani from comment #76)
&gt; Since this bug has turned into a bulletin board by now…
&gt; 
&gt; Frankly, there is no viable desktop environment for Linux nowadays.
&gt; • KDE hasn’t left “early beta” quality since 4.0, as this bug shows. Try
&gt; anything out of the ordinary in the settings, and it will either be broken
&gt; or not exist anymore. (Kate is still my favorite though.)
&gt; • Gnome took it to its logical conclusion, and just removed all the features
&gt; right away anyway. Including themability. (Qalculate still can’t be beaten
&gt; though.)
&gt; • Ditto for Cinnamon/Mate, which are of better quality, but still crippled
&gt; by minimalism.
&gt; • XFCE et al are even more minimal, so even less viable for non-consumers.
&gt; • Enlightenment is currently in a large transition, and also only works if
&gt; you don’t try anything too much out of the ordinary, if at all.
&gt; 
&gt; I think it is time for something new. Something clean and elegant, yet
&gt; uncompromisingly powerful. A true Linux PC graphical shell. Not a “desktop
&gt; environment”. Not a command line / search. Yet with all the advantages of
&gt; both.
&gt; 
&gt; Where is it though?

Hi, Navid. I loved KDE 4 and I used this temporary solution by binding some shortcuts using xbindkeys. Check my dotfiles: https://github.com/gerardbm/dotfiles/blob/master/.xbindkeysrc

However, KDE 5 (Plasma) is more buggy, so I switched to i3-gaps and I recommend a &apos;tiling windows manager&apos; more than &apos;desktop environments&apos;. It&apos;s a subjective opinion, of course. 

Windows managers are clean, elegant and they can be configured through dotfiles, so you can save them in a github repository and clone to any machine to use  the same configuration. 

There are some interesting WMs: dwm (configured in C, so you need to compile it every time), awesome (configured in Lua and more extensible), xmonad (configured in haskell), etc. Take a look at Unixporn on Reddit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1678426</commentid>
    <comment_count>78</comment_count>
    <who name="Jarno Malmari">jarno.malmari</who>
    <bug_when>2017-05-30 10:24:12 +0000</bug_when>
    <thetext>Thanks for the workaround @Milan! Giving two cents back, here&apos;s a Scheme version (.xbindkeysrc.scm):

(map (lambda (binding)
       (xbindkey-function
        (car binding)
        (lambda ()
          (run-command (string-append
                        &quot;qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut &apos;&quot;
                        (cadr binding)
                        &quot;&apos;&quot;)))))
     &apos;(((Mod4 KP_Up)    &quot;Window Maximize&quot;)
       ((Mod4 KP_Down)  &quot;Window Minimize&quot;)
       ((Mod4 KP_Left)  &quot;Window Quick Tile Left&quot;)
       ((Mod4 KP_Right) &quot;Window Quick Tile Right&quot;)
       ))</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1682585</commentid>
    <comment_count>79</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2017-06-15 08:05:13 +0000</bug_when>
    <thetext>My new laptop has a numeric keypad, so I was actually able to come back to debugging this.

Qt5 supports &quot;Ctrl+Num+1&quot; since Qt 5.1 (which is something that some of you people could have found out, rather than just ranting), we just need to record it that way, and grab that.

See https://phabricator.kde.org/D6226 for a start.
I also have worked on kwindowsystem and kglobalaccel for global accel support, it works, but Ctrl+&amp; doesn&apos;t work (implicit shift), I need to find out if it was broken by my changes and how to fix it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1682706</commentid>
    <comment_count>80</comment_count>
    <who name="Navid Zamani">navid.zamani</who>
    <bug_when>2017-06-15 23:12:22 +0000</bug_when>
    <thetext>(In reply to David Faure from comment #79)

Thanks for looking into this.
You must understand,that after 8 years, we simply have given up, and also don’t consider it to be our job. We’ve long switched to something more sensible, and at least I consider KDE dead now. So it’d be a waste of time. (Ranting still feels good though. :P)

Also, I have a layout with three different kinds of shift keys, where this bug disables way more than just certain numpad combinations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1682741</commentid>
    <comment_count>81</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2017-06-16 07:30:09 +0000</bug_when>
    <thetext>Git commit 033ad8c63a728904d464a3566ccd71f69ad946ad by David Faure.
Committed on 16/06/2017 at 07:29.
Pushed by dfaure into branch &apos;master&apos;.

KKeySequenceWidget: make it possible to record Ctrl+Num+1 as a shortcut.

Summary:
Qt supports this string representation for Qt::KeypadModifier since 5.1
but this code didn&apos;t support that modifier.

This is the easy part of the fix for the 8-years-old bug, and it makes
it possible to use the numeric keypad for application shortcuts.

The bigger issue is handling of keypad modifiers in global shortcuts
(patches to come for kwindowsystem and kglobalaccel).

Test Plan: Set shortcut Ctrl+Num+1 for &quot;decrement number by 1&quot; action in kate, works.

Reviewers: aacid

Reviewed By: aacid

Subscribers: apol, #frameworks

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D6226

M  +17   -14   src/kkeysequencewidget.cpp

https://commits.kde.org/kxmlgui/033ad8c63a728904d464a3566ccd71f69ad946ad</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1682745</commentid>
    <comment_count>82</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2017-06-16 07:38:41 +0000</bug_when>
    <thetext>&quot;job&quot; ? Nobody&apos;s getting paid here. You, me, everyone else, we&apos;re all working *together* on free software. Fixing it is everybody&apos;s and nobody&apos;s *job*. If you stopped caring about KDE, that&apos;s fine, you can unsubscribe from this report. I&apos;m fixing this for the other people who voted for this bug - and who knows, maybe I&apos;ll need such a shortcut myself one day.

The fixes are up for review now.
https://phabricator.kde.org/D6233
https://phabricator.kde.org/D6234</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1682831</commentid>
    <comment_count>83</comment_count>
    <who name="Navid Zamani">navid.zamani</who>
    <bug_when>2017-06-16 15:23:56 +0000</bug_when>
    <thetext>(In reply to David Faure from comment #82)
&gt; &quot;job&quot; ?

You know exactly how I meant it, yet your reaction is so … KDEy…
Not my job does not imply your job. Nor does any of it imply employment or being paid. English “job” is broader than Denglish “Job”.

&gt;  You, me, everyone else, we&apos;re all working *together* on free software.

Nope. We’re not in KDE together. My work resources go towards ending the concepts  “Desktop” (and not in favor of mobile OSes either), “Application”, “Button”, etc, forever, in favor of a OS for *computer users* (as opposed to app[lication] users).

&lt;/thread&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1683237</commentid>
    <comment_count>84</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2017-06-18 21:08:36 +0000</bug_when>
    <thetext>*** Bug 357133 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1694019</commentid>
    <comment_count>85</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2017-08-11 06:26:28 +0000</bug_when>
    <thetext>Git commit 32526718eae99ccb594360627586eebdf793372b by David Faure.
Committed on 11/08/2017 at 06:26.
Pushed by dfaure into branch &apos;master&apos;.

KKeyServer: fix handling of KeypadModifier.

Summary:
This required adding a new method symXModXToKeyQt since
symXToKeyQt (without modifier as input) has no way to find out
whether to use XK_KP_1 or XK_1. For this reason symXToKeyQt is now
deprecated.

Includes a unittest for keyQtToSymX, keyQtToModX and symXModXToKeyQt.

Test Plan:
After porting kglobalaccel to KKeyServer::xcbKeyPressEventToQt,
the following global shortcuts were successfully tested:
Ctrl+1, Ctrl+Num+1, Ctrl+Num+/, Ctrl+F1, Ctrl+&amp; (implicit shift)

Reviewers: graesslin

Subscribers: graesslin, #frameworks

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D6233

M  +1    -0    autotests/CMakeLists.txt
A  +79   -0    autotests/kkeyserver_x11_unittest.cpp     [License: LGPL (v2/3+eV)]
M  +96   -52   src/platforms/xcb/kkeyserver.cpp
M  +13   -1    src/platforms/xcb/kkeyserver_x11.h

https://commits.kde.org/kwindowsystem/32526718eae99ccb594360627586eebdf793372b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1694744</commentid>
    <comment_count>86</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2017-08-15 14:17:18 +0000</bug_when>
    <thetext>Git commit 2c20ddff034e4958bf0536ca91ae9e444955305d by David Faure.
Committed on 06/08/2017 at 21:38.
Pushed by dfaure into branch &apos;master&apos;.

KGlobalAccel: port to KKeyServer&apos;s new method symXModXToKeyQt, to fix numpad keys

Test Plan:
the following global shortcuts were successfully tested:
Ctrl+1, Ctrl+Num+1, Ctrl+Num+/, Ctrl+F1, Ctrl+&amp; (implicit shift)

Differential Revision: https://phabricator.kde.org/D6234

M  +7    -45   src/runtime/plugins/xcb/kglobalaccel_x11.cpp

https://commits.kde.org/kglobalaccel/2c20ddff034e4958bf0536ca91ae9e444955305d</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>73443</attachid>
            <date>2012-08-24 17:47:16 +0000</date>
            <delta_ts>2012-08-24 17:47:16 +0000</delta_ts>
            <desc>Patch for kde-runtime/kglobalaccel</desc>
            <filename>kglobalaccel_keypad.diff</filename>
            <type>text/plain</type>
            <size>7217</size>
            <attacher name="David Faure">faure</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL2tnbG9iYWxhY2NlbC9rZ2xvYmFsYWNjZWxfeDExLmNwcCBiL2tnbG9iYWxh
Y2NlbC9rZ2xvYmFsYWNjZWxfeDExLmNwcAppbmRleCBkYmUxZjMyLi5hMzYxY2E0IDEwMDY0NAot
LS0gYS9rZ2xvYmFsYWNjZWwva2dsb2JhbGFjY2VsX3gxMS5jcHAKKysrIGIva2dsb2JhbGFjY2Vs
L2tnbG9iYWxhY2NlbF94MTEuY3BwCkBAIC04Niw3NCArODYsOTUgQEAgYm9vbCBLR2xvYmFsQWNj
ZWxJbXBsOjpncmFiS2V5KCBpbnQga2V5UXQsIGJvb2wgZ3JhYiApCiAJCXJldHVybiBmYWxzZTsK
IAl9CiAKLQlpbnQga2V5Q29kZVg7Ci0JdWludCBrZXlNb2RYOworCS8vIFJlc29sdmUgdGhlIFgg
c3ltYm9sCiAJdWludCBrZXlTeW1YOworCWlmKCAhS0tleVNlcnZlcjo6a2V5UXRUb1N5bVgoa2V5
UXQsIChpbnQgKikma2V5U3ltWC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dGhpcyBwb2ludC4KIAl2
b2lkIHNldEVuYWJsZWQoYm9vbCk7CiAKIHByaXZhdGU6CisJYm9vbCBncmFiWEtleVN5bSh1aW50
IGtleVN5bVgsIGludCBrZXlRdCwgYm9vbCBncmFiKTsKKwogCS8qKgogCSAqIEZpbHRlcnMgWDEx
IGV2ZW50cyBldiBmb3Iga2V5IGJpbmRpbmdzIGluIHRoZSBhY2NlbGVyYXRvciBkaWN0aW9uYXJ5
LgogCSAqIElmIGEgbWF0Y2ggaXMgZm91bmQgdGhlIGFjdGl2YXRlZCBhY3RpdmF0ZWQgaXMgZW1p
dHRlZCBhbmQgdGhlIGZ1bmN0aW9uCkBAIC02NSw3ICs2Nyw3IEBAIHByaXZhdGU6CiAJdmlydHVh
bCBib29sIHgxMUV2ZW50KCBYRXZlbnQqICk7CiAJdm9pZCB4MTFNYXBwaW5nTm90aWZ5KCk7CiAJ
Ym9vbCB4MTFLZXlQcmVzcyggY29uc3QgWEV2ZW50ICpwRXZlbnQgKTsKLQkKKwogICAgIEdsb2Jh
bFNob3J0Y3V0c1JlZ2lzdHJ5ICptX293bmVyOwogfTsKIAo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>73444</attachid>
            <date>2012-08-24 17:49:57 +0000</date>
            <delta_ts>2012-08-24 17:49:57 +0000</delta_ts>
            <desc>Patch for kdelibs/kdeui/util</desc>
            <filename>kdelibs_keypad.diff</filename>
            <type>text/plain</type>
            <size>876</size>
            <attacher name="David Faure">faure</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL2tkZXVpL3V0aWwva2tleXNlcnZlcl94MTEuY3BwIGIva2RldWkvdXRpbC9r
a2V5c2VydmVyX3gxMS5jcHAKaW5kZXggNWE3ZDZkOC4uMDQ4OTU0MCAxMDA2NDQKLS0tIGEva2Rl
dWkvdXRpbC9ra2V5c2VydmVyX3gxMS5jcHAKKysrIGIva2RldWkvdXRpbC9ra2V5c2VydmVyX3gx
MS5jcHAKQEAgLTczNCwxMSArNzM0LDE4IEBAIGJvb2wgc3ltWFRvS2V5UXQoIHVpbnQga2V5U3lt
LCBpbnQqIGtleVF0ICkKICAgICAgICAgZWxzZQogICAgICAgICAgICAgKmtleVF0ID0ga2V5U3lt
OwogICAgIH0KLQotICAgIGVsc2UgaWYoIGtleVN5bSA8IDB4MzAwMCApCisgICAgZWxzZSBpZigg
a2V5U3ltIDwgMHgzMDAwICkgewogICAgICAgICAqa2V5UXQgPSBrZXlTeW07CisgICAgfQorICAg
IGVsc2UgaWYgKGtleVN5bSA+PSBYS19LUF9TcGFjZSAmJiBrZXlTeW0gPD0gWEtfS1BfOSkgewor
ICAgICAgICBrRGVidWcoKSA8PCAibnVtZXJpYyBrZXlwYWQhIjsKKyAgICAgICAgaWYgKGtleVN5
bSA+PSBYS19LUF8wKSB7CisgICAgICAgICAgICAvLyBudW1lcmljIGtleXBhZCBrZXlzCisgICAg
ICAgICAgICAqa2V5UXQgPSBRdDo6S2V5XzAgKyAoKGludClrZXlTeW0gLSBYS19LUF8wKTsKKyAg
ICAgICAgfQorICAgIH0KIAotICAgIGVsc2UgeworICAgIGlmICgqa2V5UXQgPT0gUXQ6OktleV91
bmtub3duKSB7CiAgICAgICAgIGZvciggdWludCBpID0gMDsgaSA8IHNpemVvZihnX3JnUXRUb1N5
bVgpL3NpemVvZihUcmFuc0tleSk7IGkrKyApCiAgICAgICAgICAgICBpZiggZ19yZ1F0VG9TeW1Y
W2ldLmtleVN5bVggPT0ga2V5U3ltICkgewogICAgICAgICAgICAgICAgICprZXlRdCA9IGdfcmdR
dFRvU3ltWFtpXS5rZXlTeW1RdDsK
</data>

          </attachment>
      

    </bug>

</bugzilla>