Ticket #974 (closed defect: fixed)
Opened 2012-02-13T15:19:08-06:00
Last modified 2012-03-01T14:58:19-06:00
Display::close() does not actually close window
Reported by: | bdezonia | Owned by: | bdezonia |
---|---|---|---|
Priority: | major | Milestone: |
|
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();
}
}
Fixed by 2ac9f2bf56dee339aee4adae5b81a95806320ab2