Summary: | Amarok does not remember shortcuts for functions provided by scripts | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Martin Blumenstingl <martin.blumenstingl> |
Component: | Tools/Script Manager | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | martin.blumenstingl, stanley_87, stuffcorpse |
Priority: | NOR | ||
Version: | 2.2.2 | ||
Target Milestone: | 2.3.1 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.3.2 | |
Sentry Crash Report: |
Description
Martin Blumenstingl
2010-01-17 16:46:14 UTC
I had some time to debug this one: actions are added to the menu in AmarokWindowScript::addToolsMenu()/addSettingsMenu() the first "interesting" fact is that (at least it seems like) actions are added twice to the menu for example in addToolsMenu there is: m_ToolsMenu->addAction( ac->action( id ) ); m_ToolsMenu->addAction( action ); the first one should basicall return a pointer to "action" in the second one action is added to the menu again. unfortunately I have no idea how reading shortcuts from the config file works. it seems this is done by some generic piece of software (not by Amarok itself - I think they are read by KMainWindow, but I'm not sure). bug fixed :) we just need to wait until it's been merged: http://gitorious.org/amarok/amarok/merge_requests/166 Regards, Martin Martin, could you please update your changes in the Merge Request so it can be merged? Thanks. Hi, the merge request contains the latest code (which is still applying cleanly against latest master). In case you're wondering about Rick's comment on the merge request: he just misunderstood one of my sentences. Regards, Martin Merged Martin's MR. Thanks. |