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

Opened 2012-06-13T12:37:44-05:00

Last modified 2012-06-15T12:58:22-05:00

Right click related errors with overlay tools

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b3-headless
Component: UI Framework Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #829

Description (last modified by bdezonia)

Right clicking with overlay tools active can cause problems.

If you activate the rectangle tool and right click you get the context menu showing but under it there is now a tiny overlay. Surprisingly the overlay does not appear in the Overlay Manager but it can be selected with the mouse and deleted by DEL key. The angle tool, point tool, and the ellipse tool also draw overlays when right clicking. (Only the line tool doesn't and that is because it is a click and drag oriented tool)

Also right clicking interferes with the setting of the active tool. Draw a rectangle overlay. Now select the angle tool. Right click on image. Now left click on image. A rectangle is drawn rather than an angle. If you start with angles and switch to rectangles the same failure to switch the active tool happens. This failure can be persistent requiring one to reselect the tool of their choice before it goes away.

(Sequence to recreate problem with active tool tracking: Open sample image, select line tool, draw a line, then right click and dismiss context menu with ESC key, then select angle tool. now click and move mouse and line is drawn rather than angle. click again and angle is drawn.)

Change History

comment:1 Changed 2012-06-13T12:56:58-05:00 by bdezonia

  • Description modified

comment:2 Changed 2012-06-13T13:02:39-05:00 by bdezonia

  • Description modified

comment:3 Changed 2012-06-13T14:59:09-05:00 by bdezonia

  • Blocking 829 added

comment:4 Changed 2012-06-15T12:58:22-05:00 by bdezonia

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

Fixed with commit ffd7e9a5821d4a6c6ce13fc7f6e70643b0885d45