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 #580 (closed enhancement: fixed)

Opened 2011-06-08T09:58:22-05:00

Last modified 2011-10-14T17:33:34-05:00

Support ctrl+click to zoom out

Reported by: curtis Owned by: gharris
Priority: major Milestone: imagej2-b1-initial
Component: UI Framework Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

With the zoom tool, right click will zoom out. (This works in IJ1 as well.) But IJ1 also supports Ctrl+click as zoom out, which we need to support in IJ2.

The underlying issue is that it is not obvious how to check which modifier keys are being held (esp. in a non-AWT way). Perhaps the MsEvent or superclass needs to embed the modifier keys in the event?

Change History

comment:1 Changed 2011-08-01T08:28:11-05:00 by gharris

  • Owner changed from curtis to gharris
  • Status changed from new to assigned

comment:2 Changed 2011-10-14T17:33:34-05:00 by curtis

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

Fixed in 7ce554b52a3425ac7608e115e0afdb77e53f47c4.

This was made possible by the addition of modifier flag tracking in the input event hierarchy (see cdbbccfc15296dfa6a3d643579cb57a7d2690e10 and a8d43d6cca754971867e4a9ef6ff5d23f790252e).