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 #862 (closed defect: fixed)

Opened 2011-11-04T14:08:56-05:00

Last modified 2011-11-04T17:15:14-05:00

Zoom In and Zoom Out menu entries do not have correct accelerators

Reported by: bdezonia Owned by: curtis
Priority: major Milestone: imagej2-b3-headless
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

The zoom in and zoom out menu commands have no accelerators defined. This was in response to fixing bug #861. Right now they have poor hints to show which keys to press to activate zooms.

We need to renable the keyboard accelerators. However the AcceleratorHandler has to be smart enough to not fire when the menu handler will fire a zoom plugin rather than the AcceleratorHandler. This would be very kludgy and somewhat platform specific (control vs. cmd/meta).

Note that if we just reenable the zoom accel keys in the plugins then depending upon the key typed sequences zoom happens once or twice.

The real fix to this problem is to allow plugins to have more than one hotkey defined. It could display a default but react to numerous ones. If we had a accelerator definition like "any MINUS" (as opposed to "control MINUS") then we could zoom out when minus is typed regardless of modifier key status.

Change History

comment:1 Changed 2011-11-04T17:14:57-05:00 by curtis

Fixed in d4b29390057791d92d1d627aa52bd1d799044889.

comment:2 Changed 2011-11-04T17:15:14-05:00 by curtis

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