Ticket #1616 (closed defect: fixed)

Opened 7 years ago

Last modified 6 years ago

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 6 years ago by bdezonia

  • Status changed from new to reviewing

dscho, please associated with some feature ticket

comment:2 Changed 6 years ago by bdezonia

  • Blocking 1661 added

comment:3 Changed 6 years ago 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 6 years ago 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.

Note: See TracTickets for help on using tickets.