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

Cannot close file deleted outside of ecode #33

Closed
emeraldtip opened this issue Feb 6, 2023 · 3 comments
Closed

Cannot close file deleted outside of ecode #33

emeraldtip opened this issue Feb 6, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@emeraldtip
Copy link

When I have a file open inside ecode and delete it in the system explorer, I can no longer close the file.
File is automatically closed afterwards though.
Refreshing the view doesn't mitigate this.

@SpartanJ SpartanJ self-assigned this Feb 6, 2023
@SpartanJ SpartanJ added the bug Something isn't working label Feb 6, 2023
@SpartanJ
Copy link
Owner

SpartanJ commented Feb 7, 2023

Hi @emeraldtip , thanks for reporting these bugs. The other bugs were very clear to me, all where the same error (incorrect encoding used on Windows, I don't use ecode on Windows so I never saw them). Now, this bug report, I have no idea what you are describing, can you record a very short video demonstrating the error? Thanks

@emeraldtip
Copy link
Author

emeraldtip commented Feb 8, 2023

I've discovered that it only happens when that file is the only thing open - no other files open beside it in other tabs

2023-02-08.16-33-48.mp4

@SpartanJ
Copy link
Owner

SpartanJ commented Feb 8, 2023

Oh yes, I kinda forgot about that bug, it only happens if the file is empty, you don't need to delete the file. If you insert any character will let you close it. I also was able to crash the application somehow while testing the bug, I'll take a look, it should be a simple fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants