Reindexing closes other project windows
Issue #1807
resolved
Repro steps:
- Have 2 project open in 2 IntelliJ windows
- On one project switch connection to different
- IC asks to reopen in “This window” or “New window” - chose This Window
What happens:
- Other project is closed
Expected:
- Other project is not touched, this project is reopened in the same window.
Comments (4)
-
repo owner -
repo owner - changed status to resolved
I'm going to resolve this since the only API available to plugin developers has this unfortunate behavior. Hopefully JetBrains either restores the original API behavior or provides a new API with the original behavior at which point I'll switch IC over to use it.
-
repo owner Well, I thought I'd logged an issue with JetBrains on this, but evidently not. I logged one this morning:
https://youtrack.jetbrains.com/issue/IDEA-259723
Hopefully they'll address that shortly.
-
reporter - edited description
Realized that reproduction steps are wrong so I’m updating just for clarity - so it’s not reported as separate issue by someone.
- Log in to comment
This is unfortunately not under my control. In 2020.1, JetBrains changed the API used to close/reopen projects to have this behavior. You have to use New Window for the reopened project to use distinct window. Otherwise This Window applies to the most recently used remaining project window. I've logged a case with JetBrains about this API behavioral change but haven't seen any movement on a fix.