Multiple project windows + keyboard shortcut for (Editor Tabs -> Close All) + shifting focus to another project window

Answered

Hello,

I have come across the following behavior while using keyboard shortcut only but not when manually doing it with mouse click.

Let me explain:

I opened multiple project windows in IntelliJ IDEA (v2017.1.5). Let's say, for the sake of discussion, Project A & Project B.

I have multiple editor tabs opened in either Project A or Project B.

I have a created a custom keyboard shortcut for Editor Tabs -> Close All.

So, now coming to the problem.
When I do the action (closing all editor tabs in Project A) using the mouse by Right clicking on an editor tab and click 'Close All': All the editor tabs are closed and the focus is still with the current project window, in this case Project A. This is the desired behavior.

However, when I used the above assigned keyboard shortcut to close all editor tabs in Project A: All the editor tabs are closed (as expected) but the focus is shifted to the Project B (not expected) which is causing unwanted user experience. Because of this I have to click on the Project A window again to access other artifacts.

Is this a bug? Or is there something that can be done to have the desired behavior. 

Thanks in advance.

0
2 comments
Avatar
Permanently deleted user

Issue raised: https://youtrack.jetbrains.com/issue/IDEA-175755 along with the idea.log file.

Thanks.

0

Please sign in to leave a comment.