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 #1427 (closed defect: moved)

Opened 2012-08-21T09:41:05-05:00

Last modified 2012-08-27T15:13:14-05:00

Polygon tool broken

Reported by: bdezonia Owned by: curtis
Priority: major Milestone: imagej2-b9-rois
Component: Tools Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1440

Description

The polygon tool is not working correctly. Draw a polygon by clicking multiple points. The tool always waits for another point and won't terminate. Even switching tools does not fix state - the polygon tool stays active and waits for input on the current poly.

Curtis, assigning to you as you wrote the tool implementation and you're involved in some related code now. Assign back if you want this on my plate.

Change History

comment:1 Changed 2012-08-27T15:07:42-05:00 by curtis

Another part of this ticket must be to make publish status messages matching those of ImageJ1. See ticket #827 for details.

comment:2 Changed 2012-08-27T15:07:48-05:00 by curtis

  • Blocking 1440 added

comment:3 Changed 2012-08-27T15:13:14-05:00 by curtis

To clarify the description above, you *can* terminate the polygon tool by double clicking. But it is a bug that switching to another ImageJ tool does not terminate the polygon.

Another issue (arguably) is that the polygon tool doubles as the freehand tool, if you click and drag rather than merely clicking points. It is perhaps surprising that you get a smooth spline-fitted polygon in that case.

comment:4 Changed 2014-05-04T08:35:22-05:00 by curtis

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