Ticket #803 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

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:
Blocking:

Description

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 8 years ago 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.

Note: See TracTickets for help on using tickets.