vs-deploy icon indicating copy to clipboard operation
vs-deploy copied to clipboard

Weird popup on window reload

Open rbingham opened this issue 7 years ago • 4 comments

When I reload a vscode window (command palette > Reload Window) this popup comes up and I have no idea what it is supposed to mean.

weird_popup

System info OS: ubuntu 16.04 vscode version: 1.18.1 vs-deploy version: 12.01

rbingham avatar Dec 01 '17 18:12 rbingham

I have a similar issue. Yesterday I had 2 situations where an empty (warning) popup appeared.

Can you post an example config that shows, what features you are using?

mkloubert avatar Dec 01 '17 18:12 mkloubert

Here is what I am using:

 "deploy": {
        "targets": [
            {
                "type": "http",
                "name": "{target_name}",
                "description": "{target_description}",
                "url": "{target_url}",
                "method": "PUT",
                "user": "user",
                "password": "password"
            }
        ],
        "packages": [
            {
                "name": "{package_name}",
                "files": [
                    "{file1}"
                ],
                "targets":[
                    "{target_name}"
                ],
                "deployOnSave": true,
                "deployOnChange": true
            }
        ],
        "showPopupOnSuccess": false
    }

I would like to note that the popup was occurring even when I didn't have anything configured.

rbingham avatar Dec 01 '17 19:12 rbingham

I found out that this has something to do with the autoSelectWorkspace setting in onDidChangeActiveTextEditor().

Please try to update to currently version 12.0.2 and try to reproduce the issue and tell me the error message, if some is displayed.

What version of VSCode do you use? Do you use the insider edition?

Btw.: Do you make use of the new multi root workspace feature?

mkloubert avatar Dec 01 '17 19:12 mkloubert

After updating to 12.02, this is the error that I receive: [vs-deploy] Could not auto-select workspace: 'TypeError: Cannot read property 'autoSelectWorkspace' of undefined

I'm just using the regular version of VSCode.

I do see that the error is only happening when I am using the multi root workspace feature.

rbingham avatar Dec 04 '17 15:12 rbingham