typora / typora-issues

Bugs, suggestions or free discussions about the minimal markdown editor — Typora
https://typora.io
1.53k stars 58 forks source link

Deleting a file and choosing a different file opens the save file dialog #6045

Open ateles8 opened 2 months ago

ateles8 commented 2 months ago

Describe the bug Deleting a file does not clear the file's contents out of the editor, switching to a new file opens the save dialog

To Reproduce Steps to reproduce the behavior:

  1. Create a file test.md in the file browser
  2. Type "aoeuaoeuaoeu" into it
  3. Save the file
  4. Delete the file from the file browser
  5. Try to click another file in the fire browser

Expected behavior When a file is deleted the editor should be cleared out, allowing another file to be opened

Screenshots / Screencasts N/A

Sample Markdown File N/A

Desktop (please complete the following information): OS: Windows 11 Home

Typora Version 1.8.10

Additional context Please fix this :)

ateles8 commented 2 weeks ago

Any chance this can get resolved? It seems like a simple fix.

@abnerlee @vassudanagunta @lesander @vastbluesky

vassudanagunta commented 2 weeks ago

Any chance this can get resolved? It seems like a simple fix.

@abnerlee @vassudanagunta @lesander @vastbluesky

You should not be tagging people like you just did. For two big reasons.

  1. People responsible for the repo already get automatically notified. Maybe you tagged people specifically in the hopes that your request would more likely be heard. Which means you believe your request is more important than all the others waiting for attention.

    You'll notice there are 700 open issues. Trust me, there are dozens if not hundreds more important than yours.

  2. Only Abner is the maintainer of Typora or writes any code for it. The people the repo shows as contributors are people who've ever contributed anything, no matter how small. Furthermore, this repo has no code. Abner created it purely for issue tracking. All I ever did is make some improvement to the README seven years ago.

That said, I hope yours and many other issues get fixed. I have 21 open issues on Typora (and 41 closed), and many more that I've voted for that still haven't been resolved.