| Summary: | Amarok Keyboard Shortcuts Do Not Work Correctly | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Darrell <darrella> |
| Component: | non-core programs | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | bugwatch, darrella, kb9vqf, slavek.banko |
| Priority: | P1 | ||
| Version: | 3.5.13 [Trinity] | ||
| Hardware: | All | ||
| OS: | All | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | Amarok | |
| Attachments: | Partial patch to fix keyboard shortcuts | ||
|
Description
Darrell
2010-07-22 13:01:23 CDT
Created attachment 861 [details]
Partial patch to fix keyboard shortcuts
I have a partial patch but need coaching to finish.
I modified the playlist browser context menu to list Enter as Load and Shift+Enter as Load and Play. With that there should be no conflict with Key_Space, which is used to Pause/Play songs. Both of the menu items work as intended: Load only loads the playlist but does not play and Load and Play is the same as double-click, which loads and starts playing the playlist.
I am unable to get Enter, Shift+Enter, F2, and Shift+Delete to function at all. Initially, Shift+Delete seemed to work, but when I commented out case Key_Delete, then I discovered Shift+Delete was not really working.
The keyboard shortcuts are defined in playlistbrowser.cpp, line 2888, void PlaylistBrowserView::keyPressEvent( TQKeyEvent *e ).
I don't know the proper TQString to pass to the Load shortcut, as noted in the patch comments. Everything I try results in a build failure.
One option is to remove the keyboard shortcut references in the context menu, since they don't work anyway, but fixing the shortcuts would be nicer.
The patch is commented to identify the remaining problems.
Patch fixed and pushed to GIT in hash 0cc1c9a. Note that Rename was changed to Shift+F2 to avoid a conflict with the global Rename shortcut F2. |