microsoft / vscode-hexeditor

VS Code Hex Editor
https://marketplace.visualstudio.com/items?itemName=ms-vscode.hexeditor
MIT License
533 stars 89 forks source link

Hex Editor displays unnecessary notification when a previously-opened file is deleted #428

Closed joyceerhl closed 9 months ago

joyceerhl commented 1 year ago
  1. Open a file in the hex editor
  2. Close the hex editor
  3. Delete the file
  4. :bug: get this warning from the hex editor:

image

cyjohnson-ss commented 1 year ago

Confirmed

AaronRidoutAE commented 1 year ago

There is another two parts to this issue that I see.

  1. Even though the file is closed, this still pops up and the 'Close Editor' button closes the current window - not the offending one (which in my case is already closed!). Please only close the offending window, not the current one!
  2. The pop up does not say which file it is warning about - I have many files open and one of them is transitory (being built in my case). Please add the filename to the pop-up!
TheMatt2 commented 1 year ago

Confirmed as well.

  1. Open a file in the hex editor
  2. Close the hex editor
  3. Open a different file
  4. Modify file
  5. Delete original file

If you click "Overwrite", nothing happens. The file is not restored. If you click "Close Editor" then the other file is closed.

Any timeline when this will get integrated?

Dream-Painter commented 10 months ago

Confirmed, and it even happens multiple times. I had a temp file, which is created and deleted multiple times, and I got multiple popups after opening it once.