Bug 162451 - KDE3 Win+<key> shortcuts break <key> in KDE4
Summary: KDE3 Win+<key> shortcuts break <key> in KDE4
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-22 06:13 UTC by Tim "Taiwanese" Liim
Modified: 2008-07-04 16:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
khotkeysrc.bad: the hot key file that caused 'e' to drop. (19.04 KB, text/plain)
2008-05-22 06:14 UTC, Tim "Taiwanese" Liim
Details
khotkeysrc.good: a good hot key file with minimum diff from the bad file (18.47 KB, text/plain)
2008-05-22 06:15 UTC, Tim "Taiwanese" Liim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim "Taiwanese" Liim 2008-05-22 06:13:19 UTC
Version:            (using KDE 4.0.3)
Installed from:    Fedora RPMs
Compiler:          gcc, probably 4.3.0 I didn't compile it; I installed from binary package in Fedora 9.
OS:                Linux

Description of problem:
    Upgrade from F8 to F9.  Login with KDE, open konsole (or any
    other app), unable to type the key 'e' (yes, the plain vowel
    'e').  Previously in F8, I configured personalized hotkeys
    (specifically Win+E), using kde control center.

Version-Release number of selected component (if applicable):
    kdebase-4.0.3-9.fc9.i386

How reproducible:
    always, on 3 different notebooks (two Sony Vaios, one Thinkpad T-23).

Steps to Reproduce:
The hard, standard way:
    1. In F8, use kde control center to configure hot key using Win+E.
    2. Upgrade to F9.
    3. Login to KDE, open konsole or any app.
    4. type in 'qwerty'.
The easy way:
    1. in F9, copy attached file "khotkeysrc.bad" to
           ~/.kde/share/config/khotkeysrc
    2. Login to KDE, open konsole or any app.
    3. type in 'qwerty'.
  
Actual results:
    saw qwrty (no 'e').

Expected results:
    saw qwerty (with 'e').

Additional info:
    1. workaround: (for others who stumbled upon this issue)
           rm ~/.kde/share/config/khotkeysrc
       and recofigure your hot keys.

    2. I attached two files
                khotkeysrc.bad      # causing 'e' missing
                khotkeysrc.good     # 'e' works fine.
       so you can diff to find out the difference easily.

    3. I think the problem is the bad file has two 'Win+E'
       shortcuts assigned.  But since I did _not_ edit khotkeysrc
       prior to this issue, it must have come in from some Fedora
       processes, eg. during upgrade.  Nontheless, kde should not
       confuse 'e' with Win+E and drop the key 'e' in the presence
       of multiple Win+E.

    4. bug was originally reported in Fedora bug447179
           https://bugzilla.redhat.com/show_bug.cgi?id=447179
Comment 1 Tim "Taiwanese" Liim 2008-05-22 06:14:53 UTC
Created attachment 24886 [details]
khotkeysrc.bad: the hot key file that caused 'e' to drop.
Comment 2 Tim "Taiwanese" Liim 2008-05-22 06:15:39 UTC
Created attachment 24887 [details]
khotkeysrc.good: a good hot key file with minimum diff from the bad file
Comment 3 A. Spehr 2008-05-23 07:00:33 UTC
There is no way I can find this in here, but I'm pretty sure this is a dup. At any rate, this annoying bug was fixed a while back.
Comment 4 Frank Lin 2008-05-28 13:53:32 UTC
Fixed? this bug still happens in KDE 4.0.4 (F9).

For me, the missing keys are 'c', 'o', and 'q'.

I have to go to [System settings > Keyboard and mouse > Keyboard shortcuts > kded] and turn off the offending keys.

I have to do this *every time* to claim those keys back.
Comment 5 Rex Dieter 2008-05-28 14:43:52 UTC
reopening per comment #4.  If this issue was addressed somewhere, per comment #3, please provide details, and whether it was fixed in trunk only or in kde-4.0 branch as well.
Comment 6 Lubos Lunak 2008-05-31 22:21:21 UTC
The shortcuts code in kdelibs should automatically convert 'Win+' to 'Meta+' for backwards compatibility, instead of silently ignoring it.

Comment 7 Lubos Lunak 2008-07-04 16:51:51 UTC
SVN commit 828072 by lunakl:

Convert Win+<whatever> KDE3 shortcuts to Meta+<whatever>, so that
they don't end up as only <whatever>.
BUG: 162451



 M  +6 -2      kshortcut.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=828072