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

Windows: Creating note from search panel with duplicate filename #1988

Closed
WarpEnterprises opened this issue Dec 14, 2020 · 15 comments
Closed
Labels
Importance: Medium Type: Breaking change Fix or feature that will cause existing functionality to change Type: Feature adds functionality
Milestone

Comments

@WarpEnterprises
Copy link

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.

@pbek
Copy link
Owner

pbek commented Dec 15, 2020

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. 😅

@pbek
Copy link
Owner

pbek commented Dec 15, 2020

Can you please post the output from the debug settings (see issue template).
And is there any useful log output if you enable the log panel (see Window / Panels)? Please make sure you also enable debug logging in the log panel (by right-clicking on the panel and and selecting Debug in Options).

@WarpEnterprises
Copy link
Author

Here you go.
BTW, the same happens when I rename a note using an identical name (make "xxx", make "yyy", rename "yyy" to "xxx" by changing the title).
If the both names are e.g. lowercase and I then rename one to the other a " 1" gets appended, which is OK.

[15:54:54] [debug] storing note file: "xxx.md"
[15:54:54] [status] Stored current note to disk
[15:54:54] [debug] loadNoteDirectoryList
[15:54:54] [debug] reloadTagTree
[15:54:54] [debug] reloadTagTree - 'noteSubFolderIds': QVector()
[15:54:55] [debug] setCurrentNote - 'note': Note: 8 "xxx" "xxx.md" 0 "" false - 'updateNoteText': true - 'updateSelectedNote': true
[15:54:55] [debug] added to history: NoteHistoryItem: "xxx" "" 0 0
[15:55:02] [debug] storing note file: "xxx.md"
[15:55:02] [debug] stored note: Note: 8 "xxx" "xxx.md" 0 "" false
[15:55:02] [debug] storeUpdatedNotesToDisk - 'count': 1
[15:55:02] [status] Stored 1 note(s) to disk
[15:55:06] [debug] storing note file: "XXX.md"
[15:55:06] [status] Stored current note to disk
[15:55:06] [debug] loadNoteDirectoryList
[15:55:06] [debug] reloadTagTree
[15:55:06] [debug] reloadTagTree - 'noteSubFolderIds': QVector()
[15:55:07] [debug] setCurrentNote - 'note': Note: 9 "XXX" "XXX.md" 0 "" false - 'updateNoteText': true - 'updateSelectedNote': true
[15:55:07] [debug] added to history: NoteHistoryItem: "XXX" "" 0 0
[15:55:10] [debug] storing note file: "XXX.md"
[15:55:10] [debug] stored note: Note: 9 "XXX" "XXX.md" 0 "" false
[15:55:10] [debug] storeUpdatedNotesToDisk - 'count': 1
[15:55:10] [status] Stored 1 note(s) to disk

QOwnNotes Debug Information

General Info

Current Date: Di Dez 15 15:56:28 2020
Version: 20.12.5
Build date: Dec 13 2020
Build number: 5937
Platform: windows
Operating System: Windows 7 SP 1
Build architecture: i386
Current architecture: i386
Release: AppVeyor
Qt Version (build): 5.7.1
Qt Version (runtime): 5.7.1
Portable mode: no
Settings path / key: \HKEY_CURRENT_USER\Software\PBE\QOwnNotes
Application database path: C:\Users\Xxxxx.WHH\AppData\Roaming\PBE\QOwnNotes\QOwnNotes.sqlite
Application arguments: C:\appl\QOwnNotes-XP\QOwnNotes.exe
Qt Debug: 0
Locale (system): de_AT
Locale (interface): en
Primary screen resolution: 1366x768
Screen resolution(s): 1366x768, 1920x1080
Icon theme: breeze-qownnotes
Notes in current note folder: 9
Calendar items: 0
Enabled scripts: 1

Server Info

serverUrl: empty
appIsValid: yes
notesPathExists: empty
serverVersion: empty
appVersion: empty

Spellchecking

Enabled: false
Selected language: empty
Language codes: empty
Language names: empty
Application dictionaries path: C:\Users\Xxxxx.WHH\AppData\Roaming\PBE\QOwnNotes\dicts

Note folders

currentNoteFolderId: 1

Note folder Standard

id: 1
isCurrent: yes
activeTagId: -1
localPath: C:\Users\Xxxxx.WHH\Nextcloud\Notes
remotePath: Notes
cloudConnectionId: 1
isShowSubfolders: no
isUseGit: yes
activeNoteSubFolder name: empty
database file: C:\Users\Xxxxx.WHH\Nextcloud\Notes\notes.sqlite

Cloud connections

Cloud connection ``

id: 1
isCurrent: yes
serverUrl: empty
username: empty

Enabled scripts

Script git-push-action

id: 1
path: C:\appl\QOwnNotes-XP\meinescripts\git-push-action.qml
variablesJson: empty

Settings

ActiveNoteHistoryItem (NoteHistoryItem): <binary data>
Debug/fakeOldVersionNumber (QString): false
Debug/fileLogging (QString): false
Editor/ColorSchemes (QStringList): EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd
Editor/CurrentSchemaKey (QString): EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd
Editor/autoBracketClosing (QString): false
Editor/autoBracketRemoval (QString): false
Editor/disableCursorBlinking (QString): false
Editor/editorWidthInDFMOnly (QString): true
Editor/highlightCurrentLine (QString): true
Editor/indentSize (int): 3
Editor/removeTrailingSpaces (QString): false
Editor/useTabIndent (QString): true
Editor/vimMode (QString): false
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_-1 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_0 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_1 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_1000 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_1001 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_1002 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_1003 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_1004 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_1005 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_1006 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_11 (QString): false
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_12 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_13 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_14 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_15 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_16 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_17 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_18 (QString): false
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_19 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_2 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_21 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_22 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_23 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_25 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_28 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_3 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_4 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColorEnabled_8 (QString): false
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_-1 (QColor): #ffffff
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_0 (QColor): #fff8ef
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_1 (QColor): #fff2e4
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_1000 (QColor): #edfced
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_1001 (QColor): #edfced
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_1002 (QColor): #edfced
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_1003 (QColor): #edfced
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_1004 (QColor): #edfced
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_1005 (QColor): #edfced
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_1006 (QColor): #edfced
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_11 (QColor): #aaf7ff
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_12 (QColor): #f1f1f4
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_13 (QColor): #f1f1f4
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_14 (QColor): #f1f1f4
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_15 (QColor): #f1f1f4
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_16 (QColor): #f1f1f4
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_17 (QColor): #f1f1f4
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_18 (QColor): #f5f9d8
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_19 (QColor): #e2e7e2
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_2 (QColor): #fff2e4
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_21 (QColor): #ebebeb
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_22 (QColor): #f7f6ff
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_23 (QColor): #edfced
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_25 (QColor): #d8e8ff
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_28 (QColor): #ebebeb
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_3 (QColor): #edffed
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_4 (QColor): #edfced
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/BackgroundColor_8 (QColor): #dbf9e5
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/Bold_12 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/Bold_13 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/Bold_14 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/Bold_15 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/Bold_16 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/Bold_17 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/Bold_8 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/FontSizeAdaption_12 (int): 130
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/FontSizeAdaption_13 (int): 110
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/FontSizeAdaption_14 (int): 100
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/FontSizeAdaption_15 (QString): 100
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/FontSizeAdaption_16 (int): 100
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/FontSizeAdaption_17 (int): 100
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/FontSizeAdaption_8 (QString): 100
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_-1 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_0 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_1 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_10 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_1000 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_1001 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_1002 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_1003 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_1004 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_1005 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_1006 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_11 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_12 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_13 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_14 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_15 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_16 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_17 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_18 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_19 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_2 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_20 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_21 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_22 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_23 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_24 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_26 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_29 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_3 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_30 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_4 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_5 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_6 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_7 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_8 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColorEnabled_9 (QString): true
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_-1 (QColor): #000000
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_0 (QColor): #fc7e00
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_1 (QColor): #fc7e00
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_10 (QColor): #a3007b
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_1000 (QColor): #f92672
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_1001 (QColor): #3ba23f
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_1002 (QColor): #908b74
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_1003 (QColor): #636def
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_1004 (QColor): #b57c50
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_1005 (QColor): #ae81ff
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_1006 (QColor): #f92672
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_11 (QColor): #ababab
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_12 (QColor): #00316e
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_13 (QColor): #003a82
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_14 (QColor): #004396
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_15 (QColor): #0051b4
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_16 (QColor): #0055be
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_17 (QColor): #0055be
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_18 (QColor): #aa0000
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_19 (QColor): #008000
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_2 (QColor): #fc7e00
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_20 (QColor): #3d3d3d
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_21 (QColor): #393939
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_22 (QColor): #4e18b9
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_23 (QColor): #006c00
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_24 (QColor): #cccccc
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_26 (QColor): #ff5500
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_29 (QColor): #bf0000
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_3 (QColor): #00bf00
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_30 (QColor): #007e00
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_4 (QColor): #006c00
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_5 (QColor): #3d3d3d
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_6 (QColor): #3d3d3d
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_7 (QColor): #0064ff
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_8 (QColor): #0064ff
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/ForegroundColor_9 (QColor): #a3007b
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/Italic_7 (QString): false
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/Name (QString): Light (Kopie)
EditorColorSchema-503d138c-054f-4cdf-a0a0-25e6030a29bd/Underline_26 (QString): true
FileDialog/LastPath (QString): C:/appl
FileDialog/LastPath-GitExecutable (QString): C:/Users/Xxxxx.WHH/AppData/Local/Programs/Git/bin
FileDialog/LastPath-NotePDFExport (QString): C:/appl
FileDialog/LastPath-PreviewHTMLFileExport (QString): C:/appl
FileDialog/LastPath-ScriptPath (QString): C:/appl/QOwnNotes-XP/meinescripts
IssueAssistantDialog/geometry (QByteArray): <binary data>
LastUpdateCheck (QDateTime): 2020-12-15T15:52:34
LocalTrashDialog/geometry (QByteArray): <binary data>
LogWidget/criticalLog (QString): true
LogWidget/debugLog (QString): true
LogWidget/fatalLog (QString): true
LogWidget/infoLog (QString): true
LogWidget/scriptingLog (QString): true
LogWidget/statusLog (QString): true
LogWidget/warningLog (QString): true
MainWindow/geometry (QByteArray): <binary data>
MainWindow/mainToolBar.iconSize (int): 24
MainWindow/menuBarGeometry (QByteArray): <binary data>
MainWindow/noteTextEdit.code.font (QString): Courier New,10,-1,2,50,0,0,0,0,0
MainWindow/noteTextEdit.font (QString): MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.code.font (QString): Courier New,8,-1,2,50,0,0,0,0,0
MainWindow/noteTextView.font (QString): MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.ignoreCodeFontSize (QString): false
MainWindow/noteTextView.rtl (QString): false
MainWindow/noteTextView.underline (QString): true
MainWindow/noteTextView.useEditorStyles (QString): true
MainWindow/noteTextView.useInternalExportStyling (QString): true
MainWindow/showNotesFromAllNoteSubFolders (QString): true
MessageBoxOverride/readonly-mode-allow (int): 16384
MessageBoxOverride/restore-note (int): 65536
NoteDiffDialog/geometry (QByteArray): <binary data>
NoteFolder-1/NoteTabNameList (QStringList): z Telefon
NoteFolder-1/NoteTabStickinessList (QStringList): empty
NoteFolder-1/NoteTabSubFolderPathDataList (QStringList): empty
NoteHistory-1 (QVariantList): <variant list with 46 item(s)>
NoteHistoryCurrentIndex-1 (int): 45
PasswordDialog/geometry (QByteArray): <binary data>
PiwikClientId (QString): <hidden>
Printer/NotePDFExportOrientation (int): 0
Printer/NotePDFExportPageSize (int): 4
ScriptRepositoryDialog/mainSplitterState (QByteArray): <binary data>
SearchEngineId (int): 2
SettingsDialog/geometry (QByteArray): <binary data>
SettingsDialog/mainSplitterState (QByteArray): <binary data>
ShareDialog/geometry (QByteArray): <binary data>
ShowSystemTray (QString): false
StartHidden (QString): false
WelcomeDialog/geometry (QByteArray): <binary data>
acceptAllExternalModifications (QString): false
allowNoteEditing (QString): true
allowOnlyOneAppInstance (QString): true
appMetrics/disableAppHeartbeat (QString): false
appMetrics/disableTracking (QString): false
appMetrics/notificationShown (QString): true
automaticNoteFolderDatabaseClosing (QString): true
checkSpelling (QString): false
closeTodoListAfterSave (QString): false
cryptoKey (qlonglong): <hidden>
currentNoteFolderId (int): 1
currentWorkspace (QString): RyXcXLHHsxtz
cursorWidth (int): 2
customNoteFileExtensionList (QStringList): empty
darkMode (QString): false
darkModeColors (QString): false
darkModeIconTheme (QString): false
darkModeTrayIcon (QString): false
defaultNoteFileExtension (QString): md
demoNotesCreated (QString): true
disableAutomaticUpdateDialog (QString): false
disableSavedSearchesAutoCompletion (QString): false
dockWasInitializedOnce (QString): true
enableNoteTree (QString): false
enableSocketServer (QString): false
externalEditorPath (QString): empty
fullyHighlightedBlockquotes (QString): false
gitCommitInterval (int): 60
gitExecutablePath (QString): C:/Users/Xxxxx.WHH/AppData/Local/Programs/Git/bin/git.exe
gitLogCommand (QString): empty
guiFirstRunInit (QString): true
ignoreAllExternalModifications (QString): false
ignoreAllExternalNoteFolderChanges (QString): false
ignoreNoteSubFolders (QString): ^\.
imageScaleDown (QString): false
imageScaleDownMaximumHeight (int): 1024
imageScaleDownMaximumWidth (int): 1024
initialLayoutIdentifier (QString): minimal
insertTimeFormat (QString): empty
interfaceFontSize (int): 11
interfaceLanguage (QString): en
interfaceStyle (QString): WindowsXP
internalIconTheme (QString): false
itemHeight (int): 13
legacyLinking (QString): false
localTrash/autoCleanupDays (int): 30
localTrash/autoCleanupEnabled (QString): true
localTrash/supportEnabled (QString): false
localTrashSplitterSizes (QByteArray): <binary data>
markdownHighlightingEnabled (QString): true
navigationPanelHideSearch (QString): false
networking/ignoreSSLErrors (QString): true
networking/proxyType (int): 2
newNoteAskHeadline (QString): false
noteEditIsCentralWidget (QString): true
noteListPreview (QString): false
noteSaveIntervalTime (int): 600
noteSubfoldersPanelDisplayAsFullTree (QString): true
noteSubfoldersPanelHideSearch (QString): false
noteSubfoldersPanelOrder (int): 0
noteSubfoldersPanelShowFullPath (QString): false
noteSubfoldersPanelShowNotesRecursively (QString): false
noteSubfoldersPanelShowRootFolderName (QString): true
noteSubfoldersPanelSort (int): 0
notesPanelOrder (int): 0
notesPanelSort (int): 0
notesPath (QString): C:/Users/Xxxxx.WHH/Nextcloud/Notes
notifyAllExternalModifications (QString): true
overrideInterfaceFontSize (QString): false
ownCloud/supportEnabled (QString): false
ownCloud/todoCalendarBackend (int): 3
ownCloud/todoCalendarCalDAVPassword (QString): <hidden>
ownCloud/todoCalendarCalDAVServerUrl (QString): empty
ownCloud/todoCalendarCalDAVUsername (QString): empty
ownCloud/todoCalendarCloudConnectionId (int): 0
ownCloud/todoCalendarDisplayNameList (QStringList): empty
ownCloud/todoCalendarEnabledList (QStringList): empty
ownCloud/todoCalendarEnabledUrlList (QStringList): empty
ownCloud/todoCalendarUrlList (QStringList): empty
ownCloudInfo/appIsValid (QString): true
ownCloudInfo/connectionErrorMessage (QString): empty
ownCloudInfo/notesPathExistsText (QString): empty
ownCloudInfo/serverVersion (QString): empty
restoreCursorPosition (QString): true
restoreLastNoteAtStartup (QString): true
restoreNoteTabs (QString): true
savedSearches/noteFolder-1 (QStringList): XXX, xxx, gu, GU, LAG, lag, gulag, xx, XX, X, x, TEST, test, Note 2020-12-14T18.08.31, HBX, hbx, Note 2020-12-14T09.58.10, Note 2020-12-13T16.08.19, FBP, fbp, Note 2020-12-12T18.58.29, Note 2020-12-12T18.58.27, Note 2020-12-12T11.01.32, Note 2020-12-12T10.31.38, Note 2020-12-11T23.12.50, Note 2020-12-11T23.05.38, Note 2020-12-11T07.59.33, Note 2020-12-09T22.28.01, Note 2020-12-09T22.27.22
showMatches (QString): true
showMenuBar (QString): true
showStatusBar (QString): true
systemIconTheme (QString): false
tagWasAddedToNote (QString): true
taggingShowNotesRecursively (QString): false
tagsPanelHideNoteCount (QString): false
tagsPanelHideSearch (QString): false
tagsPanelOrder (int): 0
tagsPanelSort (int): 0
todoCalendarSupport (QString): false
toolbar/1/items (QStringList): action_New_note, action_Find_note, actionSave_modified_notes, actionAllow_note_editing, , action_Back_in_note_history, action_Forward_in_note_history, , action_Find_text_in_note, actionReplace_in_current_note, , togglePanel-notePreviewDockWidget, customAction_gitPush, togglePanel-logDockWidget
toolbar/1/name (QString): mainToolBar
toolbar/1/title (QString): main toolbar
toolbar/2/items (QStringList): actionFormat_text_bold, actionFormat_text_italic, actionStrike_out_text, actionInsert_code_block, actionInsert_block_quote
toolbar/2/name (QString): formattingToolbar
toolbar/2/title (QString): formatting toolbar
toolbar/3/items (QStringList): actionInsert_Link_to_note, actionInsert_image, actionInsert_current_time
toolbar/3/name (QString): insertingToolbar
toolbar/3/title (QString): inserting toolbar
toolbar/4/items (QStringList): action_Encrypt_note, actionEdit_encrypted_note, actionDecrypt_note
toolbar/4/name (QString): encryptionToolbar
toolbar/4/title (QString): encryption toolbar
toolbar/5/items (QStringList): actionWorkspaceComboBox, actionStore_as_new_workspace, actionRemove_current_workspace, actionRename_current_workspace, actionSwitch_to_previous_workspace, actionUnlock_panels, , actionToggle_distraction_free_mode, action_Increase_note_text_size, action_Decrease_note_text_size, action_Reset_note_text_size
toolbar/5/name (QString): windowToolbar
toolbar/5/title (QString): window toolbar
toolbar/6/items (QStringList): action_Quit
toolbar/6/name (QString): quitToolbar
toolbar/6/title (QString): quit toolbar
toolbar/size (int): 6
useNoteFolderButtons (QString): true
useUNIXNewline (QString): false
webSocketServerService/bookmarksNoteName (QString): Bookmarks
webSocketServerService/bookmarksTag (QString): bookmarks
webSocketServerService/port (int): 22222
workspace-RyXcXLHHsxtz/name (QString): Minimal
workspace-RyXcXLHHsxtz/noteSubFolderDockWidgetVisible (QString): true
workspace-RyXcXLHHsxtz/windowState (QByteArray): <binary data>
workspace-initial/name (QString): Vollständig
workspace-initial/noteSubFolderDockWidgetVisible (QString): true
workspace-initial/windowState (QByteArray): <binary data>
workspaces (QStringList): initial, RyXcXLHHsxtz

System environment

ALLUSERSPROFILE: C:\ProgramData
APPDATA: C:\Users\Xxxxx.WHH\AppData\Roaming
CommonProgramFiles: C:\Program Files\Common Files
COMPUTERNAME: WHH
ComSpec: C:\windows\system32\cmd.exe
configsetroot: C:\windows\ConfigSetRoot
FP_NO_HOST_CHECK: NO
HOMEDRIVE: C:
HOMEPATH: \Users\Xxxxx.WHH
LOCALAPPDATA: C:\Users\Xxxxx.WHH\AppData\Local
LOGONSERVER: \\WHH
NUMBER_OF_PROCESSORS: 4
OS: Windows_NT
Path: C:\windows\SYSTEM32;C:\windows;C:\windows\SYSTEM32\WBEM;C:\windows\SYSTEM32\WINDOWSPOWERSHELL\V1.0\;C:\PROGRAM FILES\TREND MICRO\AMSP;C:\Program Files\Calibre2\;C:\adb;C:\windows\SYSTEM32;C:\windows;C:\windows\SYSTEM32\WBEM;C:\windows\SYSTEM32\WINDOWSPOWERSHELL\V1.0\;C:\PROGRAM FILES\TREND MICRO\AMSP;C:\Program Files\Calibre2\;C:\adb;C:\Users\Xxxxx.WHH\AppData\Local\Programs\Git\cmd
PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE: x86
PROCESSOR_IDENTIFIER: x86 Family 6 Model 28 Stepping 10, GenuineIntel
PROCESSOR_LEVEL: 6
PROCESSOR_REVISION: 1c0a
ProgramData: C:\ProgramData
ProgramFiles: C:\Program Files
PSModulePath: C:\windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC: C:\Users\Public
SESSIONNAME: Console
SystemDrive: C:
SystemRoot: C:\windows
TEMP: C:\Users\Xxxxx.WHH\AppData\Local\Temp
TMP: C:\Users\Xxxxx.WHH\AppData\Local\Temp
USERDOMAIN: WHH
USERNAME: Xxxxx
USERPROFILE: C:\Users\Xxxxx.WHH
windir: C:\windows

@pbek
Copy link
Owner

pbek commented Dec 15, 2020

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.

@pbek
Copy link
Owner

pbek commented Dec 15, 2020

Let's see if there are complains... But in my opinion having different cases is asking for troubles.

20.12.6

  • different cases in note names for different notes are now prohibited to prevent problems
    on case-insensitive filesystems, like NTFS

@pbek pbek added this to the 20.12.6 milestone Dec 15, 2020
@pbek
Copy link
Owner

pbek commented Dec 15, 2020

@Waqar144, do you have complains?

@Waqar144
Copy link
Contributor

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...

pbek added a commit that referenced this issue Dec 15, 2020
@pbek
Copy link
Owner

pbek commented Dec 15, 2020

If one has two notes with the "same" name already then you can view both. If you edit one of them then the 1 gets appended to the filename.

@pbek
Copy link
Owner

pbek commented Dec 15, 2020

There now is a new release, could you please test it and report if it works for you?

@WarpEnterprises
Copy link
Author

Creating a duplicate note is not possible any more - great!
But it seems the change does no kick in when renaming:
Make "xxx", make "yyy", rename "yyy" to "XXX" by changing the title -> xxx gets overwritten.

@pbek
Copy link
Owner

pbek commented Dec 16, 2020

The current change was just about Creating note from search panel with duplicate filename... I don't know if we should clip renaming too for the majority of users without ntfs. 😅

@pbek pbek added Importance: Medium Type: Breaking change Fix or feature that will cause existing functionality to change Type: Feature adds functionality and removed Type: Support labels Dec 17, 2020
@pbek
Copy link
Owner

pbek commented Dec 17, 2020

20.12.7

  • now storing notes in different cases is also prohibited to prevent more problems on
    case-insensitive filesystems, like NTFS (for #1988)

@pbek pbek modified the milestones: 20.12.6, 20.12.7 Dec 17, 2020
@pbek
Copy link
Owner

pbek commented Dec 17, 2020

There now is a new release, could you please test it and report if it works for you?

@WarpEnterprises
Copy link
Author

It works perfect!! I really hope it does not annoy anyone else.

@pbek
Copy link
Owner

pbek commented Dec 18, 2020

It works perfect!! I really hope it does not annoy anyone else.

Time will tell. 😁
Thank you for testing. Took a bit a brain-bending to get this running. 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Importance: Medium Type: Breaking change Fix or feature that will cause existing functionality to change Type: Feature adds functionality
Projects
None yet
Development

No branches or pull requests

3 participants