Ticket #974 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Display::close() does not actually close window

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

Description

The following plugin is ineffective. The event tracking somehow does not recognize that the window should be closed.

There is a temp workaround that I employed in the one place I needed it (in Harmonizer). It uses display.getPanel() so when Curtis makes his planned display code changes it will be discovered and remedied.

@Plugin(menuPath = "Plugins>Debug>Close Active Display")
public class CloseActiveDisplay implements ImageJPlugin {

@Parameter
private ImageDisplayService service;


@Override
public void run() {

service.getActiveImageDisplay().close();

}

}

Change History

comment:1 Changed 7 years ago by bdezonia

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

Fixed by 2ac9f2bf56dee339aee4adae5b81a95806320ab2

comment:2 Changed 7 years ago by bdezonia

  • Milestone changed from imagej-2.0-beta2 to imagej-2.0-beta1
Note: See TracTickets for help on using tickets.