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

[Feature] Don't close main window when deleting file of active buffer #5686

Open
doubleday opened this issue Mar 31, 2023 · 2 comments
Open

Comments

@doubleday
Copy link

Use Case

I want to delete a file that I have open in Typora.
To delete the file I right click in the tree view and select Delete

Current Behaviour

Typora ask me wether I want to move the file or close.
When I click close and the file is the last open tab Typora's main window closes.

Desired Behaviour

When I click close and the file is the last open tab Typora should open an tab with an empty buffer just as it does when starting Typora

@doubleday doubleday changed the title [Feature] Don't close last Window deleting file of active buffer [Feature] Don't close main window when deleting file of active buffer Mar 31, 2023
@abnerlee
Copy link
Contributor

What's your Typora version and operating system? In my test, Typora will only ask you to Confirm or Cancel the delete operation, it will not ask you to close the window. Could you provide a screencast of this issue?

@guocheng18
Copy link

@abnerlee I am also facing the same issue, but only when the file is set to sync with Dropbox. I use Typora 1.6.7 and MacOS 13.4.1.

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

No branches or pull requests

3 participants