NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 299 - ROI manager doesn't reopen on pressing [t] after being closed once
ROI manager doesn't reopen on pressing [t] after being closed once
Status: RESOLVED WONTFIX
Product: Fiji
Classification: Unclassified
Component: ImageJ1
unspecified
Macintosh Mac OS
: P2 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2011-04-13 18:07 CDT by Jan Eglinger
Modified: 2011-10-20 01:13 CDT
0 users

See Also:

Description Jan Eglinger 2011-04-13 18:07:45 CDT
If not already open, the ROI manager window usually opens upon pressing t (with some selection active). However, if the ROI manager window has been closed once, pressing t on an image (with selection) has no consequence: no ROI window opens, and no selection gets added.

Additionally, the Macro recorder doesn't record anything upon [t] when the ROI manager window has been closed.

The expected behavior would be that the ROI manager opens on pressing [t], independent of the initial state of Fiji.

(observed with an up-to-date Fiji on MacOS 10.6.6, and on MacOS 10.5.8)
Comment 1 Johannes Schindelin 2011-04-13 18:23:23 CDT
This is what I did with a fully up-to-date Fiji on MacOSX 10.5.8:

1) open Fiji
2) Command+Shift+B to open the blobs
3) make a rectangular selection by dragging the mouse
4) Hitting 't' to open the RoiManager
5) Close the RoiManager
6) make another rectangular selection by dragging the mouse
7) Hitting 't' again, opening the RoiManager

This works here...
Comment 2 Jan Eglinger 2011-04-13 23:46:06 CDT
(In reply to comment #1)
> 
> This works here...
>

Sorry, I just notice that my description must have been incorrect (or incomplete, at least).

The described issue only happens if I:
 - have had at least two selections in the ROI manger, and
 - close the ROI manager window by directly clicking on the close button in the top left corner (without the window actually getting focus)

Can you reproduce?

Thx a lot,
Jan
Comment 3 Curtis Rueden 2011-04-14 00:04:32 CDT
I confirm that with Jan's updated instructions, I can reproduce this bug on Mac OS X 10.6 with the latest Fiji.
Comment 4 Wayne Rasband 2011-04-14 00:22:26 CDT
I can also reproduce the problem. Closing the ROI Manager window somehow causes the image window to lose keyboard focus. You can work around the problem by pressing command-t instead of t or by clicking on the "ImageJ" window and pressing t.
Comment 5 Johannes Schindelin 2011-04-14 00:57:15 CDT
Maybe it is not the ImageWindow, but the ImageCanvas losing focus? IIRC it is the Canvas which has IJ.getInstance() as KeyListener...