GNOME Bugzilla – Bug 351387
don't use Alt+key combinations for shortcut keys
Last modified: 2009-08-15 18:40:50 UTC
Anjuta includes several shortcut keys of the form Alt+letter: File / Close All Files: Alt + D File / Print: Alt + P Edit / Select / Select To Brace: Alt + A Edit / Select / Select Code Block: Alt + B This violates the Gnome Human Interface Guidelines, which state "Do not use Alt-key combinations for shortcut keys, as these may conflict with window manager or menu access keys." And this does cause a problem; for example, if I try to select the Print function by pressing Alt + P, the Project menu opens instead. So we should replace all of these. I recommend Shift + Ctrl + W for File / Close All Files, since Ctrl + W closes a single file. Other information:
And what about the rest? Seems like we are running out of shortcut keys.
For File / Print I'd suggest Ctrl + P, which is the same shortcut gedit uses for this command. I don't see why we need separate commands Select To Brace and Select Code Block; shouldn't these do the same thing? Or is there some highlight mode where they would perform two distinct forms of selection? If we can merge these into a single command, I'd suggest Ctrl + Shift + B as a shortcut. If we can't merge them, I'd suggest Ctrl + Shift + B for whichever we think will be more commonly used; perhaps the other doesn't need a shortcut at all.
Created attachment 73946 [details] [review] fix Here's a fix implementing my suggestions above. I've assigned Shift + Ctrl + B to the Select Code Block command. Select to Brace (which seems to do nothing at the moment) has no shortcut for now.
This looks reasonable! As very few shortcuts have changed I commit this. Thanks!
Closing all fixed bugs. Sorry for the mass update :( ...