Summary: | setting shortcut for Help is switching back to F1 | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | marcela maslanova <marcela.maslanova> |
Component: | kcm_standard_actions | Assignee: | Michael Jansen <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | simon.persson |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Patch to simply not add actions if the shortcut is already added. |
Description
marcela maslanova
2010-02-26 09:54:35 UTC
The Problem is that the KStandardShortcut::Help is associated with two KStandardActions. The same problem applies to: KStandardShortcut KStandardActions ----------------------------------- Paste | Paste, PasteText Help | Help, HelpContents on a first check. Why this was done i have no idea. Both actions show up in the kcm. If the first has it's shortcut changed on saving the second unchanged action overwrites the change again and therefore nothing happens. As a workaround change the shortcut of the "System Settings Handbook" action. I will have to find a solution for this problem. Created attachment 54552 [details]
Patch to simply not add actions if the shortcut is already added.
Comment from kstandardaction_p.h:
// the idea here is that Contents is used in menus, and Help in dialogs, so both share the same
// shortcut
{ Help, KStandardShortcut::Help, "help", 0, 0, "help-contents" },
{ HelpContents, KStandardShortcut::Help, "help_contents", I18N_NOOP("%1 &Handbook"), 0, "help-contents" },
Simply not adding any further actions with the same shortcut fixes the problem. Also I think it looks better to not have the confusing entry "system settings handbook" there.
|