Pinned and non-pinned tool window behavior

I'm going to ask if this is a bug first, because the behavior seems
counter-intuitive to me.

Steps to reproduce:

1) I do a "find in path" to find all the occurances of a string I'm
searching for. I "pin" this window in place, because I want to use it to
navigate across a bunch of source files, to various places where I use this
string.

2) In the process of working in the files, I need to check them out. I use
Perforce with the Perforce.xml external tools, so I check things out by
right-clicking and selecting "Perforce -> Edit". This causes an external
command line to run, which causes a "run" window to pop up over the find
window. This window is NOT pinned in place.

3) Now, after the check out, I want to return to the find window and dismiss
the run window, since they over-lap. If I hit escape, the run window goes
away, but the FIND window is gone too! I have to use the find window
hot-key or click on the find tab to bring it back. If I just click in the
editor and start typing, the same thing happens. Only if I click the
'minimize' button on the run window does the Find window stay in place.

This is a bug, isn't it? If I pin a tool window in place, shouldn't it STAY
there?



1 comment
Comment actions Permalink

I've just tried to follow your steps. I don't use Perforce, so I
replaced your Perforce step by clicking on another tool window (Jython)
on the bottom edge which I had previously set to "unpinned".

I wasn't able to reproduce your results. My result was that when I
pressed Escape the Jython window disappeared and the cursor went back to
the Editor, leaving the Find window grayed.

I suspect that your Find window is actually unpinned. When I unpin my
Find window before opening the Jython window, I get the behaviour that
you describe.

It does seem however that there is a difference in behaviour between
pressing Escape and pressing the "Hide" button on the toolwindow. The
Hide button is mapped to Shift-Escape and when I used that instead of
Escape, I get the behaviour which you are seeking.

IntelliJ guys, is this difference in the behaviour of Escape and
Shift-Escape intended?

Paul Bradshaw wrote:

I'm going to ask if this is a bug first, because the behavior seems
counter-intuitive to me.

Steps to reproduce:

1) I do a "find in path" to find all the occurances of a string I'm
searching for. I "pin" this window in place, because I want to use it to
navigate across a bunch of source files, to various places where I use this
string.

2) In the process of working in the files, I need to check them out. I use
Perforce with the Perforce.xml external tools, so I check things out by
right-clicking and selecting "Perforce -> Edit". This causes an external
command line to run, which causes a "run" window to pop up over the find
window. This window is NOT pinned in place.

3) Now, after the check out, I want to return to the find window and dismiss
the run window, since they over-lap. If I hit escape, the run window goes
away, but the FIND window is gone too! I have to use the find window
hot-key or click on the find tab to bring it back. If I just click in the
editor and start typing, the same thing happens. Only if I click the
'minimize' button on the run window does the Find window stay in place.

This is a bug, isn't it? If I pin a tool window in place, shouldn't it STAY
there?



--
Gordon Tyler
Software Developer, R&D
Sitraka -- Performance is Mission Critical

0

Please sign in to leave a comment.