Skip to content

File deletion prompt is issued twice #2168

Closed
@schmidDan

Description

@schmidDan
  • Web Browser: Firefox 81.0.1 (64-Bit)
  • Local OS: MS Windows 10 WSL2 Docker Desktop 2.3.05 (48029)
  • Remote OS: Custom Docker Container (ubuntu:20.04-based, calling RUN curl -fsSL https://code-server.dev/install.sh | sh)
  • Remote Architecture: see above + ssh port forwarding
  • code-server --version: 3.5.0 de41646
  • Cannot be reproduced in vanilla VS Code

File deletion prompt is issued twice

Problem Description

If I try to delete a file, I'm issued with two dialogue windows beneath each other (to be deleted is the my_test.file shown opened in the editor as well as in left sidebar):

DeleteOnce

The first dialogue is already sufficient to delete the file (as one can tell from the left sidebar showing the my_test.file no more). It's definitely two windows popping up beneath each other, because by closely looking while pressing the "Delete" button within the first window and seeing the window vanishing afterwards, one can tell that the shadows around the window's border got more transparent. As well, the my_test.file, which was opened in the editor beforehand is gone and the welcome page is shown:

DeleteStillIssued

The second dialogue is non-funcitonal (file was already deleted - deleting once again gives an error):

WasDeletedAlready

Steps to reproduce

  • Start a code-server
  • Connect to code-server
  • Create a file
  • Ctrl+Right-click the file in the side tab
  • Choose "Delete Permanently"
  • There we are!

Additional data

I attached the stdout of the code-server process. If requested, I can as well provide the stripped down Dockerfile etc..

code-server-stdout.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions