Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax for accelerators is not always intuitive #51

Open
ctrueden opened this Issue May 1, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@ctrueden
Copy link
Member

ctrueden commented May 1, 2014

Recently I ran into an issue where certain accelerators being specified using the @Menu annotation's accelerator property were not being parsed as expected (see 392901ad). The issue was that the shortcuts were specified as "control 4" and "control 5" but needed to be "control NUM4" and "control NUM5" to be understood by ImageJ.

The real problem was not that they weren't understood, but that ImageJ did not issue any warnings about it. To help these sorts of issues get caught sooner, we should do so. We may also want to consider expanding the allowable syntax for the accelerator strings somehow, though the specifics would require some thought.

Migrated-From: http://trac.imagej.net/ticket/1648

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.