Unable to close the file without saving it first after converting it
Description
When opening a file with inconsistent line endings CotEditor presents an option to either Convert, Review or Ignore them.
If "Convert" option is chosen and then a user tries to close the file from the editor, there is no option to close it without saving it first.
The only available options are "Save Available Text" or "Review Incompatible Characters.
To Reproduce
- Open a document with inconsistent line endings, in my case it's a file ending with extension .fid.
- CotEditor will display a warning, click on "Convert" button.
- Try to close the document and notice it's not possible to close it without saving it first
Expected behavior
No response
CotEditor version
5.1.6
macOS version
Sonoma 15.5
Additional context
No response
Hi, thanks for the feedback.
For the further investigation, could you share me a file that can reproduce this issue? If you’d prefer not to share it here, you can also send it to the email address provided in CotEditor’s Help > “Create Issue Report.”
I have encountered the same issue. I have attached a random file that reproduces the dialog in step 4 in the original issue where the dialog does not allow you to Close or Discard. You cannot quit the editor without saving.
If you revert the file to "last opened" then you can close the file without saving.
@jsmarble Great! Thank you! I’ll investigate with your file.
Oops, the fix was still in the middle of the process. I have one more part to go to fix, so I will reopen.
I believe I’ve fixed this issue in the next version, 5.2.0, currently in prerelease testing. In the next week, I’ll release the stable version.