After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 351387 - don't use Alt+key combinations for shortcut keys
don't use Alt+key combinations for shortcut keys
Status: VERIFIED FIXED
Product: anjuta
Classification: Applications
Component: core application
CVS HEAD
Other All
: Normal minor
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-15 01:08 UTC by Adam Dingle
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix (2.35 KB, patch)
2006-10-03 13:46 UTC, Adam Dingle
committed Details | Review

Description Adam Dingle 2006-08-15 01:08:15 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:
Comment 1 Naba Kumar 2006-10-03 09:52:18 UTC
And what about the rest? Seems like we are running out of shortcut keys.
Comment 2 Adam Dingle 2006-10-03 13:16:53 UTC
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.
Comment 3 Adam Dingle 2006-10-03 13:46:47 UTC
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.
Comment 4 Johannes Schmid 2006-10-04 09:20:22 UTC
This looks reasonable! As very few shortcuts have changed I commit this.

Thanks!
Comment 5 Naba Kumar 2006-12-04 10:01:34 UTC
Closing all fixed bugs. Sorry for the mass update :( ...