pbek / QOwnNotes

QOwnNotes is a plain-text file notepad and todo-list manager with Markdown support and Nextcloud / ownCloud integration.
https://www.qownnotes.org/
GNU General Public License v2.0
4.59k stars 407 forks source link

[BUG] Automatic note creation when clicking on missing notes doesn't work on Windows #2899

Closed FeintDoxx closed 5 months ago

FeintDoxx commented 10 months ago

As title states, just started using this software and have absolute 0 mark down experience.

Not sure how to even word the question but from my understanding I should be able to make a note, then within from that note link another note. As such

`

` When I CTRL+Click the link >Could not find note.....because subfolders are disabled for current note folder. I go turn on subfolders for current note folder I recieve: > Note was not found, create new note **someNote.md** at path C:\Path\To\Notes? Click yes > Failed to create note Uhmm ok, checks path, C:\Users\User\Documents\Notes Tried D:\SecondaryStorage\Notes Nope, Hmm. But then I try ` ` CTRL+Click >Note was not found, create new note someNote? Click yes (completely disregarded path in this question) Creates the note in the Notes directory then I just put random characters anything ` ` will make the note in the current directory. And obviously if I create another directory from within the app lets say Notes > Test and then ` ` works fine But I am wondering, am I missing something? Am I supposed to be making the directories and note before hand? If so that's fine I'll adjust my flow for the note creation but seems counterintuitive I would have thought turning on the subfolders option would then just create the subfolder for the note being linked if said linked note doesn't exist.
pbek commented 10 months ago

You did not share your settings, hard to tell what your setup is. Can you please post the output from the debug settings that you can copy when you get into the settings dialog in QOwnNotes and head over to the Debug section of it?

Usually you create notes and then link to them afterward. Ctrl + Shift + L helps you with that.

FeintDoxx commented 9 months ago

You did not share your settings, hard to tell what your setup is. Can you please post the output from the debug settings that you can copy when you get into the settings dialog in QOwnNotes and head over to the Debug section of it?

Usually you create notes and then link to them afterward. Ctrl + Shift + L helps you with that.

Gotcha, not sure where I had gotten the impression for it working as I described.

`QOwnNotes Debug Information

General Info

Current Date: Sun Nov 12 17:42:08 2023 Version: 23.11.1 Build date: Nov 10 2023 Build number: 1062 Platform: windows Operating System: Windows 10 Version 2009 Build architecture: x86_64 Current architecture: x86_64 Release: GitHub Actions Qt Version (build): 5.15.2 Qt Version (runtime): 5.15.2 Portable mode: no Settings path / key: \HKEY_CURRENT_USER\Software\PBE\QOwnNotes Application database path: C:\Users\User\AppData\Roaming\PBE\QOwnNotes\QOwnNotes.sqlite Application arguments: C:\Users\User\Desktop\Admin Tools\QOwnNotes\QOwnNotes.exe Qt Debug: 0 Locale (system): en_US Locale (interface): empty Primary screen resolution: 1920x1080 Screen resolution(s): 1920x1080, 1920x1080 Icon theme: breeze-dark-qownnotes Notes in current note folder: 1 Calendar items: 0 Enabled scripts: 0

Server Info

serverUrl: empty appIsValid: no notesPathExists: empty connectionErrorMessage: empty

Spellchecking

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

Note folders

currentNoteFolderId: 3

Note folder Notes

id: 3 isCurrent: yes activeTagId: 0 localPath: C:\Users\User\Documents\Notes remotePath: Notes cloudConnectionId: 1 isShowSubfolders: yes isUseGit: no allowDifferentNoteFileName: no activeNoteSubFolder name: empty database file: C:\Users\User\Documents\Notes\notes.sqlite

Cloud connections

Cloud connection Default

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

Enabled scripts

Settings

AboutDialog/geometry (QByteArray): <binary data> ActiveNoteHistoryItem (NoteHistoryItem): <binary data> Debug/fakeOldVersionNumber (QString): false Debug/fileLogging (QString): false Editor/CurrentSchemaKey (QString): EditorColorSchema-cdbf28fc-1ddc-4d13-bb21-6a4043316a2f Editor/autoBracketClosing (QString): true Editor/autoBracketRemoval (QString): true Editor/disableCursorBlinking (QString): false Editor/editorWidthInDFMOnly (QString): true Editor/highlightCurrentLine (QString): true Editor/indentSize (int): 4 Editor/removeTrailingSpaces (QString): false Editor/showLineNumbers (QString): false Editor/useTabIndent (QString): false Editor/vimMode (QString): false IssueAssistantDialog/geometry (QByteArray): <binary data> LastUpdateCheck (QDateTime): 2023-11-12T17:40:51.191 LinkDialog/geometry (QByteArray): <binary data> MainWindow/geometry (QByteArray): <binary data> MainWindow/mainToolBar.iconSize (int): 24 MainWindow/menuBarGeometry (QByteArray): <binary data> MainWindow/noteTextEdit.code.font (QString): Courier New,9,-1,2,50,0,0,0,0,0 MainWindow/noteTextEdit.font (QString): MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0 MainWindow/noteTextView.code.font (QString): Courier New,9,-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): true MainWindow/noteTextView.refreshDebounceTime (int): 600 MainWindow/noteTextView.rtl (QString): false MainWindow/noteTextView.underline (QString): true MainWindow/noteTextView.useEditorStyles (QString): true MainWindow/noteTextView.useInternalExportStyling (QString): true MainWindow/showNotesFromAllNoteSubFolders (QString): false MessageBoxOverride/windows-dark-mode (int): 16384 NoteFolder-3/NoteTabNameList (QStringList): Anime List NoteFolder-3/NoteTabStickinessList (QStringList): empty NoteFolder-3/NoteTabSubFolderPathDataList (QStringList): empty NoteHistory-3 (QVariantList): <variant list with 5 item(s)> NoteHistoryCurrentIndex-3 (int): 4 PiwikClientId (QString): <hidden> ScriptRepositoryDialog/mainSplitterState (QByteArray): <binary data> SearchEngineId (int): 2 SettingsDialog/geometry (QByteArray): <binary data> SettingsDialog/mainSplitterState (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 autoReadOnlyMode (QString): false autoReadOnlyModeTimeout (int): 30 automaticNoteFolderDatabaseClosing (QString): false checkSpelling (QString): false closeTodoListAfterSave (QString): false cryptoKey (qlonglong): <hidden> currentNoteFolderId (int): 3 currentWorkspace (QString): initial cursorWidth (int): 1 darkMode (QString): true darkModeColors (QString): true darkModeIconTheme (QString): true darkModeTrayIcon (QString): true defaultNoteFileExtension (QString): md demoNotesCreated (QString): true disableAutomaticUpdateDialog (QString): true disableSavedSearchesAutoCompletion (QString): false dockWasInitializedOnce (QString): true enableNoteTree (QString): false enableSocketServer (QString): true enableWebAppSupport (QString): false externalEditorPath (QString): empty fullyHighlightedBlockquotes (QString): false gitCommitInterval (int): 30 gitExecutablePath (QString): empty gitLogCommand (QString): empty guiFirstRunInit (QString): true ignoreAllExternalModifications (QString): false ignoreAllExternalNoteFolderChanges (QString): false ignoreNoteSubFolders (QString): ^\. ignoredNoteFiles (QString): empty imageScaleDown (QString): false imageScaleDownMaximumHeight (int): 1024 imageScaleDownMaximumWidth (int): 1024 initialLayoutIdentifier (QString): full insertTimeFormat (QString): empty interfaceFontSize (int): 11 interfaceLanguage (QString): empty internalIconTheme (QString): false itemHeight (int): 15 legacyLinking (QString): false localTrash/autoCleanupDays (int): 30 localTrash/autoCleanupEnabled (QString): true localTrash/supportEnabled (QString): true markdownHighlightingEnabled (QString): true navigationPanelAutoSelect (QString): true navigationPanelHideSearch (QString): false networking/ignoreSSLErrors (QString): true networking/proxyType (int): 2 newNoteAskHeadline (QString): false noteEditIsCentralWidget (QString): true noteFileExtensionList (QStringList): md, txt noteListPreview (QString): false noteSaveIntervalTime (int): 10 noteSubfoldersPanelDisplayAsFullTree (QString): true noteSubfoldersPanelHideSearch (QString): false noteSubfoldersPanelOrder (int): 0 noteSubfoldersPanelShowFullPath (QString): false noteSubfoldersPanelShowNotesRecursively (QString): false noteSubfoldersPanelShowRootFolderName (QString): true noteSubfoldersPanelSort (int): 0 noteSubfoldersPanelTabsUnsetAllNotesSelection (QString): false notesPanelOrder (int): 0 notesPanelSort (int): 1 notesPath (QString): C:/Users/User/Documents/Notes notifyAllExternalModifications (QString): false 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): 1 ownCloud/todoCalendarDisplayNameList (QStringList): empty ownCloud/todoCalendarEnabledList (QStringList): empty ownCloud/todoCalendarEnabledUrlList (QStringList): empty ownCloud/todoCalendarUrlList (QStringList): empty ownCloudInfo/appIsValid (QString): false ownCloudInfo/connectionErrorMessage (QString): empty ownCloudInfo/notesPathExistsText (QString): empty ownCloudInfo/serverVersion (QString): empty recentNoteFolders (QStringList): empty restoreCursorPosition (QString): true restoreLastNoteAtStartup (QString): true restoreNoteTabs (QString): true savedSearches/noteFolder-3 (QStringList): test, Test, Note 2023-11-10T14.21.56, Note 2023-11-10T14.19.03 showMatches (QString): true showMenuBar (QString): true showStatusBar (QString): true startInReadOnlyMode (QString): false systemIconTheme (QString): false taggingShowNotesRecursively (QString): false tagsPanelHideNoteCount (QString): false tagsPanelHideSearch (QString): false tagsPanelOrder (int): 0 tagsPanelSort (int): 0 todoCalendarSupport (QString): true toolbar/1/items (QStringList): action_New_note, action_Find_note, action_Remove_note, action_Open_note_in_external_editor, actionShow_local_trash, actionAllow_note_editing, , action_Back_in_note_history, action_Forward_in_note_history, , action_Find_text_in_note, actionReplace_in_current_note, , actionShow_versions, actionShow_trash, actionShare_note, , actionShow_Todo_List 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_text_link, 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): false useUNIXNewline (QString): false webAppClientService/serverUrl (QString): wss://app.qownnotes.org webAppClientService/token (QString): <hidden> webSocketServerService/bookmarksNoteName (QString): Bookmarks webSocketServerService/bookmarksTag (QString): bookmarks webSocketServerService/commandSnippetsNoteName (QString): Commands webSocketServerService/commandSnippetsTag (QString): commands webSocketServerService/port (int): 22222 workspace-initial/name (QString): Full workspace-initial/noteSubFolderDockWidgetVisible (QString): true workspace-initial/windowState (QByteArray): <binary data> workspaces (QStringList): initial

System environment

ALLUSERSPROFILE: C:\ProgramData APPDATA: C:\Users\User\AppData\Roaming asl.log: Destination=file ChocolateyInstall: C:\ProgramData\chocolatey ChocolateyLastPathUpdate: 133223060481771108 CommonProgramFiles: C:\Program Files\Common Files CommonProgramFiles(x86): C:\Program Files (x86)\Common Files CommonProgramW6432: C:\Program Files\Common Files COMPUTERNAME: ROCKLEE ComSpec: C:\Windows\system32\cmd.exe DriverData: C:\Windows\System32\Drivers\DriverData HOMEDRIVE: C: HOMEPATH: \Users\User LOCALAPPDATA: C:\Users\User\AppData\Local LOGONSERVER: \\ROCKLEE NUMBER_OF_PROCESSORS: 24 OneDrive: C:\Users\User\OneDrive OS: Windows_NT Path: C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Calibre2\;C:\Program Files\nodejs\;C:\Program Files\PuTTY\;C:\Program Files\Mullvad VPN\resources;C:\Program Files (x86)\Common Files\Intuit\QBPOSSDKRuntime;C:\Users\User\AppData\Local\Microsoft\WindowsApps;C:\Users\User\AppData\Roaming\npm;C:\platform-tools; PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE: AMD64 PROCESSOR_IDENTIFIER: AMD64 Family 25 Model 33 Stepping 2, AuthenticAMD PROCESSOR_LEVEL: 25 PROCESSOR_REVISION: 2102 ProgramData: C:\ProgramData ProgramFiles: C:\Program Files ProgramFiles(x86): C:\Program Files (x86) ProgramW6432: C:\Program Files PSModulePath: C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules PUBLIC: C:\Users\Public SESSIONNAME: Console SystemDrive: C: SystemRoot: C:\Windows TEMP: C:\Users\User\AppData\Local\Temp TMP: C:\Users\User\AppData\Local\Temp USERDOMAIN: ROCKLEE USERDOMAIN_ROAMINGPROFILE: ROCKLEE USERNAME: User USERPROFILE: C:\Users\User windir: `C:\Windows``

Had forgotten about that, thanks for the reminder. But yeah, I just thought the idea of being able to just create the structure and new note files without having to lift my hand and reach over to the mouse would be convienient in my case since I am just kind of thinking of the structure for it as I go along. I dind't see a shortcut for making a new sub folder but rather going to the menu for sub folders. Regardless, looking forward to getting used to the flow for this, thanks for the response. Sorry about the passive aggressive tone haha.

pbek commented 9 months ago

Thank you. So we are talking about:

When clicking on note links of notes that don't exist, QOwnNotes should be able to not only create notes in the same folder, but should be able to create and use different subfolders too.

Is this correct?

pbek commented 9 months ago

What happens if you add <path/new note.md> to your note and you Ctrl + Click it?

For me a dialog appears, that ask me if I want to create a note new note in a path path.

alexanderino commented 9 months ago

Hi @pbek: With 23.11.2, I ask it to create the note <test.md>, but then a dialogue box says: (title) 'Failed to create note'; (text) 'Note creation failed'.

I am running QOwnNotes in portable mode. The log panel has this message:

[20:15:40] [warning] Failed to create subfolder: "Personal" when attempting to create path: "Personal"

FeintDoxx commented 9 months ago

Thank you. So we are talking about:

When clicking on note links of notes that don't exist, QOwnNotes should be able to not only create notes in the same folder, but should be able to create and use different subfolders too.

Is this correct?

Correct, as some of the others have stated if the note that is being referenced happens to be in child directory that doesn't exist the app fails to create the note and the directory. But if you create the directory and then reference "link" it it works fine and create the note in the subfolder.

pbek commented 9 months ago

@FeintDoxx For me, it created the directory and the note. 🤔 Do you have any log output?

as some of the others have stated

Which other example with sub-folders was there? Are we talking about another github issue?

@alexanderino, Can you please post the output from the debug settings that you can copy when you get into the settings dialog in QOwnNotes and head over to the Debug section of it?

alexanderino commented 9 months ago

Here is my portable setup (note that I enabled Use note subfolders in the Note folders settings page, and created a directory called existingdir): image

With <test1.md>, <\test2.md> and </test3.md>, ctrl+click gives: image image

With <nonexistingdir\test4a.md> and <nonexistingdir/test4b.md>, the notes are successfully created in the root Notes directory. The nonexistingdir directory is not created: image

With <existingdir\test5.md> and <existingdir/test6.md>, both notes are created inside existingdir: image

And here is the debug info:

QOwnNotes Debug Information

General Info

Current Date: Wed Nov 22 07:00:04 2023 Version: 23.11.2 Build date: Nov 17 2023 Build number: 1063 Platform: windows Operating System: Windows 10 Version 2009 Build architecture: x86_64 Current architecture: x86_64 Release: GitHub Actions Qt Version (build): 5.15.2 Qt Version (runtime): 5.15.2 Portable mode: yes Settings path / key: C:/tmp/QOwnNotes/Data/PBE/QOwnNotes.ini Application database path: C:\tmp\QOwnNotes\Data\QOwnNotes.sqlite Application arguments: QOwnNotes.exe, --portable Qt Debug: 0 Locale (system): en_AU Locale (interface): en Primary screen resolution: 2560x1440 Icon theme: breeze-qownnotes Notes in current note folder: 7 Calendar items: 0 Enabled scripts: 0

Server Info

serverUrl: empty appIsValid: no notesPathExists: empty connectionErrorMessage: empty

Spellchecking

Enabled: false Selected language: empty Language codes: empty Language names: empty Application dictionaries path: C:\tmp\QOwnNotes\Data\dicts

Note folders

currentNoteFolderId: 1

Note folder default

id: 1 isCurrent: yes activeTagId: -1 localPath: C:\tmp\QOwnNotes\Data\Notes remotePath: Notes cloudConnectionId: 1 isShowSubfolders: yes isUseGit: no allowDifferentNoteFileName: no activeNoteSubFolder name: empty database file: C:\tmp\QOwnNotes\Data\Notes\notes.sqlite

Cloud connections

Cloud connection Default

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

Enabled scripts

Settings

ActiveNoteHistoryItem (NoteHistoryItem): <binary data> Debug/fakeOldVersionNumber (QString): false Debug/fileLogging (QString): false Editor/CurrentSchemaKey (QString): EditorColorSchema-6033d61b-cb96-46d5-a3a8-20d5172017eb Editor/autoBracketClosing (QString): true Editor/autoBracketRemoval (QString): true Editor/disableCursorBlinking (QString): false Editor/editorWidthInDFMOnly (QString): true Editor/highlightCurrentLine (QString): true Editor/indentSize (QString): 4 Editor/removeTrailingSpaces (QString): false Editor/showLineNumbers (QString): false Editor/useTabIndent (QString): false Editor/vimMode (QString): false IssueAssistantDialog/geometry (QByteArray): <binary data> LastUpdateCheck (QDateTime): 2023-11-22T06:51:53.901 LocalTrashDialog/geometry (QByteArray): <binary data> LogWidget/criticalLog (bool): true LogWidget/debugLog (bool): true LogWidget/fatalLog (bool): true LogWidget/infoLog (bool): true LogWidget/scriptingLog (bool): true LogWidget/statusLog (bool): true LogWidget/warningLog (bool): true MainWindow/geometry (QByteArray): <binary data> MainWindow/mainToolBar.iconSize (QString): 24 MainWindow/menuBarGeometry (QByteArray): <binary data> MainWindow/noteTextEdit.code.font (QString): Courier New,21,-1,2,50,0,0,0,0,0 MainWindow/noteTextEdit.font (QString): MS Shell Dlg 2,18,-1,5,50,0,0,0,0,0 MainWindow/noteTextView.code.font (QString): Courier New,11,-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): true MainWindow/noteTextView.refreshDebounceTime (QString): 600 MainWindow/noteTextView.rtl (QString): false MainWindow/noteTextView.underline (QString): true MainWindow/noteTextView.useEditorStyles (QString): true MainWindow/noteTextView.useInternalExportStyling (QString): true MainWindow/showNotesFromAllNoteSubFolders (bool): false NoteFolder-1/NoteTabNameList (QString): QOwnNotes testing NoteFolder-1/NoteTabStickinessList: empty NoteFolder-1/NoteTabSubFolderPathDataList (QString): empty NoteHistory-1 (QVariantList): <variant list with 8 item(s)> NoteHistoryCurrentIndex-1 (QString): 7 PiwikClientId (QString): <hidden> ScriptRepositoryDialog/mainSplitterState (QByteArray): <binary data> SearchEngineId (QString): 2 SettingsDialog/geometry (QByteArray): <binary data> SettingsDialog/mainSplitterState (QByteArray): <binary data> ShowSystemTray (QString): false StartHidden (QString): false WelcomeDialog/geometry (QByteArray): <binary data> acceptAllExternalModifications (QString): false allowNoteEditing (bool): true allowOnlyOneAppInstance (QString): true appMetrics/disableAppHeartbeat (QString): false appMetrics/disableTracking (QString): false appMetrics/notificationShown (QString): true autoReadOnlyMode (QString): false autoReadOnlyModeTimeout (QString): 30 automaticNoteFolderDatabaseClosing (QString): false checkSpelling (bool): false closeTodoListAfterSave (QString): false cryptoKey (QString): <hidden> currentNoteFolderId (QString): 1 currentWorkspace (QString): initial cursorWidth (QString): 1 darkMode (QString): false darkModeColors (QString): false darkModeIconTheme (QString): false darkModeTrayIcon (QString): false defaultNoteFileExtension (QString): md demoNotesCreated (QString): true disableAutomaticUpdateDialog (QString): true disableSavedSearchesAutoCompletion (QString): false dockWasInitializedOnce (QString): true enableNoteTree (QString): false enableSocketServer (QString): true enableWebAppSupport (QString): false externalEditorPath (QString): empty fullyHighlightedBlockquotes (QString): false gitCommitInterval (QString): 30 gitExecutablePath (QString): empty gitLogCommand (QString): empty guiFirstRunInit (bool): true ignoreAllExternalModifications (QString): false ignoreAllExternalNoteFolderChanges (QString): false ignoreNoteSubFolders (QString): ^\. ignoredNoteFiles (QString): empty imageScaleDown (QString): false imageScaleDownMaximumHeight (QString): 1024 imageScaleDownMaximumWidth (QString): 1024 initialLayoutIdentifier (QString): full insertTimeFormat (QString): empty interfaceFontSize (QString): 11 interfaceLanguage (QString): en internalIconTheme (QString): false itemHeight (QString): 15 legacyLinking (QString): false localTrash/autoCleanupDays (QString): 30 localTrash/autoCleanupEnabled (QString): true localTrash/supportEnabled (QString): true localTrashSplitterSizes (QByteArray): <binary data> markdownHighlightingEnabled (QString): true navigationPanelAutoSelect (QString): true navigationPanelHideSearch (QString): false networking/ignoreSSLErrors (QString): true networking/proxyType (QString): 2 newNoteAskHeadline (QString): false noteEditIsCentralWidget (QString): true noteFileExtensionList (QStringList): md, txt noteListPreview (QString): false noteSaveIntervalTime (QString): 10 noteSubfoldersPanelDisplayAsFullTree (QString): true noteSubfoldersPanelHideSearch (QString): false noteSubfoldersPanelOrder (QString): 0 noteSubfoldersPanelShowFullPath (QString): false noteSubfoldersPanelShowNotesRecursively (QString): false noteSubfoldersPanelShowRootFolderName (QString): true noteSubfoldersPanelSort (QString): 0 noteSubfoldersPanelTabsUnsetAllNotesSelection (QString): false notesPanelOrder (QString): 0 notesPanelSort (QString): 1 notesPath (QString): Notes notifyAllExternalModifications (QString): false overrideInterfaceFontSize (QString): false ownCloud/supportEnabled (QString): false ownCloud/todoCalendarBackend (QString): 3 ownCloud/todoCalendarCalDAVPassword (QString): <hidden> ownCloud/todoCalendarCalDAVServerUrl (QString): empty ownCloud/todoCalendarCalDAVUsername (QString): empty ownCloud/todoCalendarCloudConnectionId (QString): 1 ownCloud/todoCalendarDisplayNameList: empty ownCloud/todoCalendarEnabledList: empty ownCloud/todoCalendarEnabledUrlList: empty ownCloud/todoCalendarUrlList: empty restoreCursorPosition (QString): true restoreLastNoteAtStartup (QString): true restoreNoteTabs (QString): true savedSearches/noteFolder-1 (QStringList): test6, test5, test4b, test4a, test4, test2, QOwnNotes testing showMatches (QString): true showMenuBar (bool): true showStatusBar (bool): true startInReadOnlyMode (QString): false systemIconTheme (QString): false taggingShowNotesRecursively (QString): false tagsPanelHideNoteCount (QString): false tagsPanelHideSearch (QString): false tagsPanelOrder (QString): 0 tagsPanelSort (QString): 0 todoCalendarSupport (QString): true toolbar/1/items (QStringList): action_New_note, action_Find_note, action_Remove_note, action_Open_note_in_external_editor, actionShow_local_trash, actionAllow_note_editing, , action_Back_in_note_history, action_Forward_in_note_history, , action_Find_text_in_note, actionReplace_in_current_note, , actionShow_versions, actionShow_trash, actionShare_note, , actionShow_Todo_List 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_text_link, 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 (QString): action_Quit toolbar/6/name (QString): quitToolbar toolbar/6/title (QString): quit toolbar toolbar/size (QString): 6 useNoteFolderButtons (QString): false useUNIXNewline (QString): false webAppClientService/serverUrl (QString): wss://app.qownnotes.org webAppClientService/token (QString): <hidden> webSocketServerService/bookmarksNoteName (QString): Bookmarks webSocketServerService/bookmarksTag (QString): bookmarks webSocketServerService/commandSnippetsNoteName (QString): Commands webSocketServerService/commandSnippetsTag (QString): commands webSocketServerService/port (QString): 22222 workspace-initial/name (QString): Full workspace-initial/noteSubFolderDockWidgetVisible (QString): true workspace-initial/windowState (QByteArray): <binary data> workspaces (QString): initial

System environment

ALLUSERSPROFILE: C:\ProgramData APPDATA: C:\Users\USERNAME\AppData\Roaming CAMLIBS: C:\Program Files\darktable\lib\libgphoto2\2.5.27 CommonProgramFiles: C:\Program Files\Common Files CommonProgramFiles(x86): C:\Program Files (x86)\Common Files CommonProgramW6432: C:\Program Files\Common Files COMPUTERNAME: COMP-NAME ComSpec: C:\WINDOWS\system32\cmd.exe DriverData: C:\Windows\System32\Drivers\DriverData FP_NO_HOST_CHECK: NO HOMEDRIVE: C: HOMEPATH: \Users\USERNAME IOLIBS: C:\Program Files\darktable\lib\libgphoto2_port\0.12.0 LOCALAPPDATA: C:\Users\USERNAME\AppData\Local LOGONSERVER: \\COMP-NAME MAGICK_HOME: C:\Program Files\darktable\lib\GraphicsMagick-1.3.37\modules-Q8\coders NUMBER_OF_PROCESSORS: 4 OneDrive: C:\Users\USERNAME\OneDrive OPENSSL_CONF: C:\Program Files\OpenSSL-Win64\bin\openssl.cfg OS: Windows_NT Path: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;;C:\Program Files (x86)\NTP\bin;C:\Users\USERNAME\AppData\Local\Microsoft\WindowsApps PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE: AMD64 PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel PROCESSOR_LEVEL: 6 PROCESSOR_REVISION: 2a07 ProgramData: C:\ProgramData ProgramFiles: C:\Program Files ProgramFiles(x86): C:\Program Files (x86) ProgramW6432: C:\Program Files PROMPT: $P$G PSModulePath: C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC: C:\Users\Public RANDFILE: C:\Program Files (x86)\NTP\etc\.rnd SystemDrive: C: SystemRoot: C:\WINDOWS TEMP: C:\Users\USERNAME\AppData\Local\Temp TMP: C:\Users\USERNAME\AppData\Local\Temp USERDOMAIN: COMP-NAME USERDOMAIN_ROAMINGPROFILE: COMP-NAME USERNAME: USERNAME USERPROFILE: C:\Users\USERNAME VBOX_MSI_INSTALL_PATH: C:\Program Files\Oracle\VirtualBox\ windir: C:\WINDOWS __PSLockDownPolicy: 0 QML_DISABLE_DISK_CACHE: true

alexanderino commented 9 months ago

Here is the log panel output when replicating the above note creation actions in the same sequence:

[07:13:00] [debug] openLinkAtCursorPosition - 'emit urlClicked( urlString )': "test1.md" [07:13:00] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/test1.md" [07:13:00] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "" [07:13:00] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/" [07:13:00] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:03] [debug] buildNotesIndex - 'noteSubFolderId': 0 [07:13:03] [debug] buildNotesIndex - 'files': ("QOwnNotes testing.md", "Welcome to QOwnNotes.md", "Markdown Cheatsheet.md") [07:13:03] [debug] buildNotesIndex - 'files': () [07:13:03] [debug] setupNoteFolderTables - 'database version': 15 [07:13:03] [debug] cloudConnection: CloudConnection: 1 "Default" "" "" "" 1 [07:13:03] [debug] reloadNoteSubFolderTree [07:13:03] [debug] reload [07:13:03] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(0) [07:13:03] [warning] Failed to create subfolder: "C:" when attempting to create path: "C:/tmp/QOwnNotes/Data/Notes" [07:13:06] [debug] openLinkAtCursorPosition - 'emit urlClicked( urlString )': "\test2.md" [07:13:06] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes//test2.md" [07:13:06] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "" [07:13:06] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes//" [07:13:06] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:08] [debug] buildNotesIndex - 'noteSubFolderId': 0 [07:13:08] [debug] buildNotesIndex - 'files': ("QOwnNotes testing.md", "Welcome to QOwnNotes.md", "Markdown Cheatsheet.md") [07:13:08] [debug] buildNotesIndex - 'files': () [07:13:08] [debug] setupNoteFolderTables - 'database version': 15 [07:13:08] [debug] cloudConnection: CloudConnection: 1 "Default" "" "" "" 1 [07:13:08] [debug] reloadNoteSubFolderTree [07:13:08] [debug] reload [07:13:08] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(0) [07:13:08] [warning] Failed to create subfolder: "C:" when attempting to create path: "C:/tmp/QOwnNotes/Data/Notes" [07:13:11] [debug] openLinkAtCursorPosition - 'emit urlClicked( urlString )': "/test3.md" [07:13:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes//test3.md" [07:13:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "" [07:13:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes//" [07:13:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:12] [debug] buildNotesIndex - 'noteSubFolderId': 0 [07:13:12] [debug] buildNotesIndex - 'files': ("QOwnNotes testing.md", "Welcome to QOwnNotes.md", "Markdown Cheatsheet.md") [07:13:12] [debug] buildNotesIndex - 'files': () [07:13:12] [debug] setupNoteFolderTables - 'database version': 15 [07:13:12] [debug] cloudConnection: CloudConnection: 1 "Default" "" "" "" 1 [07:13:12] [debug] reloadNoteSubFolderTree [07:13:12] [debug] reload [07:13:12] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(0) [07:13:12] [warning] Failed to create subfolder: "C:" when attempting to create path: "C:/tmp/QOwnNotes/Data/Notes" [07:13:15] [debug] openLinkAtCursorPosition - 'emit urlClicked( urlString )': "nonexistingdir\test4a.md" [07:13:15] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/nonexistingdir/test4a.md" [07:13:15] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "" [07:13:15] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/nonexistingdir/" [07:13:15] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "" [07:13:17] [debug] storing note file: "test4a.md" [07:13:17] [status] Stored current note to disk [07:13:17] [debug] loadNoteDirectoryList [07:13:17] [debug] reloadTagTree [07:13:17] [debug] reloadTagTree - 'noteSubFolderIds': QVector(0) [07:13:17] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(0) [07:13:17] [debug] reloadNoteSubFolderTree [07:13:17] [debug] reload [07:13:17] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(0) [07:13:17] [debug] setCurrentNote - 'note': Note: 6 "test4a" "test4a.md" 0 "" false - 'updateNoteText': true - 'updateSelectedNote': true [07:13:17] [debug] added to history: NoteHistoryItem: "test4a" "" 15 0 [07:13:20] [debug] on_noteTreeWidget_itemSelectionChanged [07:13:20] [debug] setCurrentNote - 'note': Note: 3 "QOwnNotes testing" "QOwnNotes testing.md" 0 "" false - 'updateNoteText': true - 'updateSelectedNote': false [07:13:20] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:20] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:20] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:20] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:20] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:20] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:20] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:20] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:20] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:20] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:20] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:20] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:20] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:20] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:20] [debug] added to history: NoteHistoryItem: "QOwnNotes testing" "" 113 0 [07:13:23] [debug] openLinkAtCursorPosition - 'emit urlClicked( urlString )': "nonexistingdir/test4b.md" [07:13:23] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/nonexistingdir/test4b.md" [07:13:23] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "" [07:13:23] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/nonexistingdir/" [07:13:23] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "" [07:13:25] [debug] storing note file: "test4b.md" [07:13:25] [status] Stored current note to disk [07:13:25] [debug] loadNoteDirectoryList [07:13:25] [debug] reloadTagTree [07:13:25] [debug] reloadTagTree - 'noteSubFolderIds': QVector(0) [07:13:25] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(0) [07:13:25] [debug] reloadNoteSubFolderTree [07:13:25] [debug] reload [07:13:25] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(0) [07:13:25] [debug] setCurrentNote - 'note': Note: 7 "test4b" "test4b.md" 0 "" false - 'updateNoteText': true - 'updateSelectedNote': true [07:13:25] [debug] added to history: NoteHistoryItem: "test4b" "" 15 0 [07:13:28] [debug] on_noteTreeWidget_itemSelectionChanged [07:13:28] [debug] setCurrentNote - 'note': Note: 3 "QOwnNotes testing" "QOwnNotes testing.md" 0 "" false - 'updateNoteText': true - 'updateSelectedNote': false [07:13:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:28] [debug] added to history: NoteHistoryItem: "QOwnNotes testing" "" 136 0 [07:13:32] [debug] openLinkAtCursorPosition - 'emit urlClicked( urlString )': "existingdir\test5.md" [07:13:32] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/existingdir/test5.md" [07:13:32] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "" [07:13:32] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/existingdir/" [07:13:32] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes/existingdir" [07:13:33] [debug] Current sub folder changed [07:13:33] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(1) [07:13:34] [debug] storing note file: "test5.md" [07:13:34] [status] Stored current note to disk [07:13:34] [debug] loadNoteDirectoryList [07:13:34] [debug] reloadTagTree [07:13:34] [debug] reloadTagTree - 'noteSubFolderIds': QVector(1) [07:13:34] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(1) [07:13:34] [debug] reloadNoteSubFolderTree [07:13:34] [debug] reload [07:13:34] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(1) [07:13:34] [debug] setCurrentNote - 'note': Note: 8 "test5" "test5.md" 1 "existingdir" false - 'updateNoteText': true - 'updateSelectedNote': true [07:13:34] [debug] added to history: NoteHistoryItem: "test5" "existingdir" 13 0 [07:13:36] [debug] Current sub folder changed [07:13:36] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(0) [07:13:37] [debug] on_noteTreeWidget_itemSelectionChanged [07:13:37] [debug] setCurrentNote - 'note': Note: 3 "QOwnNotes testing" "QOwnNotes testing.md" 0 "" false - 'updateNoteText': true - 'updateSelectedNote': false [07:13:37] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:37] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:37] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:37] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:37] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:37] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:37] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:37] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:37] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:37] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:37] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:37] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:37] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes" [07:13:37] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes" [07:13:37] [debug] added to history: NoteHistoryItem: "QOwnNotes testing" "" 158 0 [07:13:39] [debug] openLinkAtCursorPosition - 'emit urlClicked( urlString )': "existingdir/test6.md" [07:13:39] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/existingdir/test6.md" [07:13:39] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "" [07:13:39] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/existingdir/" [07:13:39] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes/existingdir" [07:13:41] [debug] Current sub folder changed [07:13:41] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(1) [07:13:41] [debug] storing note file: "test6.md" [07:13:41] [status] Stored current note to disk [07:13:41] [debug] loadNoteDirectoryList [07:13:41] [debug] reloadTagTree [07:13:41] [debug] reloadTagTree - 'noteSubFolderIds': QVector(1) [07:13:41] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(1) [07:13:41] [debug] reloadNoteSubFolderTree [07:13:41] [debug] reload [07:13:41] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(1) [07:13:42] [debug] setCurrentNote - 'note': Note: 9 "test6" "test6.md" 1 "existingdir" false - 'updateNoteText': true - 'updateSelectedNote': true [07:13:42] [debug] added to history: NoteHistoryItem: "test6" "existingdir" 13 0 [07:13:44] [debug] Current sub folder changed [07:13:44] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(0)

pbek commented 9 months ago

Thank you, seems like the relative path detection when trying to create those notes and subfolders doesn't work under Windows. That will be very tricky, because I currently don't have good access to a Windows system and changing stuff there might break a lot, especially with the portable mode under Windows...

pbek commented 9 months ago

I just tried that under Windows with Qt 6.6, and I couldn't reproduce the issue, even not in portable mode. It created the note and the folder just fine... 🤔 Might be a Qt issue then...

pbek commented 9 months ago

And it also worked fine with Qt 5.15.2 from the current release... Both tested under Windows 11.

pbek commented 9 months ago

I've added a new debug string currentLocalPath in 23.11.3, could you please send the new debug output when you are trying to create the folder and note?

alexanderino commented 9 months ago

Using a fresh portable 23.11.3 copy along with the same steps listed before, here is the log panel output:

[20:17:28] [status] No script updates were found
[20:17:43] [status] Stored current note to disk
[20:18:04] [status] Stored 1 note(s) to disk
[20:18:14] [status] Stored 1 note(s) to disk
[20:18:24] [status] Stored 1 note(s) to disk
[20:18:34] [status] Stored 1 note(s) to disk
[20:18:44] [status] Stored 1 note(s) to disk
[20:19:14] [status] Stored 1 note(s) to disk
[20:19:24] [status] Stored 1 note(s) to disk
[20:19:34] [status] Stored 1 note(s) to disk
[20:19:44] [status] Stored 1 note(s) to disk
[20:19:54] [status] Stored 1 note(s) to disk
[20:20:04] [status] Stored 1 note(s) to disk
[20:20:28] [warning] Failed to create subfolder: "C:" when attempting to create path: "C:/tmp/QOwnNotes/Data/Notes"
[20:20:37] [warning] Failed to create subfolder: "C:" when attempting to create path: "C:/tmp/QOwnNotes/Data/Notes"
[20:20:46] [warning] Failed to create subfolder: "C:" when attempting to create path: "C:/tmp/QOwnNotes/Data/Notes"
[20:21:04] [status] Stored current note to disk
[20:21:18] [status] Stored current note to disk
[20:21:35] [status] Stored current note to disk
[20:21:57] [status] Stored current note to disk

I couldn't locate currentLocalPath in the debug output.

pbek commented 9 months ago

Thank you. Are you sure debug logging is turned on in the log panel?

alexanderino commented 9 months ago

Thank you. Are you sure debug logging is turned on in the log panel?

\<Homer>D'oh!\<\/Homer>

Here is the new debug log for the same sequence of actions:

[21:02:00] [debug] openLinkAtCursorPosition - 'emit urlClicked( urlString )': "test1.md"
[21:02:00] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:00] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:00] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/test1.md"
[21:02:00] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': ""
[21:02:00] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:00] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/"
[21:02:00] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:00] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:03] [debug] buildNotesIndex - 'noteSubFolderId': 0
[21:02:03] [debug] buildNotesIndex - 'files': ("QOwnNotes testing 23.11.3.md", "Welcome to QOwnNotes.md", "Markdown Cheatsheet.md")
[21:02:03] [debug] buildNotesIndex - 'files': ()
[21:02:03] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:03] [debug] setupNoteFolderTables - 'database version': 15
[21:02:03] [debug] cloudConnection: CloudConnection: <id>1 <name>"Default" <serverUrl>"" <username>"" <accountId>"" <priority>1
[21:02:03] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:03] [debug] reloadNoteSubFolderTree
[21:02:03] [debug] reload
[21:02:03] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:03] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(0)
[21:02:03] [warning] Failed to create subfolder: "C:" when attempting to create path: "C:/tmp/QOwnNotes/Data/Notes"
[21:02:07] [debug] openLinkAtCursorPosition - 'emit urlClicked( urlString )': "\\test2.md"
[21:02:07] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:07] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:07] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes//test2.md"
[21:02:07] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': ""
[21:02:07] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:07] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes//"
[21:02:07] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:07] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:08] [debug] buildNotesIndex - 'noteSubFolderId': 0
[21:02:08] [debug] buildNotesIndex - 'files': ("QOwnNotes testing 23.11.3.md", "Welcome to QOwnNotes.md", "Markdown Cheatsheet.md")
[21:02:08] [debug] buildNotesIndex - 'files': ()
[21:02:08] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:08] [debug] setupNoteFolderTables - 'database version': 15
[21:02:08] [debug] cloudConnection: CloudConnection: <id>1 <name>"Default" <serverUrl>"" <username>"" <accountId>"" <priority>1
[21:02:08] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:08] [debug] reloadNoteSubFolderTree
[21:02:08] [debug] reload
[21:02:08] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:08] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(0)
[21:02:08] [warning] Failed to create subfolder: "C:" when attempting to create path: "C:/tmp/QOwnNotes/Data/Notes"
[21:02:12] [debug] openLinkAtCursorPosition - 'emit urlClicked( urlString )': "/test3.md"
[21:02:12] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:12] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:12] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes//test3.md"
[21:02:12] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': ""
[21:02:12] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:12] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes//"
[21:02:12] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:12] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:13] [debug] buildNotesIndex - 'noteSubFolderId': 0
[21:02:13] [debug] buildNotesIndex - 'files': ("QOwnNotes testing 23.11.3.md", "Welcome to QOwnNotes.md", "Markdown Cheatsheet.md")
[21:02:13] [debug] buildNotesIndex - 'files': ()
[21:02:13] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:13] [debug] setupNoteFolderTables - 'database version': 15
[21:02:13] [debug] cloudConnection: CloudConnection: <id>1 <name>"Default" <serverUrl>"" <username>"" <accountId>"" <priority>1
[21:02:13] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:13] [debug] reloadNoteSubFolderTree
[21:02:13] [debug] reload
[21:02:13] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:13] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(0)
[21:02:13] [warning] Failed to create subfolder: "C:" when attempting to create path: "C:/tmp/QOwnNotes/Data/Notes"
[21:02:18] [debug] openLinkAtCursorPosition - 'emit urlClicked( urlString )': "nonexistingdir\\test4a.md"
[21:02:18] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:18] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:18] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/nonexistingdir/test4a.md"
[21:02:18] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': ""
[21:02:18] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:18] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/nonexistingdir/"
[21:02:18] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': ""
[21:02:18] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:19] [debug] storing note file: "test4a.md"
[21:02:19] [status] Stored current note to disk
[21:02:19] [debug] loadNoteDirectoryList
[21:02:19] [debug] reloadTagTree
[21:02:19] [debug] reloadTagTree - 'noteSubFolderIds': QVector(0)
[21:02:19] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(0)
[21:02:19] [debug] reloadNoteSubFolderTree
[21:02:19] [debug] reload
[21:02:19] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:19] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(0)
[21:02:19] [debug] setCurrentNote - 'note': Note: <id>6 <name>"test4a" <fileName>"test4a.md" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[21:02:19] [debug] added to history: NoteHistoryItem: <noteName>"test4a" <noteSubFolderPathData>"" <cursorPosition>15 <relativeScrollBarPosition>0
[21:02:22] [debug] on_noteTreeWidget_itemSelectionChanged
[21:02:22] [debug] setCurrentNote - 'note': Note: <id>3 <name>"QOwnNotes testing 23.11.3" <fileName>"QOwnNotes testing 23.11.3.md" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': false
[21:02:22] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:22] [debug] added to history: NoteHistoryItem: <noteName>"QOwnNotes testing 23.11.3" <noteSubFolderPathData>"" <cursorPosition>129 <relativeScrollBarPosition>0
[21:02:24] [debug] openLinkAtCursorPosition - 'emit urlClicked( urlString )': "nonexistingdir/test4b.md"
[21:02:24] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:24] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:24] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/nonexistingdir/test4b.md"
[21:02:24] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': ""
[21:02:24] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:24] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/nonexistingdir/"
[21:02:24] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': ""
[21:02:24] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:26] [debug] storing note file: "test4b.md"
[21:02:26] [status] Stored current note to disk
[21:02:26] [debug] loadNoteDirectoryList
[21:02:26] [debug] reloadTagTree
[21:02:26] [debug] reloadTagTree - 'noteSubFolderIds': QVector(0)
[21:02:26] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(0)
[21:02:26] [debug] reloadNoteSubFolderTree
[21:02:26] [debug] reload
[21:02:26] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:26] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(0)
[21:02:26] [debug] setCurrentNote - 'note': Note: <id>7 <name>"test4b" <fileName>"test4b.md" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[21:02:26] [debug] added to history: NoteHistoryItem: <noteName>"test4b" <noteSubFolderPathData>"" <cursorPosition>15 <relativeScrollBarPosition>0
[21:02:28] [debug] on_noteTreeWidget_itemSelectionChanged
[21:02:28] [debug] setCurrentNote - 'note': Note: <id>3 <name>"QOwnNotes testing 23.11.3" <fileName>"QOwnNotes testing 23.11.3.md" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': false
[21:02:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:28] [debug] added to history: NoteHistoryItem: <noteName>"QOwnNotes testing 23.11.3" <noteSubFolderPathData>"" <cursorPosition>158 <relativeScrollBarPosition>0
[21:02:31] [debug] openLinkAtCursorPosition - 'emit urlClicked( urlString )': "existingdir\\test5.md"
[21:02:31] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:31] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:31] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/existingdir/test5.md"
[21:02:31] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': ""
[21:02:31] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:31] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/existingdir/"
[21:02:31] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes/existingdir"
[21:02:31] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:32] [debug] Current sub folder changed
[21:02:32] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(1)
[21:02:32] [debug] storing note file: "test5.md"
[21:02:32] [status] Stored current note to disk
[21:02:32] [debug] loadNoteDirectoryList
[21:02:32] [debug] reloadTagTree
[21:02:32] [debug] reloadTagTree - 'noteSubFolderIds': QVector(1)
[21:02:32] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(1)
[21:02:32] [debug] reloadNoteSubFolderTree
[21:02:32] [debug] reload
[21:02:32] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:32] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(1)
[21:02:33] [debug] setCurrentNote - 'note': Note: <id>8 <name>"test5" <fileName>"test5.md" <noteSubFolderId>1 <relativePath>"existingdir" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[21:02:33] [debug] added to history: NoteHistoryItem: <noteName>"test5" <noteSubFolderPathData>"existingdir" <cursorPosition>13 <relativeScrollBarPosition>0
[21:02:34] [debug] Current sub folder changed
[21:02:34] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(0)
[21:02:36] [debug] on_noteTreeWidget_itemSelectionChanged
[21:02:36] [debug] setCurrentNote - 'note': Note: <id>3 <name>"QOwnNotes testing 23.11.3" <fileName>"QOwnNotes testing 23.11.3.md" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': false
[21:02:36] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:36] [debug] added to history: NoteHistoryItem: <noteName>"QOwnNotes testing 23.11.3" <noteSubFolderPathData>"" <cursorPosition>182 <relativeScrollBarPosition>0
[21:02:38] [debug] openLinkAtCursorPosition - 'emit urlClicked( urlString )': "existingdir/test6.md"
[21:02:38] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:38] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:38] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/existingdir/test6.md"
[21:02:38] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': ""
[21:02:38] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:38] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/tmp/QOwnNotes/Data/Notes/existingdir/"
[21:02:38] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/tmp/QOwnNotes/Data/Notes/existingdir"
[21:02:38] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:39] [debug] Current sub folder changed
[21:02:39] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(1)
[21:02:39] [debug] storing note file: "test6.md"
[21:02:39] [status] Stored current note to disk
[21:02:39] [debug] loadNoteDirectoryList
[21:02:39] [debug] reloadTagTree
[21:02:39] [debug] reloadTagTree - 'noteSubFolderIds': QVector(1)
[21:02:39] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(1)
[21:02:39] [debug] reloadNoteSubFolderTree
[21:02:39] [debug] reload
[21:02:40] [debug] currentLocalPath - 'currentLocalPath': "C:/tmp/QOwnNotes/Data/Notes"
[21:02:40] [debug] filterNotesByNoteSubFolders - 'noteSubFolderIds': QVector(1)
[21:02:40] [debug] setCurrentNote - 'note': Note: <id>9 <name>"test6" <fileName>"test6.md" <noteSubFolderId>1 <relativePath>"existingdir" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[21:02:40] [debug] added to history: NoteHistoryItem: <noteName>"test6" <noteSubFolderPathData>"existingdir" <cursorPosition>13 <relativeScrollBarPosition>0
pbek commented 9 months ago

Thank you. Everything looks ok. I have no idea why Qt is trying to create C: and why I didn't have this issue. 🤔

alexanderino commented 9 months ago

My usual install is on another drive letter (mirrored on yet another drive letter), and both have these problems. One is NTFS, the other exFAT.

github-actions[bot] commented 8 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 8 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.

FeintDoxx commented 6 months ago

Sorry if bringing back up an old issue but, was MIA for sometime;

After a bit of messing around between windows and linux was able to narrow some of it down

At least in my use case if I want to create a new file in a new subfolder, even if it doesnt exist, in linux:

<ROOTFOLDER/subfolder/etc.md> then I can CTRL click to open the new note in the subfolder

But if I'm in windows it has to be:

<\ROOTFOLDER\subfolder\etc.md>

I guess windows doesn't like the forward slash and had to set the slash for the root folder as well, otherwise would just behave like the initial issue and would create the note in the main notes folder. But it does create the subfolder if it doesn't exist.

I've since stopped editing the notes in Windows after figuring this out. Can provide

`QOwnNotes Debug Information

General Info

Current Date: Tue Mar 5 11:30:20 2024 Version: 24.2.5 Build date: Feb 19 2024 Build number: 1082 Platform: linux Operating System: Arch Linux Build architecture: x86_64 Current architecture: x86_64 Release: AUR Qt Version (build): 5.15.12 Qt Version (runtime): 5.15.12 Portable mode: no Settings path / key: /home/feintdoxx/.config/PBE/QOwnNotes.conf Application database path: /home/feintdoxx/.local/share/PBE/QOwnNotes/QOwnNotes.sqlite Application arguments: QOwnNotes Qt Debug: 0 Locale (system): C Locale (interface): empty Primary screen resolution: 1920x1080 Icon theme: breeze-dark-qownnotes Notes in current note folder: 6 Calendar items: 0 Enabled scripts: 0

Server Info

serverUrl: empty appIsValid: no notesPathExists: empty connectionErrorMessage: empty

Spellchecking

Enabled: false Selected language: empty Language codes: empty Language names: empty Application dictionaries path: /home/feintdoxx/.local/share/PBE/QOwnNotes/dicts

Note folders

currentNoteFolderId: 1

Note folder default

id: 1 isCurrent: yes activeTagId: 0 localPath: /home/feintdoxx/Nextcloud/Sync/Documents/Notes remotePath: Notes cloudConnectionId: 1 isShowSubfolders: yes isUseGit: no allowDifferentNoteFileName: no activeNoteSubFolder name: empty database file: /home/feintdoxx/Nextcloud/Sync/Documents/Notes/notes.sqlite

Cloud connections

Cloud connection Default

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

Enabled scripts

Settings

AboutDialog/geometry (QByteArray): <binary data> ActiveNoteHistoryItem (NoteHistoryItem): <binary data> Debug/fakeOldVersionNumber (QString): false Debug/fileLogging (QString): false Editor/CurrentSchemaKey (QString): EditorColorSchema-cdbf28fc-1ddc-4d13-bb21-6a4043316a2f Editor/autoBracketClosing (QString): true Editor/autoBracketRemoval (QString): true Editor/disableCursorBlinking (QString): false Editor/editorWidthInDFMOnly (QString): true Editor/highlightCurrentLine (QString): true Editor/indentSize (QString): 4 Editor/removeTrailingSpaces (QString): false Editor/showLineNumbers (QString): false Editor/useTabIndent (QString): false Editor/vimMode (QString): false LastUpdateCheck (QDateTime): 2024-03-05T11:18:32.414 MainWindow/geometry (QByteArray): <binary data> MainWindow/mainToolBar.iconSize (QString): 34 MainWindow/menuBarGeometry (QByteArray): <binary data> MainWindow/noteSubFolderTreeWidgetExpandState-1 (QStringList): Index/HowTo, Index MainWindow/noteTextEdit.code.font (QString): monospace,9,-1,2,50,0,0,0,0,0 MainWindow/noteTextEdit.font (QString): Sans Serif,9,-1,5,50,0,0,0,0,0 MainWindow/noteTextView.code.font (QString): monospace,9,-1,2,50,0,0,0,0,0 MainWindow/noteTextView.font (QString): Sans Serif,9,-1,5,50,0,0,0,0,0 MainWindow/noteTextView.ignoreCodeFontSize (QString): true MainWindow/noteTextView.refreshDebounceTime (QString): 600 MainWindow/noteTextView.rtl (QString): false MainWindow/noteTextView.underline (QString): true MainWindow/noteTextView.useEditorStyles (QString): true MainWindow/noteTextView.useInternalExportStyling (QString): true MainWindow/showNotesFromAllNoteSubFolders (bool): false MessageBoxOverride/open-url-create-note (QString): 16384 NoteFolder-1/NoteTabNameList (QString): TrueNAS-VM-ChangeBoot NoteFolder-1/NoteTabStickinessList: empty NoteFolder-1/NoteTabSubFolderPathDataList (QString):

Index
HowTo

NoteHistory-1 (QVariantList): <variant list with 5 item(s)> NoteHistoryCurrentIndex-1 (QString): 4 PiwikClientId (QString): <hidden> SearchEngineId (QString): 2 SettingsDialog/geometry (QByteArray): <binary data> SettingsDialog/mainSplitterState (QByteArray): <binary data> ShowSystemTray (QString): false StartHidden (QString): false WelcomeDialog/geometry (QByteArray): <binary data> acceptAllExternalModifications (QString): false allowNoteEditing (bool): true allowOnlyOneAppInstance (QString): true appMetrics/disableAppHeartbeat (QString): false appMetrics/disableTracking (QString): false appMetrics/notificationShown (QString): true autoReadOnlyMode (QString): false autoReadOnlyModeTimeout (QString): 30 automaticNoteFolderDatabaseClosing (QString): false checkSpelling (bool): false closeTodoListAfterSave (QString): false cryptoKey (QString): <hidden> currentNoteFolderId (QString): 1 currentWorkspace (QString): initial cursorWidth (QString): 1 darkMode (QString): true darkModeColors (QString): true darkModeIconTheme (QString): true darkModeTrayIcon (QString): false defaultNoteFileExtension (QString): md disableAutomaticUpdateDialog (QString): true disableSavedSearchesAutoCompletion (QString): false dockWasInitializedOnce (QString): true enableNoteTree (QString): true enableSocketServer (QString): true enableWebAppSupport (QString): false externalEditorPath (QString): empty fullyHighlightedBlockquotes (QString): false gitCommitInterval (QString): 30 gitExecutablePath (QString): empty gitLogCommand (QString): empty guiFirstRunInit (bool): true ignoreAllExternalModifications (QString): false ignoreAllExternalNoteFolderChanges (QString): false ignoreNoteSubFolders (QString): ^\. ignoredNoteFiles (QString): empty imageScaleDown (QString): false imageScaleDownMaximumHeight (QString): 1024 imageScaleDownMaximumWidth (QString): 1024 initialLayoutIdentifier (QString): full insertTimeFormat (QString): empty interfaceFontSize (QString): 11 interfaceLanguage (QString): empty internalIconTheme (QString): false itemHeight (QString): 20 legacyLinking (QString): false localTrash/autoCleanupDays (QString): 30 localTrash/autoCleanupEnabled (QString): true localTrash/supportEnabled (QString): true markdownHighlightingEnabled (QString): true navigationPanelAutoSelect (QString): true navigationPanelHideSearch (QString): false networking/ignoreSSLErrors (QString): true networking/proxyType (QString): 2 newNoteAskHeadline (QString): false noteEditIsCentralWidget (QString): true noteFileExtensionList (QStringList): md, txt noteListPreview (QString): false noteSaveIntervalTime (QString): 10 noteSubfoldersPanelDisplayAsFullTree (QString): true noteSubfoldersPanelHideSearch (QString): false noteSubfoldersPanelOrder (QString): 0 noteSubfoldersPanelShowFullPath (QString): false noteSubfoldersPanelShowNotesRecursively (QString): false noteSubfoldersPanelShowRootFolderName (QString): true noteSubfoldersPanelSort (QString): 0 noteSubfoldersPanelTabsUnsetAllNotesSelection (QString): false notesPanelOrder (QString): 0 notesPanelSort (QString): 1 notesPath (QString): /home/feintdoxx/Nextcloud/Sync/Documents/Notes notifyAllExternalModifications (QString): false overrideInterfaceFontSize (QString): false ownCloud/supportEnabled (QString): false ownCloud/todoCalendarBackend (QString): 3 ownCloud/todoCalendarCalDAVPassword (QString): <hidden> ownCloud/todoCalendarCalDAVServerUrl (QString): empty ownCloud/todoCalendarCalDAVUsername (QString): empty ownCloud/todoCalendarCloudConnectionId (QString): 1 ownCloud/todoCalendarDisplayNameList: empty ownCloud/todoCalendarEnabledList: empty ownCloud/todoCalendarEnabledUrlList: empty ownCloud/todoCalendarUrlList: empty ownCloudInfo/appIsValid (bool): false 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): TEST, TrueNAS-VM-ChangeBoot, CUPS-HP-P1102W showMatches (QString): true showMenuBar (bool): true showStatusBar (bool): true startInReadOnlyMode (QString): false systemIconTheme (QString): false taggingShowNotesRecursively (QString): false tagsPanelHideNoteCount (QString): false tagsPanelHideSearch (QString): false tagsPanelOrder (QString): 0 tagsPanelSort (QString): 0 todoCalendarSupport (QString): true toolbar/1/items (QStringList): action_New_note, action_Find_note, action_Remove_note, action_Open_note_in_external_editor, actionShow_local_trash, actionAllow_note_editing, , action_Back_in_note_history, action_Forward_in_note_history, , action_Find_text_in_note, actionReplace_in_current_note, , actionShow_versions, actionShow_trash, actionShare_note, , actionShow_Todo_List 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_text_link, 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 (QString): action_Quit toolbar/6/name (QString): quitToolbar toolbar/6/title (QString): quit toolbar toolbar/size (QString): 6 useNoteFolderButtons (QString): false useUNIXNewline (QString): false webAppClientService/serverUrl (QString): wss://app.qownnotes.org webAppClientService/token (QString): <hidden> webSocketServerService/bookmarksNoteName (QString): Bookmarks webSocketServerService/bookmarksTag (QString): bookmarks webSocketServerService/commandSnippetsNoteName (QString): Commands webSocketServerService/commandSnippetsTag (QString): commands webSocketServerService/port (QString): 22222 workspace-initial/name (QString): Full workspace-initial/noteSubFolderDockWidgetVisible (QString): false workspace-initial/windowState (QByteArray): <binary data> workspaces (QString): initial

System environment

SHELL: /usr/bin/bash CREDENTIALS_DIRECTORY: /run/credentials/getty@tty1.service MEMORY_PRESSURE_WRITE: c29tZSAyMDAwMDAgMjAwMDAwMAA= GTK_MODULES: canberra-gtk-module XDG_SEAT: seat0 PWD: /home/feintdoxx VCPKG_ROOT: /opt/vcpkg LOGNAME: feintdoxx XDG_SESSION_TYPE: tty SYSTEMD_EXEC_PID: 759 _: /usr/bin/QOwnNotes XAUTHORITY: /home/feintdoxx/.Xauthority WINDOWPATH: 1 MOTD_SHOWN: pam HOME: /home/feintdoxx LANG: C.UTF-8 MEMORY_PRESSURE_WATCH: /sys/fs/cgroup/system.slice/system-getty.slice/getty@tty1.service/memory.pressure VCPKG_DOWNLOADS: /var/cache/vcpkg INVOCATION_ID: 5aeb3709dd5c46f28c087d838bf80e0b XDG_SESSION_CLASS: user TERM: linux USER: feintdoxx DISPLAY: :0 SHLVL: 4 XDG_VTNR: 1 XDG_SESSION_ID: 1 XDG_RUNTIME_DIR: /run/user/1000 DEBUGINFOD_URLS: https://debuginfod.archlinux.org PATH: /usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/feintdoxx/.bin DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus MAIL: /var/spool/mail/feintdoxx `

pbek commented 6 months ago

I'm not sure if note links should start with <\. What happens if you remove the \?

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 selecting Debug in Options.

FeintDoxx commented 5 months ago

Doesn't appear to be anything useful in the Window/Panel/Log:

[13:54:03] [warning] QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 [13:54:04] [warning] QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 [13:54:17] [warning] QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 [13:54:17] [warning] QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 [13:54:28] [status] Stored 1 note(s) to disk [13:54:38] [status] Stored 1 note(s) to disk [13:54:56] [status] Stored current note to disk [13:55:00] [warning] QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 [13:55:07] [status] Stored 1 note(s) to disk [13:55:09] [status] Stored current note to disk [13:55:14] [warning] QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 [13:55:16] [warning] QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 [13:55:24] [warning] QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 [13:55:25] [warning] QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 [13:55:30] [status] Stored current note to disk [13:55:31] [warning] QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 [13:55:36] [warning] QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 [13:55:41] [status] Stored 1 note(s) to disk [13:55:41] [warning] QTextCursor::setPosition: Position '13' out of range [13:55:43] [warning] QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 [13:55:43] [warning] QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 [13:55:46] [status] Stored current note to disk

So confirmed "\" not necessary. In windows you do have to create the subfolder before the note otherwise it is created in the notes root folder. In linux it just creates the subfolder if it does not exist.

`QOwnNotes Debug Information

General Info

Current Date: Tue Mar 12 14:07:08 2024 Version: 23.11.0 Build date: Oct 31 2023 Build number: 1061 Platform: windows Operating System: Windows 10 Version 2009 Build architecture: x86_64 Current architecture: x86_64 Release: GitHub Actions Qt Version (build): 5.15.2 Qt Version (runtime): 5.15.2 Portable mode: no Settings path / key: \HKEY_CURRENT_USER\Software\PBE\QOwnNotes Application database path: C:\Users\user\AppData\Roaming\PBE\QOwnNotes\QOwnNotes.sqlite Application arguments: C:\Users\user\Desktop\Utilities\QOwnNotes\QOwnNotes.exe Qt Debug: 0 Locale (system): en_US Locale (interface): empty Primary screen resolution: 1920x1080 Screen resolution(s): 1920x1080, 1920x1080, 1920x1080 Icon theme: breeze-dark-qownnotes Notes in current note folder: 6 Calendar items: 0 Enabled scripts: 0

Server Info

serverUrl: empty appIsValid: no notesPathExists: empty connectionErrorMessage: empty

Spellchecking

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

Note folders

currentNoteFolderId: 1

Note folder default

id: 1 isCurrent: yes activeTagId: -1 localPath: C:\Users\user\Notes remotePath: Notes cloudConnectionId: 1 isShowSubfolders: yes isUseGit: no allowDifferentNoteFileName: no activeNoteSubFolder name: Index database file: C:\Users\user\Notes\notes.sqlite

Cloud connections

Cloud connection Default

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

Enabled scripts

Settings

AboutDialog/geometry (QByteArray): <binary data> ActiveNoteHistoryItem (NoteHistoryItem): <binary data> Debug/fakeOldVersionNumber (QString): false Debug/fileLogging (QString): true Editor/CurrentSchemaKey (QString): EditorColorSchema-cdbf28fc-1ddc-4d13-bb21-6a4043316a2f Editor/autoBracketClosing (QString): true Editor/autoBracketRemoval (QString): true Editor/disableCursorBlinking (QString): false Editor/editorWidthInDFMOnly (QString): true Editor/highlightCurrentLine (QString): true Editor/indentSize (int): 4 Editor/removeTrailingSpaces (QString): false Editor/showLineNumbers (QString): false Editor/useTabIndent (QString): false Editor/vimMode (QString): false LastUpdateCheck (QDateTime): 2024-03-12T13:53:08.806 MainWindow/geometry (QByteArray): <binary data> MainWindow/mainToolBar.iconSize (int): 24 MainWindow/menuBarGeometry (QByteArray): <binary data> MainWindow/noteSubFolderTreeWidgetExpandState-1 (QStringList): Index MainWindow/noteTextEdit.code.font (QString): Courier New,9,-1,2,50,0,0,0,0,0 MainWindow/noteTextEdit.font (QString): MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0 MainWindow/noteTextView.code.font (QString): Courier New,9,-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): true MainWindow/noteTextView.refreshDebounceTime (int): 600 MainWindow/noteTextView.rtl (QString): false MainWindow/noteTextView.underline (QString): true MainWindow/noteTextView.useEditorStyles (QString): true MainWindow/noteTextView.useInternalExportStyling (QString): true MainWindow/showNotesFromAllNoteSubFolders (QString): false MessageBoxOverride/windows-dark-mode (int): 16384 NoteFolder-1/NoteTabNameList (QStringList): Index NoteFolder-1/NoteTabStickinessList (QStringList): empty NoteFolder-1/NoteTabSubFolderPathDataList (QStringList): empty NoteHistory-1 (QVariantList): <variant list with 16 item(s)> NoteHistoryCurrentIndex-1 (int): 15 PiwikClientId (QString): <hidden> ScriptRepositoryDialog/mainSplitterState (QByteArray): <binary data> SearchEngineId (int): 2 SettingsDialog/geometry (QByteArray): <binary data> SettingsDialog/mainSplitterState (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 autoReadOnlyMode (QString): false autoReadOnlyModeTimeout (int): 30 automaticNoteFolderDatabaseClosing (QString): false checkSpelling (QString): false closeTodoListAfterSave (QString): false cryptoKey (qlonglong): <hidden> currentNoteFolderId (int): 1 currentWorkspace (QString): initial cursorWidth (int): 1 darkMode (QString): true darkModeColors (QString): true darkModeIconTheme (QString): true darkModeTrayIcon (QString): true defaultNoteFileExtension (QString): md demoNotesCreated (QString): true disableAutomaticUpdateDialog (QString): true disableSavedSearchesAutoCompletion (QString): false dockWasInitializedOnce (QString): true enableNoteTree (QString): true enableSocketServer (QString): true enableWebAppSupport (QString): false externalEditorPath (QString): empty fullyHighlightedBlockquotes (QString): false gitCommitInterval (int): 30 gitExecutablePath (QString): empty gitLogCommand (QString): empty guiFirstRunInit (QString): true ignoreAllExternalModifications (QString): false ignoreAllExternalNoteFolderChanges (QString): false ignoreNoteSubFolders (QString): ^\. ignoredNoteFiles (QString): empty imageScaleDown (QString): false imageScaleDownMaximumHeight (int): 1024 imageScaleDownMaximumWidth (int): 1024 initialLayoutIdentifier (QString): full insertTimeFormat (QString): empty interfaceFontSize (int): 11 interfaceLanguage (QString): empty internalIconTheme (QString): false itemHeight (int): 15 legacyLinking (QString): false localTrash/autoCleanupDays (int): 30 localTrash/autoCleanupEnabled (QString): true localTrash/supportEnabled (QString): true markdownHighlightingEnabled (QString): true navigationPanelAutoSelect (QString): true navigationPanelHideSearch (QString): false networking/ignoreSSLErrors (QString): true networking/proxyType (int): 2 newNoteAskHeadline (QString): false noteEditIsCentralWidget (QString): true noteFileExtensionList (QStringList): md, txt noteListPreview (QString): false noteSaveIntervalTime (int): 10 noteSubfoldersPanelDisplayAsFullTree (QString): true noteSubfoldersPanelHideSearch (QString): false noteSubfoldersPanelOrder (int): 0 noteSubfoldersPanelShowFullPath (QString): false noteSubfoldersPanelShowNotesRecursively (QString): false noteSubfoldersPanelShowRootFolderName (QString): true noteSubfoldersPanelSort (int): 0 noteSubfoldersPanelTabsUnsetAllNotesSelection (QString): false notesPanelOrder (int): 0 notesPanelSort (int): 1 notesPath (QString): C:/Users/user/Notes notifyAllExternalModifications (QString): false 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): 1 ownCloud/todoCalendarDisplayNameList (QStringList): empty ownCloud/todoCalendarEnabledList (QStringList): empty ownCloud/todoCalendarEnabledUrlList (QStringList): empty ownCloud/todoCalendarUrlList (QStringList): empty ownCloudInfo/appIsValid (QString): false 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): test, Change-Cannonical-Name, Amend-UPN, Note 2023-11-14T10.52.25, test2, Note 2023-11-10T15.32.31, Note 2023-11-10T15.32.14, test6, test5, newnote showMatches (QString): true showMenuBar (QString): true showStatusBar (QString): true startInReadOnlyMode (QString): false systemIconTheme (QString): false taggingShowNotesRecursively (QString): false tagsPanelHideNoteCount (QString): false tagsPanelHideSearch (QString): false tagsPanelOrder (int): 0 tagsPanelSort (int): 0 todoCalendarSupport (QString): true toolbar/1/items (QStringList): action_New_note, action_Find_note, action_Remove_note, action_Open_note_in_external_editor, actionShow_local_trash, actionAllow_note_editing, , action_Back_in_note_history, action_Forward_in_note_history, , action_Find_text_in_note, actionReplace_in_current_note, , actionShow_versions, actionShow_trash, actionShare_note, , actionShow_Todo_List 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_text_link, 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): false useUNIXNewline (QString): false webAppClientService/serverUrl (QString): wss://app.qownnotes.org webAppClientService/token (QString): <hidden> webSocketServerService/bookmarksNoteName (QString): Bookmarks webSocketServerService/bookmarksTag (QString): bookmarks webSocketServerService/commandSnippetsNoteName (QString): Commands webSocketServerService/commandSnippetsTag (QString): commands webSocketServerService/port (int): 22222 workspace-initial/name (QString): Full workspace-initial/noteSubFolderDockWidgetVisible (QString): false workspace-initial/windowState (QByteArray): <binary data> workspaces (QStringList): initial

System environment

ALLUSERSPROFILE: C:\ProgramData APPDATA: C:\Users\user\AppData\Roaming asl.log: Destination=file CommonProgramFiles: C:\Program Files\Common Files CommonProgramFiles(x86): C:\Program Files (x86)\Common Files CommonProgramW6432: C:\Program Files\Common Files COMPUTERNAME: GETZ-MW-PIA-103 ComSpec: C:\windows\system32\cmd.exe DriverData: C:\Windows\System32\Drivers\DriverData FPS_BROWSER_APP_PROFILE_STRING: Internet Explorer FPS_BROWSER_USER_PROFILE_STRING: Default HOMEDRIVE: C: HOMEPATH: \Users\user LOCALAPPDATA: C:\Users\user\AppData\Local LOGONSERVER: \\GETZUTIL03 NUMBER_OF_PROCESSORS: 8 OneDrive: C:\Users\user\OneDrive OneDriveCommercial: C:\Users\user\OneDrive OS: Windows_NT Path: C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program Files\PuTTY\;C:\Program Files (x86)\Admin Arsenal\PDQ Inventory\;C:\Program Files (x86)\Admin Arsenal\PDQ Deploy\;C:\platform-tools;C:\Program Files\usbipd-win\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Git\cmd;C:\Users\user\Apps;C:\Users\user\Apps\PSTools;C:\Program Files\Calibre2\;C:\Users\user\AppData\Local\Microsoft\WindowsApps;C:\Users\user\AppData\Local\Programs\VSCodium\bin;C:\Program Files\Neovim\bin PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE: AMD64 PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 140 Stepping 1, GenuineIntel PROCESSOR_LEVEL: 6 PROCESSOR_REVISION: 8c01 ProgramData: C:\ProgramData ProgramFiles: C:\Program Files ProgramFiles(x86): C:\Program Files (x86) ProgramW6432: C:\Program Files PSModulePath: %ProgramFiles%\WindowsPowerShell\Modules;C:\windows\system32\WindowsPowerShell\v1.0\Modules PUBLIC: C:\Users\Public SystemDrive: C: SystemRoot: C:\windows TEMP: C:\Users\user\AppData\Local\Temp TMP: C:\Users\user\AppData\Local\Temp USERDNSDOMAIN: network.LOCAL USERDOMAIN: network USERDOMAIN_ROAMINGPROFILE: network USERNAME: user USERPROFILE: C:\Users\user windir: C:\windows ZES_ENABLE_SYSMAN: 1 `

pbek commented 5 months ago

Doesn't appear to be anything useful in the Window/Panel/Log:

Are you sure you turned on the debug logging? I can't see any [Debug] log entries...

FeintDoxx commented 5 months ago

I had logging to file enabled, not sure if that impacts the output on the log window panel.

`[Mar 13 09:03:10] [Debug]: qMain - 'locale': "en" [Mar 13 09:03:10] [Debug]: Translation "/usr/share/qt5/translations/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 09:03:10] [Debug]: Translation "qt_en" in "C:/Users/user/Desktop/Utilities/QOwnNotes/translations" isLoaded: true , isInstalled: false [Mar 13 09:03:10] [Debug]: Translation "qt_en" in "C:/Users/user/Desktop/Utilities/QOwnNotes/translations" isLoaded: true , isInstalled: false [Mar 13 09:03:10] [Debug]: Translation "C:/Users/user/Desktop/Utilities/QOwnNotes/../src/languages/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 09:03:10] [Debug]: Translation "C:/Users/user/Desktop/Utilities/QOwnNotes/../languages/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 09:03:10] [Debug]: Translation "C:/Users/user/Desktop/Utilities/QOwnNotes/languages/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 09:03:10] [Debug]: Translation "C:/Users/user/Desktop/Utilities/QOwnNotes/QOwnNotes_en" in "" isLoaded: true , isInstalled: true [Mar 13 09:03:10] [Debug]: Translation "../src/languages/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 09:03:10] [Debug]: Translation "../share/qt5/translations/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 09:03:10] [Debug]: Translation "C:/Users/user/Desktop/Utilities/QOwnNotes/../share/qt5/translations/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 09:03:10] [Debug]: Translation "QOwnNotes_en" in "" isLoaded: true , isInstalled: true [Mar 13 09:03:10] [Debug]: getDiskDatabasePath - 'databaseFileName': "C:/Users/user/AppData/Roaming/PBE/QOwnNotes/QOwnNotes.sqlite" [Mar 13 09:03:10] [Debug]: setupTables - 'database_version': 41

[Mar 13 09:03:10] [Debug]: SpellerPlugin *HunspellClient::createSpeller(const QString &language) ; "en_US" [Mar 13 09:03:10] [Debug]: Loading dictionary for "en_US" from "" [Mar 13 09:03:10] [Warning]: Unable to find dictionary for "en_US" in path "/en_US" (:0, ) [Mar 13 09:03:10] [debug]: Set proxy configuration to use NO proxy [Mar 13 09:03:10] [debug]: initShortcuts - 'menuBarIsVisible': true [Mar 13 09:03:10] [debug]: cloudConnection: CloudConnection: 1 "Default" "" "" "" 1 [Mar 13 09:03:10] [debug]: initShortcuts - 'menuBarIsVisible': true [Mar 13 09:03:10] [debug]: updatePanelMenu - 'updatePanelMenu' [Mar 13 09:03:10] [debug]: buildNotesIndex - 'noteSubFolderId': 0 [Mar 13 09:03:10] [debug]: buildNotesIndex - 'files': ("test.md", "Index.md", "Welcome to QOwnNotes.md", "Markdown Cheatsheet.md") [Mar 13 09:03:10] [debug]: buildNotesIndex - 'files': () [Mar 13 09:03:10] [debug]: buildNotesIndex - 'files': ("Change-Cannonical-Name.md", "Amend-UPN.md") [Mar 13 09:03:10] [debug]: setupNoteFolderTables - 'database version': 15 [Mar 13 09:03:10] [debug]: cloudConnection: CloudConnection: 1 "Default" "" "" "" 1

[Mar 13 09:03:10] [debug]: reloadTagTree - 'noteSubFolderIds': QVector()

[Mar 13 09:03:10] [debug]: reloadTagTree - 'noteSubFolderIds': QVector()

[Mar 13 09:03:11] [info]: "QOwnNotes server listening on port 22222"

[Mar 13 09:03:11] [debug]: setCurrentNote - 'note': Note: 1 "test" "test.md" 0 "" false - 'updateNoteText': true - 'updateSelectedNote': false [Mar 13 09:03:11] [debug]: Switching note subfolder [Mar 13 09:03:11] [debug]: Current sub folder changed [Mar 13 09:03:11] [debug]: added to history: NoteHistoryItem: "test" "" 11 0 [Mar 13 09:03:11] [debug]: Current sub folder changed [Mar 13 09:03:11] [warning]: QTextCursor::setPosition: Position '134' out of range [Mar 13 09:03:11] [debug]: "Found scripts: 91" [Mar 13 09:03:11] [debug]: updatePanelMenu - 'updatePanelMenu' [Mar 13 09:03:11] [debug]: updatePanelMenu - 'updatePanelMenu' [Mar 13 09:03:12] [debug]: updatePanelMenu - 'updatePanelMenu' [Mar 13 09:03:12] [debug]: updatePanelMenu - 'updatePanelMenu'

[Mar 13 09:03:17] [debug]: setCurrentNote - 'note': Note: 1 "test" "test.md" 0 "" false - 'updateNoteText': true - 'updateSelectedNote': false [Mar 13 09:03:17] [debug]: Switching note subfolder [Mar 13 09:03:17] [debug]: added to history: NoteHistoryItem: "test" "" 11 0 [Mar 13 09:03:18] [debug]: doTrashing - 'destinationFileName': "C:/Users/user/Notes\trash\6" [Mar 13 09:03:19] [debug]: removeNoteFile - 'trashResult': true [Mar 13 09:03:19] [debug]: removeNoteFile - 'this->fileName': "test.md" [Mar 13 09:03:19] [debug]: removeNoteFile - 'file': "C:/Users/user/Notes/test.md" [Mar 13 09:03:19] [debug]: Removed note "test"

[Mar 13 09:03:19] [debug]: setCurrentNote - 'note': Note: 2 "Index" "Index.md" 0 "" false - 'updateNoteText': true - 'updateSelectedNote': false [Mar 13 09:03:19] [debug]: Switching note subfolder [Mar 13 09:03:19] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes" [Mar 13 09:03:19] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/user/Notes" [Mar 13 09:03:19] [warning]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 [Mar 13 09:03:19] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes" [Mar 13 09:03:19] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/user/Notes" [Mar 13 09:03:19] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes" [Mar 13 09:03:19] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/user/Notes" [Mar 13 09:03:19] [debug]: added to history: NoteHistoryItem: "Index" "" 134 0

[Mar 13 09:03:19] [debug]: reloadTagTree - 'noteSubFolderIds': QVector(0) [Mar 13 09:03:21] [status]: No script updates were found [Mar 13 09:03:22] [debug]: Current sub folder changed [Mar 13 09:03:23] [debug]: cloudConnection: CloudConnection: 1 "Default" "" "" "" 1 [Mar 13 09:03:25] [debug]: getDiskDatabasePath - 'databaseFileName': "C:/Users/user/AppData/Roaming/PBE/QOwnNotes/QOwnNotes.sqlite" [Mar 13 09:03:32] [debug]: getDiskDatabasePath - 'databaseFileName': "C:/Users/user/AppData/Roaming/PBE/QOwnNotes/QOwnNotes.sqlite" [Mar 13 09:03:42] [debug]: getDiskDatabasePath - 'databaseFileName': "C:/Users/user/AppData/Roaming/PBE/QOwnNotes/QOwnNotes.sqlite" [Mar 13 09:03:45] [debug]: getDiskDatabasePath - 'databaseFileName': "C:/Users/user/AppData/Roaming/PBE/QOwnNotes/QOwnNotes.sqlite" [Mar 13 09:04:23] [debug]: getDiskDatabasePath - 'databaseFileName': "C:/Users/user/AppData/Roaming/PBE/QOwnNotes/QOwnNotes.sqlite" [Mar 13 09:04:38] [debug]: cloudConnection: CloudConnection: 1 "Default" "" "" "" 1`

pbek commented 5 months ago

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 selecting Debug in Options.

It's a bit hard to read without line-breaks... 😅 Are you able to copy and paste the line-breaks too from the log panel?

Have you clicked on a note link while fetching the log? (Best clear the log before that.)

FeintDoxx commented 5 months ago

I don't see any option for having the debug line appear in the Log Window;

Cleared logs, I forget to not to code quote logs.

first is attempting to make the note with the subfolder created QOwnNotes-SubFolderCreated.log

[Mar 13 13:43:07] [Debug]: qMain - 'locale': "en" [Mar 13 13:43:08] [Debug]: Translation "/usr/share/qt5/translations/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 13:43:08] [Debug]: Translation "qt_en" in "C:/Users/user/Desktop/Utilities/QOwnNotes/translations" isLoaded: true , isInstalled: false [Mar 13 13:43:08] [Debug]: Translation "qt_en" in "C:/Users/user/Desktop/Utilities/QOwnNotes/translations" isLoaded: true , isInstalled: false [Mar 13 13:43:08] [Debug]: Translation "C:/Users/user/Desktop/Utilities/QOwnNotes/../src/languages/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 13:43:08] [Debug]: Translation "C:/Users/user/Desktop/Utilities/QOwnNotes/../languages/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 13:43:08] [Debug]: Translation "C:/Users/user/Desktop/Utilities/QOwnNotes/languages/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 13:43:08] [Debug]: Translation "C:/Users/user/Desktop/Utilities/QOwnNotes/QOwnNotes_en" in "" isLoaded: true , isInstalled: true [Mar 13 13:43:08] [Debug]: Translation "../src/languages/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 13:43:08] [Debug]: Translation "../share/qt5/translations/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 13:43:08] [Debug]: Translation "C:/Users/user/Desktop/Utilities/QOwnNotes/../share/qt5/translations/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 13:43:08] [Debug]: Translation "QOwnNotes_en" in "" isLoaded: true , isInstalled: true [Mar 13 13:43:08] [Debug]: getDiskDatabasePath - 'databaseFileName': "C:/Users/user/AppData/Roaming/PBE/QOwnNotes/QOwnNotes.sqlite" [Mar 13 13:43:08] [Debug]: setupTables - 'database_version': 41

[Mar 13 13:43:08] [Debug]: SpellerPlugin *HunspellClient::createSpeller(const QString &language) ; "en_US" [Mar 13 13:43:08] [Debug]: Loading dictionary for "en_US" from "" [Mar 13 13:43:08] [Warning]: Unable to find dictionary for "en_US" in path "/en_US" (:0, ) [Mar 13 13:43:08] [debug]: Set proxy configuration to use NO proxy [Mar 13 13:43:08] [debug]: initShortcuts - 'menuBarIsVisible': true [Mar 13 13:43:08] [debug]: cloudConnection: CloudConnection: 1 "Default" "" "" "" 1 [Mar 13 13:43:08] [debug]: initShortcuts - 'menuBarIsVisible': true [Mar 13 13:43:08] [debug]: updatePanelMenu - 'updatePanelMenu' [Mar 13 13:43:08] [debug]: buildNotesIndex - 'noteSubFolderId': 0 [Mar 13 13:43:08] [debug]: buildNotesIndex - 'files': ("Index.md", "Welcome to QOwnNotes.md", "Markdown Cheatsheet.md") [Mar 13 13:43:08] [debug]: buildNotesIndex - 'files': () [Mar 13 13:43:08] [debug]: buildNotesIndex - 'files': ("Change-Cannonical-Name.md", "Amend-UPN.md") [Mar 13 13:43:08] [debug]: setupNoteFolderTables - 'database version': 15 [Mar 13 13:43:08] [debug]: cloudConnection: CloudConnection: 1 "Default" "" "" "" 1

[Mar 13 13:43:08] [debug]: reloadTagTree - 'noteSubFolderIds': QVector()

[Mar 13 13:43:08] [debug]: reloadTagTree - 'noteSubFolderIds': QVector()

[Mar 13 13:43:09] [info]: "QOwnNotes server listening on port 22222"

[Mar 13 13:43:09] [debug]: setCurrentNote - 'note': Note: 1 "Index" "Index.md" 0 "" false - 'updateNoteText': true - 'updateSelectedNote': false [Mar 13 13:43:09] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes" [Mar 13 13:43:09] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/user/Notes" [Mar 13 13:43:09] [warning]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 [Mar 13 13:43:09] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes" [Mar 13 13:43:09] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/user/Notes" [Mar 13 13:43:09] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes" [Mar 13 13:43:09] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/user/Notes" [Mar 13 13:43:09] [debug]: added to history: NoteHistoryItem: "Index" "" 145 0 [Mar 13 13:43:09] [debug]: Current sub folder changed [Mar 13 13:43:09] [debug]: "Found scripts: 91" [Mar 13 13:43:09] [debug]: updatePanelMenu - 'updatePanelMenu' [Mar 13 13:43:09] [debug]: updatePanelMenu - 'updatePanelMenu' [Mar 13 13:43:09] [debug]: updatePanelMenu - 'updatePanelMenu' [Mar 13 13:43:09] [debug]: updatePanelMenu - 'updatePanelMenu' [Mar 13 13:43:19] [status]: No script updates were found [Mar 13 13:43:33] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes" [Mar 13 13:43:33] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/user/Notes"

[Mar 13 13:43:35] [debug]: setCurrentNote - 'note': Note: 1 "Index" "Index.md" 0 "" true - 'updateNoteText': true - 'updateSelectedNote': false [Mar 13 13:43:35] [debug]: Switching note subfolder [Mar 13 13:43:35] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes" [Mar 13 13:43:35] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/user/Notes" [Mar 13 13:43:35] [warning]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 [Mar 13 13:43:35] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes" [Mar 13 13:43:35] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/user/Notes" [Mar 13 13:43:35] [debug]: added to history: NoteHistoryItem: "Index" "" 123 0 [Mar 13 13:43:35] [debug]: Current sub folder changed

[Mar 13 13:43:35] [debug]: setCurrentNote - 'note': Note: 1 "Index" "Index.md" 0 "" true - 'updateNoteText': true - 'updateSelectedNote': false [Mar 13 13:43:35] [debug]: Switching note subfolder [Mar 13 13:43:35] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes" [Mar 13 13:43:35] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/user/Notes" [Mar 13 13:43:35] [warning]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 [Mar 13 13:43:35] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes" [Mar 13 13:43:35] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/user/Notes" [Mar 13 13:43:35] [debug]: added to history: NoteHistoryItem: "Index" "" 123 0 [Mar 13 13:43:38] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes" [Mar 13 13:43:38] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/user/Notes" [Mar 13 13:43:38] [debug]: storing note file: "Index.md" [Mar 13 13:43:38] [debug]: stored note: Note: 1 "Index" "Index.md" 0 "" false [Mar 13 13:43:38] [debug]: storeUpdatedNotesToDisk - 'count': 1 [Mar 13 13:43:38] [status]: Stored 1 note(s) to disk [Mar 13 13:43:40] [debug]: bracketClosingCheck - 'currentChar': '>' [Mar 13 13:43:48] [debug]: storing note file: "Index.md" [Mar 13 13:43:48] [debug]: stored note: Note: 1 "Index" "Index.md" 0 "" false [Mar 13 13:43:48] [debug]: storeUpdatedNotesToDisk - 'count': 1 [Mar 13 13:43:48] [status]: Stored 1 note(s) to disk [Mar 13 13:43:50] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes" [Mar 13 13:43:50] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/user/Notes" [Mar 13 13:43:56] [debug]: buildNotesIndex - 'noteSubFolderId': 0 [Mar 13 13:43:56] [debug]: storing note file: "Index.md" [Mar 13 13:43:56] [debug]: stored note: Note: 1 "Index" "Index.md" 0 "" false [Mar 13 13:43:56] [debug]: storeUpdatedNotesToDisk - 'count': 1 [Mar 13 13:43:56] [status]: Stored 1 note(s) to disk [Mar 13 13:43:56] [debug]: buildNotesIndex - 'files': ("Index.md", "Welcome to QOwnNotes.md", "Markdown Cheatsheet.md") [Mar 13 13:43:56] [debug]: buildNotesIndex - 'files': () [Mar 13 13:43:56] [debug]: buildNotesIndex - 'files': () [Mar 13 13:43:56] [debug]: buildNotesIndex - 'files': ("Change-Cannonical-Name.md", "Amend-UPN.md") [Mar 13 13:43:56] [debug]: setupNoteFolderTables - 'database version': 15 [Mar 13 13:43:56] [debug]: cloudConnection: CloudConnection: 1 "Default" "" "" "" 1

[Mar 13 13:43:56] [debug]: reloadTagTree - 'noteSubFolderIds': QVector(0) [Mar 13 13:43:58] [debug]: openLinkAtCursorPosition - 'emit urlClicked( urlString )': "Index\Test\Test.md" [Mar 13 13:43:58] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes/Index/Test/Test.md" [Mar 13 13:43:58] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "" [Mar 13 13:43:58] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes/Index/Test/" [Mar 13 13:43:58] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/user/Notes/Index/Test" [Mar 13 13:44:00] [debug]: Current sub folder changed [Mar 13 13:44:00] [debug]: storing note file: "Test.md" [Mar 13 13:44:00] [status]: Stored current note to disk

[Mar 13 13:44:00] [debug]: reloadTagTree - 'noteSubFolderIds': QVector(3) [Mar 13 13:44:01] [debug]: setCurrentNote - 'note': Note: 6 "Test" "Test.md" 3 "Index/Test" false - 'updateNoteText': true - 'updateSelectedNote': true [Mar 13 13:44:01] [debug]: added to history: NoteHistoryItem: "Test" "Index\nTest" 11 0

[Mar 13 13:44:03] [debug]: setCurrentNote - 'note': Note: 6 "Test" "Test.md" 3 "Index/Test" false - 'updateNoteText': true - 'updateSelectedNote': false [Mar 13 13:44:03] [debug]: added to history: NoteHistoryItem: "Test" "Index\nTest" 11 0 [Mar 13 13:44:08] [debug]: storing note file: "Test.md" [Mar 13 13:44:08] [debug]: stored note: Note: 6 "Test" "Test.md" 3 "Index/Test" false [Mar 13 13:44:08] [debug]: storeUpdatedNotesToDisk - 'count': 1 [Mar 13 13:44:08] [status]: Stored 1 note(s) to disk [Mar 13 13:44:12] [debug]: updatePanelMenu - 'updatePanelMenu' [Mar 13 13:44:12] [debug]: updatePanelMenu - 'updatePanelMenu' [Mar 13 13:44:12] [debug]: updatePanelMenu - 'updatePanelMenu' [Mar 13 13:44:12] [debug]: updatePanelMenu - 'updatePanelMenu' [Mar 13 13:44:12] [debug]: storeSettings - 'noteHistoryItem': NoteHistoryItem: "Test" "Index\nTest" 17 0

And this is without the subfolder present. QOwnNotes-NoSubFolderCreated.log

[Mar 13 13:38:18] [Debug]: qMain - 'locale': "en" [Mar 13 13:38:18] [Debug]: Translation "/usr/share/qt5/translations/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 13:38:18] [Debug]: Translation "qt_en" in "C:/Users/user/Desktop/Utilities/QOwnNotes/translations" isLoaded: true , isInstalled: false [Mar 13 13:38:18] [Debug]: Translation "qt_en" in "C:/Users/user/Desktop/Utilities/QOwnNotes/translations" isLoaded: true , isInstalled: false [Mar 13 13:38:18] [Debug]: Translation "C:/Users/user/Desktop/Utilities/QOwnNotes/../src/languages/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 13:38:18] [Debug]: Translation "C:/Users/user/Desktop/Utilities/QOwnNotes/../languages/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 13:38:18] [Debug]: Translation "C:/Users/user/Desktop/Utilities/QOwnNotes/languages/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 13:38:18] [Debug]: Translation "C:/Users/user/Desktop/Utilities/QOwnNotes/QOwnNotes_en" in "" isLoaded: true , isInstalled: true [Mar 13 13:38:18] [Debug]: Translation "../src/languages/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 13:38:18] [Debug]: Translation "../share/qt5/translations/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 13:38:18] [Debug]: Translation "C:/Users/user/Desktop/Utilities/QOwnNotes/../share/qt5/translations/QOwnNotes_en" in "" isLoaded: false , isInstalled: false [Mar 13 13:38:18] [Debug]: Translation "QOwnNotes_en" in "" isLoaded: true , isInstalled: true [Mar 13 13:38:18] [Debug]: getDiskDatabasePath - 'databaseFileName': "C:/Users/user/AppData/Roaming/PBE/QOwnNotes/QOwnNotes.sqlite" [Mar 13 13:38:18] [Debug]: setupTables - 'database_version': 41

[Mar 13 13:38:19] [Debug]: SpellerPlugin *HunspellClient::createSpeller(const QString &language) ; "en_US" [Mar 13 13:38:19] [Debug]: Loading dictionary for "en_US" from "" [Mar 13 13:38:19] [Warning]: Unable to find dictionary for "en_US" in path "/en_US" (:0, ) [Mar 13 13:38:19] [debug]: Set proxy configuration to use NO proxy [Mar 13 13:38:19] [debug]: initShortcuts - 'menuBarIsVisible': true [Mar 13 13:38:19] [debug]: cloudConnection: CloudConnection: 1 "Default" "" "" "" 1 [Mar 13 13:38:19] [debug]: initShortcuts - 'menuBarIsVisible': true [Mar 13 13:38:19] [debug]: updatePanelMenu - 'updatePanelMenu' [Mar 13 13:38:19] [debug]: buildNotesIndex - 'noteSubFolderId': 0 [Mar 13 13:38:19] [debug]: buildNotesIndex - 'files': ("Index.md", "Welcome to QOwnNotes.md", "Markdown Cheatsheet.md") [Mar 13 13:38:19] [debug]: buildNotesIndex - 'files': () [Mar 13 13:38:19] [debug]: buildNotesIndex - 'files': ("Change-Cannonical-Name.md", "Amend-UPN.md") [Mar 13 13:38:19] [debug]: setupNoteFolderTables - 'database version': 15 [Mar 13 13:38:19] [debug]: cloudConnection: CloudConnection: 1 "Default" "" "" "" 1

[Mar 13 13:38:19] [debug]: reloadTagTree - 'noteSubFolderIds': QVector()

[Mar 13 13:38:19] [debug]: reloadTagTree - 'noteSubFolderIds': QVector()

[Mar 13 13:38:20] [info]: "QOwnNotes server listening on port 22222"

[Mar 13 13:38:20] [debug]: setCurrentNote - 'note': Note: 1 "Index" "Index.md" 0 "" false - 'updateNoteText': true - 'updateSelectedNote': false [Mar 13 13:38:20] [debug]: Switching note subfolder [Mar 13 13:38:20] [debug]: Current sub folder changed [Mar 13 13:38:20] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes" [Mar 13 13:38:20] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/user/Notes" [Mar 13 13:38:20] [warning]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 [Mar 13 13:38:20] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes" [Mar 13 13:38:20] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/user/Notes" [Mar 13 13:38:20] [debug]: added to history: NoteHistoryItem: "Index" "" 124 0 [Mar 13 13:38:20] [debug]: Current sub folder changed [Mar 13 13:38:20] [debug]: "Found scripts: 91" [Mar 13 13:38:20] [debug]: updatePanelMenu - 'updatePanelMenu' [Mar 13 13:38:20] [debug]: updatePanelMenu - 'updatePanelMenu' [Mar 13 13:38:21] [debug]: updatePanelMenu - 'updatePanelMenu' [Mar 13 13:38:21] [debug]: updatePanelMenu - 'updatePanelMenu' [Mar 13 13:38:29] [debug]: cloudConnection: CloudConnection: 1 "Default" "" "" "" 1 [Mar 13 13:38:31] [status]: No script updates were found [Mar 13 13:38:34] [debug]: getDiskDatabasePath - 'databaseFileName': "C:/Users/user/AppData/Roaming/PBE/QOwnNotes/QOwnNotes.sqlite" [Mar 13 13:38:45] [debug]: bracketClosingCheck - 'currentChar': '>' [Mar 13 13:38:49] [debug]: storing note file: "Index.md" [Mar 13 13:38:49] [debug]: stored note: Note: 1 "Index" "Index.md" 0 "" false [Mar 13 13:38:49] [debug]: storeUpdatedNotesToDisk - 'count': 1 [Mar 13 13:38:49] [status]: Stored 1 note(s) to disk [Mar 13 13:38:55] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes" [Mar 13 13:38:55] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/user/Notes" [Mar 13 13:38:59] [debug]: storing note file: "Index.md" [Mar 13 13:38:59] [debug]: stored note: Note: 1 "Index" "Index.md" 0 "" false [Mar 13 13:38:59] [debug]: storeUpdatedNotesToDisk - 'count': 1 [Mar 13 13:38:59] [status]: Stored 1 note(s) to disk [Mar 13 13:39:02] [debug]: openLinkAtCursorPosition - 'emit urlClicked( urlString )': "Index\Test\Test.md" [Mar 13 13:39:02] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes/Index/Test/Test.md" [Mar 13 13:39:02] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "" <-------------------------Empty [Mar 13 13:39:02] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/user/Notes/Index/Test/" [Mar 13 13:39:02] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "" <-----------------------Empty [Mar 13 13:39:04] [debug]: storing note file: "Test.md" [Mar 13 13:39:04] [status]: Stored current note to disk

[Mar 13 13:39:04] [debug]: reloadTagTree - 'noteSubFolderIds': QVector(0) [Mar 13 13:39:04] [debug]: setCurrentNote - 'note': Note: 6 "Test" "Test.md" 1 "Index" false - 'updateNoteText': true - 'updateSelectedNote': true [Mar 13 13:39:05] [debug]: added to history: NoteHistoryItem: "Test" "Index" 11 0 [Mar 13 13:39:46] [debug]: cloudConnection: CloudConnection: 1 "Default" "" "" "" 1

Comparing the two seems like this differs, although I have no useful insight.

No subfolder present: [Mar 13 13:39:02] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': ""

Subfolder present: [Mar 13 13:43:58] [debug]: fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/user/Notes/Index/Test"

pbek commented 5 months ago

I was finally able to reproduce this myself. I hope this fix doesn't cause other regressions (especially in portable-mode).

24.3.2

pbek commented 5 months ago

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

FeintDoxx commented 5 months ago

Tested, confirmed creating missing linked note and its appropriate subfolder. Thank you, very much appreciated!

pbek commented 5 months ago

Great, thank you for testing! Let's hope this doesn't brake anything else, then. 🤞🏻🤞🏻