Bug 53278 - shortcuts not saved correctly with kxmlgui
Summary: shortcuts not saved correctly with kxmlgui
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Ellis Whitehead
URL:
Keywords:
: 49440 52224 56518 82362 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-01-22 19:26 UTC by Lubos Lunak
Modified: 2009-05-02 01:46 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lubos Lunak 2003-01-22 19:26:23 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

Run konqueror in filemanagement mode. Go to configure keyboard shortcuts change the shortcut for 'New Directory' from the default F10 to e.g. F11. Now pressing F11 opens a dialog asking for the new directory name.
Quit Konqueror and start it again. Now F11 doesn't work anymore, and the shortcut for 'New Directory' is again F10. But the shortcut is saved, in $KDEHOME/share/apps/konqueror/konqueror.rc, there is
<Action shortcut="F11" name="newdir" />  in <ActionProperties> . I don't know if this is the place to store this shortcut though. This action is specific to filebrowsing views and doesn't show up e.g. when viewing HTML pages, but I didn't manage to find any other .rc file containing "newdir".
Comment 1 Ellis Whitehead 2003-03-24 00:04:03 UTC
Hi Lubos.  I've checked this out, and I'm not sure exactly what's going wrong.  I suspect 
that the newdir action is not added to the collection until after the xml plugging is done.  
On the one hand, this problem could be given over the konqueror folks, but there's also 
the more general issue of how to handle 'template' actions that I'd like to consider some 
more to see what general solutions there may be. 
Comment 2 Ralf Keimer 2003-10-24 15:36:28 UTC
Hi. I stumble upon the same Problem. maybe to clarify the Range of the Problem: 
Changing the Keyboard-Shortcuts for "Copy File" "Move File" "New Directory" is lost after quitting Konqueror (restored to default), while Shortcuts for "Show hidden Files" "Start Terminal Window" are persistent. 
Comment 3 Maksim Orlovich 2004-05-23 19:02:42 UTC
*** Bug 49440 has been marked as a duplicate of this bug. ***
Comment 4 David Faure 2004-05-23 19:52:18 UTC
The problem is that those actions are plugged into the GUI using plugActionList.

kxmlguifactory.h:  void plugActionList( KXMLGUIClient *client, const QString &name, const QPtrList<KAction> &actionList );

Ellis: what do we need to do there, so that the action's shortcut is configurable?

khtml's "Load Images" (#53278) is about an actionlist too, merging.
Comment 5 David Faure 2004-05-23 19:52:31 UTC
*** Bug 56518 has been marked as a duplicate of this bug. ***
Comment 6 Maksim Orlovich 2004-05-26 18:09:09 UTC
*** Bug 52224 has been marked as a duplicate of this bug. ***
Comment 7 Maksim Orlovich 2004-05-28 15:01:05 UTC
*** Bug 82362 has been marked as a duplicate of this bug. ***
Comment 8 Herbert Huntz 2005-03-10 21:07:23 UTC
I can verify this.
I am unable to change the hotkey for create-dir, copy-files and move-files.
They are reset on each konqueror restart. (version: 3.3.2)
Comment 9 Rik 2005-11-29 05:54:58 UTC
This bug is still here.

I'm using kdelibs-3.4.1-r1 on a gentoo system and my shortcut changes are lost whenever I exit konqueror.  The changes are correctly saved in konquerorrc in the ~/.kde/config directory but are not loaded properly when konqueror is restarted.
Comment 10 Dirk Mueller 2008-07-31 09:50:22 UTC
is it still an issue with KDE 4.1?
Comment 11 Dario Andres 2009-05-02 01:46:29 UTC
Here using:

Qt: 4.5.1 (qt-copy  958974)
KDE: 4.2.71 (KDE 4.2.71 (KDE 4.3 >= 20090428))
kdelibs svn rev. 960693 / kdebase svn rev. 960693
on ArchLinux i686 - Kernel 2.6.29.1

I can't reproduce this bug. The shortcut for "Create Folder" is properly saved and restored every time and can be used without problems.

Marking as WORKSFORME