NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #1648 (closed defect: moved)

Opened 2013-02-01T15:43:01-06:00

Last modified 2013-03-20T11:52:00-05:00

Syntax for accelerators is not always intuitive

Reported by: curtis Owned by: curtis
Priority: minor Milestone: imagej2-unscheduled
Component: Plugin Framework Version: 2.0.0-beta6
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1631


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.

Change History

comment:1 Changed 2013-03-20T11:52:00-05:00 by bdezonia

  • Blocking 1631 added

comment:2 Changed 2014-05-01T06:21:58-05:00 by curtis

  • Status changed from new to closed
  • Resolution set to moved