mercedes-benz / sechub-plugin-intellij

intellij plugin for sechub
MIT License
5 stars 4 forks source link

Only one window shows imported sechub report when multiple windows active #27

Open de-jcup opened 3 years ago

de-jcup commented 3 years ago

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