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

Opened 2012-04-12T12:31:29-05:00

Last modified 2012-07-12T16:54:16-05:00

Harvested dialogs can have initialization problems

Reported by: bdezonia Owned by: curtis
Priority: major Milestone: imagej2-b3-headless
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1051

Description

Open an image and draw an overlay. Now run Image :: Overlay :: Properties. Edit the fillColor. Close dialog. Reopen and fill color is correct. Now change line width and close dialog. Open properties again. Fill color looks black and line width says 1. Drag the alpha slider. See that overlay is filled with previously selected color.

I have debugged this deep into the module code and the input harvester. It looks very much like the fillColor is correct going into the building of the panel. Not sure what is going on here.

Change History

comment:1 Changed 2012-04-12T12:37:55-05:00 by bdezonia

Note that fillColor sometimes just appears darker than it should be rather than just black. But line width always seems to reset to 1.

comment:2 Changed 2012-06-08T15:05:54-05:00 by curtis

  • Blocking 1051 added

comment:3 Changed 2012-07-12T16:54:16-05:00 by curtis

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

The line width always resetting to 1 was a bug unrelated to input harvester dialogs, and has been fixed in d73951f0.

The fill color getting darker was a bug in overlay synchronization, fixed in 0d4088d8.