Bug 186992

Summary: Kmenu's input actions not being saved when hitting apply button
Product: [Applications] systemsettings Reporter: Lamarque V. Souza <lamarque>
Component: kcm_khotkeysAssignee: Lubos Lunak <l.lunak>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lamarque V. Souza 2009-03-12 17:59:57 UTC
Version:            (using KDE 4.2.1)
Compiler:          4.1.2 x86_64-pc-linux-gnu
OS:                Linux
Installed from:    Gentoo Packages

When I try to change something on an already created input action the apply button does nothing, the old configuration still works. Go to systemsettings -> Input Actions -> KmenuEdit, select a shortcut, click on "Select Application" and change the current application. When I click on Apply button it is disabled (turns gray) as expected, but the action is not saved (if I use the shortcut configurated it calls the old application). Furthermore, when I click on another input action it shows me this message: "The current action has unsaved changes. If you continue those changes will be lost!", but the Apply button is still disabled. If instead of clicking on another input action I close systemsetting it closes but there is no warning that the configuration has not being saved.

That used to work in KDE 4.1.x when I configurated those shortcuts. Now the only way to change the shortcuts configuration is editing $HOME/.kde/share/config/khotkeysrc directly and calling qdbus org.kde.kded /modules/khotkeys reread_configuration.
Comment 1 Michael Jansen 2009-03-18 01:20:20 UTC
SVN commit 940679 by mjansen:

 Fix MenuEntryActions created from khotkeys. From kmenuedit they worked.

 Pop up a messagebox if a application fails to start or isn't configured.

Backport of 933943 for

BUG: 186992

 M  +7 -3      kcm_hotkeys/actions/menuentry_action_widget.cpp  
 M  +3 -0      kcm_hotkeys/actions/menuentry_action_widget.h  
 M  +27 -8     libkhotkeysprivate/actions/menuentry_action.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=940679
Comment 2 Lamarque V. Souza 2009-03-18 01:42:03 UTC
It is working now, thanks.