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

Opened 2013-01-09T17:09:19-06:00

Last modified 2013-04-22T14:37:05-05:00

Legacy mode: gracefully handle closing IJ1 app frame

Reported by: bdezonia Owned by: dscho
Priority: major Milestone: imagej2-b7-ndim-data
Component: Legacy Compatibility Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1661

Description

If you are in legacy compatibility mode you are able to close the IJ1 app frame. After this IJ2 is confused. You can switch back to modern mode. But any open IJ1 windows do not close (though their IJ2 counterparts open).

We should capture the IJ1 app close event and perhaps just switch back to modern mode. Or close IJ2.

Change History

comment:1 Changed 2013-03-19T11:23:58-05:00 by bdezonia

  • Status changed from new to reviewing

dscho, please associated with some feature ticket

comment:2 Changed 2013-03-20T12:04:29-05:00 by bdezonia

  • Blocking 1661 added

comment:3 Changed 2013-04-19T16:54:42-05:00 by bdezonia

With commit 93fb612af13dc3fccd71985bbb4531e9b0b8aa4c we are nwo invoking IJ2 dispose when app quit from within IJ1 legacy mode.

There is an issue in that it doesn't close correctly due to a known bug in the disposal mechanism that is related to the UIService. Investigate.

comment:4 Changed 2013-04-22T14:37:05-05:00 by bdezonia

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

I have opened a ticket for the closing issue (see #1835). Considering this ticket closed.