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

Only changing capitalisation of letters during rename results in no rename #3608

Open
1 task done
matthboers opened this issue Apr 3, 2023 · 0 comments
Open
1 task done

Comments

@matthboers
Copy link

Description

When trying to rename any markdown file, if you only change the capitalisation of letters, and press enter, the file will not be renamed. Clicking away from the renaming prompt discards the changes.
If you make a change that does not involve changing the capitalisation of letters, the change will be accepted by pressing enter, which I assume is the desired behaviour.

  • Can you reproduce the issue?

Steps to reproduce

  1. In the sidebar, have a folder with markdown files open
  2. Try to rename one of the files by right clicking, and pressing 'Rename'
  3. Change the capitalisation of letters. For example:
    • markdown.md -> Markdown.md
    • markdown.md -> MARKdown.md
  4. Press enter or click out of the renaming prompt

Expected behavior:

The file is renamed according to what is entered in the prompt.

Actual behavior:

The file is not renamed, unless another change besides capitalisation has happened.

Versions

  • MarkText version: v0.17.1
  • Operating system: OpenSuse Tumbleweed
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