Ticket #862 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

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 8 years ago by curtis

Fixed in d4b29390057791d92d1d627aa52bd1d799044889.

comment:2 Changed 8 years ago by curtis

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.