mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-05 14:18:53 +02:00
Bug 1637 - Keyboard interaction with many controls in toolbars broken
This progresses this bug. Specifically on Windows, Left and Right arrows and Enter (non keypad version) should now no longer be a problem. The fix is to not show these shortcuts in menus, because otherwise the menus will catch the events. Unfortunately attempts to show these specific shortcuts in the menus bring back the bug. Steps to reproduce for 1637 will need to be updated.
This commit is contained in:
parent
e7f95e2be0
commit
ef62bd70df
@ -982,6 +982,9 @@ wxString CommandManager::GetLabelWithDisabledAccel(const CommandListEntry *entry
|
||||
if( entry->key.StartsWith("Right")) break;
|
||||
if( entry->key.StartsWith("Up" )) break;
|
||||
if( entry->key.StartsWith("Down")) break;
|
||||
if( entry->key.StartsWith("Return")) break;
|
||||
if( entry->key.StartsWith("Tab")) break;
|
||||
if( entry->key.StartsWith("Shift+Tab")) break;
|
||||
//if( entry->key.StartsWith("Space" )) break;
|
||||
// These ones appear ot be illegal and mess up accelerator processing.
|
||||
if( entry->key.StartsWith("NUMPAD_ENTER" )) break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user