Bug 109585

Summary: don't save settings (no shortcut when you reopen kconfig)
Product: [Unmaintained] kcontrol Reporter: Yan Morin <yansanmo.site>
Component: kcmkeysAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: faure
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Yan Morin 2005-07-25 08:07:37 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    Fedora RPMs
OS:                Linux

Since PrintScreen Key didn't open KSnapshot by default on Fedora Core 4 I went to 
KControl - kcmkeys to add the PrintScreen Shortcut to 'KSnapShot' program.

I assign the key : ok
I click on apply : ok
I close kcontrol : ok

I click on print screen: nothing happens
I open kcontrol, go to kcmkeys: no key binding for any program. Nothing for KSnapshot.

I click on 'report a bug'. The 'report a bug' button can't locate kcmclient service.
Comment 1 Yan Morin 2005-12-19 17:43:54 UTC
This bug occurs only if you set your language to another language that english.

By example, if you set your locale to french, the name of the 'print screen' key is 'Impr.' but isn't saved.

If you do the same operation in english, with the key 'Print', it will work.

Test with KDE3.5
Comment 2 Eric Thibodeau 2006-01-11 20:40:55 UTC
I am presently having a _very_ similar problem with KDE 3.4.3.
Here is some additionnal info:
If Language is set to French and country to Canada (if it matters):
The interface lets me assign the key sequences to applications (ie: Windows+W for Konqueror).
Click on Appliquer and OK with no error message but the entries are not added to the ~/.kde/share/config/khotkeysrc file.
Re-opening kcmkeys shows that assignments have been lost.

For the assignments to work, I have to:
1- Set the language to English
2- Start kcmshell keys 2 times
    I have to start it two time since, the first time I try to perform assignments, pressing the windows key still shows Windows in the combination box. The second start of the kcmshell keys shows the correct Win+<key> combination.
3- Assign the keys, click apply and it works! (entries are added to the khotkeysrc file).

Notes:
- This is under Gentoo with Xorg 6.8.2
- KDE version is 3.4.3 (all around packages are 3.4.3)
- The only hint I have is that, when in French, the win key is called "Windows" and not "Win"... seems like the textual translation is breaking the key assignments.
Comment 3 Eric Thibodeau 2006-01-11 21:07:43 UTC
I found the source of my problem, each time I close one of the kcm applets, the kdeglobals file has the following section modified:

[Keyboard]
Gestures=false
Label Win=Windows

The problem relies in the Label fow Win changing to Windows in French...which screws the "key bindings" for some reason.

Note that this problem is only present if I use "kcmshell keys". If I use the khotkeys shortcut editor, the problem doesn't show up (but the interface is much less user friendly for new users in a lab session ;P )
Comment 4 David Faure 2010-10-19 21:30:14 UTC
Does this still happen in KDE 4?
Comment 5 Andrew Crouthamel 2018-09-04 18:08:58 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug. Kcontrol has been replaced by System Settings in Plasma. Please give the latest version of that a try, and open a new bug in "systemsettings" if you continue to have an issue. Thank you!