Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
ateles8 opened this issue May 6, 2024 · 0 comments
Open
3 tasks done

Comments

@ateles8
Copy link

ateles8 commented May 6, 2024

  • Searched existing issues to avoid creating duplicates.

  • Confirmed that it can be reproduced in built-in themes without customized css.

    If it only exists in 3rd party themes or css, you can still report it, but please attach the theme target or the css file. We may not "fix" it, if it is caused by 3rd party themes or css styles that we cannot support.

  • Searched http://support.typora.io/


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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant