In IntelliJ it is possible to open a "new window" for new projects .etc.
When we do this and import an sechub report inside the old window the report is not shown there, but on the new window!
Reason: Currently we use a singleton instance to register the created sechub tool window . Intellij seems to not open a new process for the "new window" but does this inside same JVM. So the new tool window will register itself in static way, which will unregister the old one...
Wanted
When a user opens multiple Intellij windows, the import inside one window shall only appear inside the corresponding tool window of this (IntelliJ/Project) window.
Solution
Either
Change registration process and use a map to handle toolwindows for different intellij/project windows
Remove the static registration approach by a context specific one
Situation
In IntelliJ it is possible to open a "new window" for new projects .etc. When we do this and import an sechub report inside the old window the report is not shown there, but on the new window!
Reason: Currently we use a singleton instance to register the created sechub tool window . Intellij seems to not open a new process for the "new window" but does this inside same JVM. So the new tool window will register itself in static way, which will unregister the old one...
Wanted
When a user opens multiple Intellij windows, the import inside one window shall only appear inside the corresponding tool window of this (IntelliJ/Project) window.
Solution
Either