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
Windows: Creating note from search panel with duplicate filename #1988
Comments
That sounds like a problem with NTFS, that looks like it is case sensitive in Explorer, but underneath it's case-insensitive and treats files with different cases as one file. 😅 |
Can you please post the output from the debug settings (see issue template). |
Here you go. [15:54:54] [debug] storing note file: "xxx.md" QOwnNotes Debug InformationGeneral InfoCurrent Date: Server InfoserverUrl: empty SpellcheckingEnabled: Note folderscurrentNoteFolderId: Note folder
|
Yes, I took a look at it. It's an issue with how NTFS handles files. I'll look into it how hard it is to make a workaround. |
Let's see if there are complains... But in my opinion having different cases is asking for troubles. 20.12.6
|
@Waqar144, do you have complains? |
For now no, mostly because I never create notes that way. I always use, right click on sub folder create new note. But there might be others... |
If one has two notes with the "same" name already then you can view both. If you edit one of them then the |
There now is a new release, could you please test it and report if it works for you? |
Creating a duplicate note is not possible any more - great! |
The current change was just about |
20.12.7
|
There now is a new release, could you please test it and report if it works for you? |
It works perfect!! I really hope it does not annoy anyone else. |
Time will tell. 😁 |
Well I know this is Windows only, but anyway...
When you create a new note by entering a name (e.g. "test") in the seach panel and hitting enter a new note is created. That's fine and a nice shortcut.
If you (anytime later) do the same but use different case for the same name (e.g. "Test"), it looks like another new note is created. It opens blank in the editor, your can type along. But in the background, the existing old (first) note-file gets overwritten.
This is not visible in the editor, both notes seem OK until you restart or reload.
Is there a way I can check before actually creating and thereby purging the note-file?
I did some search but I could not find a doc which hooks are possible. The link in other issues seems broken.
The text was updated successfully, but these errors were encountered: