[Bug 171555] kmail forgets shortcuts assigned via Settings > Configure shortcuts

Sven Wehner sven at atelophobia.de
Thu Sep 3 21:19:25 BST 2009


https://bugs.kde.org/show_bug.cgi?id=171555


Sven Wehner <sven at atelophobia.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sven at atelophobia.de




--- Comment #7 from Sven Wehner <sven atelophobia de>  2009-09-03 22:19:19 ---
I have some similar problem in Gwenview. When I try to assign additional
shortcuts for "next/previous image" the shortcut works only for a single
session.
When I checked the .kde/share/apps/gwenview/gwenviewui.rc file, it had a new
modification timestamp and a valid looking (changes including) content.

But then I followed comment #4 and deleted the *ui.rc file, reopened gwenview,
changed shortcuts and exited, and did a diff on that. One interesting
difference (of the many others) was:
 - in the new file:
> <kpartgui version="47" name="gwenview" >
 - in the old file:
> <kpartgui version="46" name="gwenview" >

When I changed in the new file the version to "46" the shortcuts stop working
again. Then I tried the old config file and changed the version string to "47"
and changing the shortcuts etc. worked.

Similar things applied to a problem in dolphin, in which it wasn't possible to
change the toolbar.
> <kpartgui version="7" name="dolphin" >
vs.
> <kpartgui version="10" name="dolphin" >

So I guess the whole reason for this problem is a wrong parsing of the config
files. And that there is nothing like a warning. Developers could you please
add something like: try to read the config file. If it's an old version try to
read it anyway and write a new version which includes all the properties, which
were understood. Or at least give a warning about an invalid *ui.rc file?

For users: delete your *ui.rc files or change the version string... I guess.


Even if the bug description is very different, I think bug #193744 is related
to this one. Because in both cases the *ui.rc files are written correctly, but
there is no effect at all.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list