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

Opened 2011-10-04T16:02:16-05:00

Last modified 2011-10-11T15:28:36-05:00

Image :: Hyperstack :: Stack to Hyperstack not working

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b1-initial
Component: Legacy Compatibility Version:
Severity: serious Keywords:
Cc: Blocked By:


If you open the T1 Head sample and run Image :: Hyperstack :: Stack to Hyperstack no image is created. The existing image disappears. There are no exceptions in the console. This also happened with a Boats sample with a Spectral axis added.

Change History

comment:1 Changed 2011-10-11T15:28:36-05:00 by bdezonia

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

Fixed in 4def5b7e289d3c0c62405f5fbd415ee56b4f3467

Note I changed logic that chooses to close a display when IJ1 closes an associated ImagePlus. Made logic safer in that it only closes displays whose associated ImagePlus has not been changed by the plugin and whose window has been closed. This errors on the side of potentially leaving old windows open but eliminates the case where we close something we shouldn't.

The bug happened because the IJ1 command has two windows associated with one ImagePlus (temporarily) and it closes one of them. This code fix allows this scenario to work well.