Skip to content

Removing database reopens "CodeQL Query Results" panel #823

@Marcono1234

Description

@Marcono1234

Version
Extension version 1.4.5

Describe the bug
It looks like removing a database always reopens the "CodeQL Query Results" panel.
It does not seem to matter whether:

  • There is more than one database, and the other ones are not removed
  • The removed database was the "current" one
  • The removed database was loaded from a folder or from a .zip file
  • Another panel is already open
  • The query history is empty

To Reproduce

  1. Load a database
  2. Close the "CodeQL Query Results" panel (in case it is open)
  3. Remove the database
    ❌ The "CodeQL Query Results" panel is opened

Expected behavior
The "CodeQL Query Results" panel is not opened.

Metadata

Metadata

Assignees

Labels

VSCodebugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions