Skip to content

LGTM database download progress popup is misleading when not expanded #894

@rdmarsh2

Description

@rdmarsh2

Describe the bug
After starting a database download, when not expanded, the text in the progress popup is Adding database from LGTM. Choose a language from the d..., and does not change as progress is made. The text that changes is later in the message, and only visible when the popup is expanded.

Version
CodeQL extension version: 1.5.1
CodeQL CLI version: 2.5.5
Platform: win32 x64

Version: 1.57.1 (user setup)
Commit: 507ce72a4466fbb27b715c3722558bb15afa9f48
Date: 2021-06-17T13:28:07.755Z
Electron: 12.0.7
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Windows_NT x64 10.0.19041

To reproduce
Start an LGTM database download from the CodeQL sidebar.
Select a language, if needed.
Observe the message in the popup (in my setup, it is unexpanded when it appears)

Expected behavior
The unchanging part of the message is short enough that the status (awaiting language choice, downloading, or unzipping) is visible in the unexpanded popup.

Additional context
Unexpanded popup:
image
Expanded popup:
image

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions