Ticket #1214 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

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) (diff)

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 7 years ago by bdezonia

  • Description modified (diff)

comment:2 Changed 7 years ago by bdezonia

  • Description modified (diff)

comment:3 Changed 7 years ago by bdezonia

  • Blocking 829 added

comment:4 Changed 7 years ago by bdezonia

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

Fixed with commit ffd7e9a5821d4a6c6ce13fc7f6e70643b0885d45

Note: See TracTickets for help on using tickets.