Bug 186992 - Kmenu's input actions not being saved when hitting apply button
Summary: Kmenu's input actions not being saved when hitting apply button
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_khotkeys (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-12 17:59 UTC by Lamarque V. Souza
Modified: 2009-03-18 01:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.