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

.txt not added to Plain Text files #1542

Closed
FirasAleem opened this issue Oct 30, 2023 · 2 comments
Closed

.txt not added to Plain Text files #1542

FirasAleem opened this issue Oct 30, 2023 · 2 comments
Assignees
Labels
bug somethings work not correctly
Milestone

Comments

@FirasAleem
Copy link

Description

Hello,

I have Plain Text set as the default format, and it shows up on the top right as "Plain Text", however when I save the file, it saves with no extension. I have to add .txt manually for it to show up. I’ve tried changing the default format to something else, like C and it saves with .c but refuses to with a plain text file

To Reproduce

  1. Open CotEditor
  2. Save file with default set as plain text
  3. File saves without .txt extension

Expected behavior

No response

CotEditor version

4.6.3

macOS version

14.0

Additional context

No response

@FirasAleem FirasAleem added the potential bug issues not yet tested label Oct 30, 2023
@1024jp
Copy link
Member

1024jp commented May 28, 2024

Sorry for taking the time to reply.

The Save dialog on macOS has a feature to toggle hide file extension.
This option became hard to find in modern operating systems, but it is in a menu on the Save dialog.
Does this situation apply to you?

Screenshot 2024-05-28 at 9 22 28

If so, I recently found the file extension is completely removed when the option is turned on.
I'll fix this issue on the next version by just disabling the option.
(It is of course better if I could fix it without disabling it. However, this seems not easy on CotEditor...)

@1024jp 1024jp self-assigned this May 28, 2024
@FirasAleem
Copy link
Author

Hey, no worries! This seems to have fixed it, thanks!

@1024jp 1024jp added bug somethings work not correctly and removed potential bug issues not yet tested labels May 28, 2024
@1024jp 1024jp added this to the 4.8.5 milestone May 28, 2024
@1024jp 1024jp closed this as completed May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug somethings work not correctly
Development

No branches or pull requests

2 participants