Skip to content

[BUG] Setting "Notify about all external modifications of the current note" - notification is not shown #3428

Closed

Description

@ohnemich

Expected behaviour

I activated the setting "Notify about all external modifications of the current note". As I make an external change to the note, I would expect to receive a notification about external modifications. Actually, no notification in QOwnnotes about modifications is shown.

Actual behaviour

Actually, no notification in QOwnnotes about modifications is shown.
It seems to be very similar to #3366.

With round about 50 Tests, I have seen the diff dialogue like two or three times. Unfortunately, I could not make out, why it was shown two or three times.

Steps to reproduce

  1. Open QOwnnotes
  2. Open Settings > General > Activate "Notify about all external modifications of the current note"
  3. Open Note in QOwnnotes
  4. Open Note externally (tested with Notepad++, Nextcloud Notes Web App and Nextcloud Notes Android App), change note, save note in external editor.
  5. Notification in QOwnnotes "🔄 Notes directory was modified externally" is shown
  6. Diff Dialogue of external modifications in QOwnnotes is not shown, external changes are ignored

Relevant log output in the Log panel

Expand
[09:04:48] [status] 🔄 Notes directory was modified externally

Information about the application, settings and environment

Expand

QOwnNotes Debug Information

General Info

Current Date: Tue Jan 6 09:05:08 2026
Version: 26.1.5
Build date: Jan 5 2026
Build number: 1246
Platform: windows (windows)
Operating System: Windows 10 Version 22H2
Build architecture: x86_64
Current architecture: x86_64
Release: GitHub Actions
Qt Version (build): 6.9.1
Qt Version (runtime): 6.9.1
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\Downloads\QOwnNotes\QOwnNotes.exe, C:\Users\USER\Downloads\QOwnNotes\QOwnNotes.exe, --allow-multiple-instances
Qt Debug: no
System Botan: no
Libgit2: no
Locale (system): de_DE
Locale (interface): en
Primary screen resolution: 1536x864
Icon theme: breeze-qownnotes
Notes in current note folder: 10
Calendar items: 0
Enabled scripts: 0
Database drivers: QIBASE, QSQLITE, QMIMER, QOCI, QODBC, QPSQL

Server Info

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

Spellchecking

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

Note folders

currentNoteFolderId: 1

Note folder Standard

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

Cloud connections

Cloud connection Standard

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

Enabled scripts

Settings

AboutDialog/geometry (QByteArray): <binary data>
ActiveNoteHistoryItem (NoteHistoryItem): empty
Debug/fakeOldVersionNumber (QString): false
Debug/fileLogging: empty
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 (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): 2026-01-06T08:50:23.582
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 (int): 24
MainWindow/menuBarGeometry (QByteArray): <binary data>
MainWindow/noteTextEdit.code.font (QString): Courier New,9,-1,2,400,0,0,0,0,0,0,0,0,0,0,1
MainWindow/noteTextEdit.font (QString): Segoe UI,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
MainWindow/noteTextView.code.font (QString): Courier New,9,-1,2,400,0,0,0,0,0,0,0,0,0,0,1
MainWindow/noteTextView.font (QString): Segoe UI,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
MainWindow/noteTextView.ignoreCodeFontSize (QString): true
MainWindow/noteTextView.refreshDebounceTime (int): 600
MainWindow/noteTextView.rtl (QString): false
MainWindow/noteTextView.underline (QString): false
MainWindow/noteTextView.useEditorStyles (QString): true
MainWindow/noteTextView.useInternalExportStyling (QString): true
NoteFolder-1/NoteTabNameList (QStringList): An- und Verkauf
NoteFolder-1/NoteTabStickinessList (QStringList): empty
NoteFolder-1/NoteTabSubFolderPathDataList (QStringList): empty
NoteHistory-1 (QVariantList): <variant list with 2 item(s)>
NoteHistoryCurrentIndex-1 (int): 1
PiwikClientId (QString): <hidden>
SearchEngineId (int): 0
SettingsDialog/geometry (QByteArray): <binary data>
SettingsDialog/mainSplitterState (QByteArray): <binary data>
ShowSystemTray (QString): false
StartHidden (QString): false
UpdateDialog/geometry (QByteArray): <binary data>
WelcomeDialog/geometry (QByteArray): <binary data>
acceptAllExternalModifications (QString): false
ai/autocompleteEnabled (QString): false
ai/groq/apiKey (QString): <hidden>
ai/openai/apiKey (QString): <hidden>
ai/responseTimeout (int): 15
allowNoteEditing (bool): 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 (bool): false
closeTodoListAfterSave (QString): false
cryptoKey (qlonglong): <hidden>
currentNoteFolderId (int): 1
currentWorkspace (QString): initial
cursorWidth (int): 1
darkMode (QString): false
darkModeColors (QString): false
darkModeIconTheme (QString): false
darkModeTrayIcon (QString): false
defaultNoteFileExtension (QString): md
disableAutomaticUpdateDialog (QString): true
disableSavedSearchesAutoCompletion (QString): false
dockWasInitializedOnce (QString): true
enableNoteChecksumChecks (QString): false
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 (bool): true
hideIconsInMenus (QString): false
hideTabCloseButton (QString): false
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): en
interfaceScalingFactor (int): 100
internalIconTheme (QString): false
itemHeight (int): 18
legacyLinking (QString): false
localTrash/autoCleanupDays (int): 30
localTrash/autoCleanupEnabled (QString): true
localTrash/supportEnabled (QString): true
markdownHighlightingEnabled (QString): true
maxNoteFileSize (int): 1048576
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): false
noteSubfoldersPanelHideSearch (QString): false
noteSubfoldersPanelOrder (int): 0
noteSubfoldersPanelShowFullPath (QString): false
noteSubfoldersPanelShowNotesRecursively (QString): false
noteSubfoldersPanelShowRootFolderName (QString): false
noteSubfoldersPanelSort (int): 0
noteSubfoldersPanelTabsUnsetAllNotesSelection (QString): false
notesPanelOrder (int): 0
notesPanelSort (int): 1
notesPath (QString): C:/Users/USER/Nextcloud/Notes
notifyAllExternalModifications (QString): true
overrideInterfaceFontSize (QString): false
overrideInterfaceScalingFactor (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
restoreCursorPosition (QString): true
restoreLastNoteAtStartup (QString): true
restoreNoteTabs (QString): true
showMatches (QString): true
showMenuBar (bool): true
showStatusBar (bool): true
showStatusBarNotePath (QString): true
showStatusBarRelativeNotePath (QString): false
startInReadOnlyMode (QString): false
systemIconTheme (QString): false
taggingShowNotesRecursively (QString): false
tagsPanelHideNoteCount (QString): false
tagsPanelHideSearch (QString): false
tagsPanelOrder (int): 0
tagsPanelSort (int): 0
todoCalendarSupport (QString): true
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): Vollständig
workspace-initial/noteSubFolderDockWidgetVisible (QString): true
workspace-initial/windowState (QByteArray): <binary data>
workspaces (QStringList): initial

System environment

****: ::=::\
__COMPAT_LAYER: DetectorsAppHealth
ALLUSERSPROFILE: C:\ProgramData
APPDATA: C:\Users\USER\AppData\Roaming
CommonProgramFiles: C:\Program Files\Common Files
CommonProgramFiles(x86): C:\Program Files (x86)\Common Files
CommonProgramW6432: C:\Program Files\Common Files
COMPUTERNAME: NOTEBOOK
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
JAVA_HOME: C:\Program Files\Eclipse Adoptium\jre-17.0.7.7-hotspot\
LOCALAPPDATA: C:\Users\USER\AppData\Local
LOGONSERVER: \\NOTEBOOK
MOZ_PLUGIN_PATH: C:\Program Files (x86)\Foxit Software\Foxit PDF Reader\plugins\
NUMBER_OF_PROCESSORS: 16
OneDrive: C:\Users\USER\OneDrive
OneDriveConsumer: C:\Users\USER\OneDrive
OnlineServices: Online Services
OPENSSL_CONF: C:\OpenSSL-Win64\bin\openssl.cfg
OS: Windows_NT
Path: C:\Program Files (x86)\Common Files\Oracle\Java\java8path;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Eclipse Adoptium\jre-17.0.7.7-hotspot\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\OpenSSL-Win64\bin;C:\Users\USER\AppData\Local\Microsoft\WindowsApps;;C:\Program Files\JetBrains\PyCharm Community Edition 2021.2.3\bin;;C:\Users\USER\AppData\Roaming\Programs\Zero Install
PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
platformcode: AN
PROCESSOR_ARCHITECTURE: AMD64
PROCESSOR_IDENTIFIER: AMD64 Family 25 Model 80 Stepping 0, AuthenticAMD
PROCESSOR_LEVEL: 25
PROCESSOR_REVISION: 5000
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
PyCharm Community Edition: C:\Program Files\JetBrains\PyCharm Community Edition 2021.2.3\bin;
RegionCode: EMEA
SESSIONNAME: Console
SystemDrive: C:
SystemRoot: C:\windows
TEMP: C:\Users\USER\AppData\Local\Temp
TMP: C:\Users\USER\AppData\Local\Temp
USERDOMAIN: NOTEBOOK
USERDOMAIN_ROAMINGPROFILE: NOTEBOOK
USERNAME: USER
USERPROFILE: C:\Users\USER
VBOX_MSI_INSTALL_PATH: C:\Program Files\Oracle\VirtualBox\
windir: C:\windows

Activity

  1. ohnemich commented on Jan 6, 2026

    @ohnemich
    Author

    I tried to analyze the issue and tried to find a cause due to the specific settings/actions, without any hint on a cause

    • updated QOwnnotes to newest version
    • started QOwnnotes with start options --session and --clear-settings
    • deleted (QOwnnotes?) database notes.sqlite in the notes folder
    • tried to change the notes with different external tools (Notepad++, Nextcloud Web Notes Application, Nextcloud Notes Android Application)
    • tried different settings under Notes > Settings > General > "Notify about all external modifications of the current note", "Accept all external modifications of the current note", "Use checksums to detect external modifications to unsaved notes" or different note save interval times in seconds, some of those settings tested combined
    • tried different notes, different changes to notes (i.e. more/less than 8 characters, e.g. changes of two or 12 characters), different change times to note (less than a minute, more than a minute, several minutes (more than 5, 20)
    • tried Notes > Settings > General > Reinitialize Database

    As stated out in the initial posting, I have seen the diff dialogue maybe two or three times within round about 50 tests. Unfortunately, I could not make out why that was the case.

  2. changed the title [-][BUG][/-] [+][BUG] Setting "Notify about all external modifications of the current note" does not seem to work, notification about external changes/diff dialogue is not shown[/+] on Jan 6, 2026
  3. changed the title [-][BUG] Setting "Notify about all external modifications of the current note" does not seem to work, notification about external changes/diff dialogue is not shown[/-] [+][BUG] Setting "Notify about all external modifications of the current note" - notification is not shown[/+] on Jan 6, 2026
  4. pbek commented on Jan 6, 2026

    @pbek
    Owner

    🔄 Notes directory was modified externally means that there was no inotify event (or something similar on Windows) for the note file, but the directory got one.

    The Notify about all external modifications of the current note checkbox doesn't give you more detection, it just turns off some safeguards.

  5. pbek commented on Jan 6, 2026

    @pbek
    Owner

    When I edit the current note externally with kate I get a log [15:19:10] [status] 🔄 Current note was modified externally and the note reloads (because I haven't edited the note recently in QOwnNotes).

    When I then turn on Notify about all external modifications of the current note I in addition get the diff dialog when editing the note with kate.

    If this ever worked for you the same, then it would be best to compare old releases of QOwnNotes.

  6. ohnemich commented on Jan 7, 2026

    @ohnemich
    Author

    Thanks for your support, pbek!

    Unfortunately, I cannot say if I ever received the log "Current note was modified externally", maybe it was shown the very few times I have seen the diff dialog, but I did not notice. I just started using QOwnnotes on Saturday 3 January 2026 with version 26.1.3., as well as I just started using a nextcloud on this day.

    It seems as the nextcloud sync folder/nextcloud desktop client is the cause, at least partially, I would suspect.

    I tried different versions of QOwnnotes (26.1.3, 25.12.7, 24.12.7) with the synced nextcloud notes folder, same behaviour, external changes were ignored.

    I set a local folder on my laptops disk as notes folder, without the folder being synced by the nextcloud, external changes to notes with Notepad++ were noticed and accepted/shown as expected in QOwnnotes (depending on QOwnnotes settings).

    Perhaps, I will try an older version of Nextcloud desktop client later on. For documentation purposes: I use Nextcloud Desktop 4.0.4. for Windows. Nextcloud is hosted at Hetzner (i.e. it is a managed Nextcloud, product is called "Storage Share"). Issue can be closed from my side, imo.

  7. pbek commented on Jan 7, 2026

    @pbek
    Owner

    I don't know if there are knobs to turn for ReadDirectoryChangesW under Windows, like they are for inotify under Linux (allowing more files to be watched in the system). 🤷🏻

  8. pbek commented on Jan 7, 2026

    @pbek
    Owner

    I can add a debug message when a path can't be added to the directory watcher in the next release...

  9. added a commit that references this issue on Jan 7, 2026
  10. pbek commented on Jan 7, 2026

    @pbek
    Owner

    26.1.6

    • Added a debug message when a path can't be added to the note directory watcher
      (for #3428)
  11. pbek commented on Jan 7, 2026

    @pbek
    Owner

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

  12. ohnemich commented on Jan 8, 2026

    @ohnemich
    Author

    Hi pbek,

    I updated QOwnnotes to version 26.1.6.

    Unfortunately, it behaves differently at different tries. A few minutes ago, I thought I had a new, systematic behaviour to describe (see below including log, "First behaviour...")

    First behaviour after updating and a few starts

    • Changed note TEST.md externally with Notepad++, while the Note was the opened note in QOwnnotes > external change is accepted/noticed, cf. Log starting at 09:59:42 am.
    • Changed note TEST.md externally with Nextcloud Notes Web App/Nextcloud Notes Android App, while the Note was the opened note in QOwnnotes > external change is ignored, cf. log starting at 10:00:12 am.

    Log file

    Expand

    [09:59:29] [debug] updatePanelMenu - 'updatePanelMenu'
    [09:59:42] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/USER/Nextcloud/Notes/TEST.md"
    [09:59:42] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/USER/Nextcloud/Notes/TEST.md"
    [09:59:42] [debug] notesWereModified - 'str': "C:/Users/USER/Nextcloud/Notes/TEST.md"
    [09:59:42] [debug] notesWereModified - 'note': Note: 1 "TEST" "TEST.md" 0 "" false
    [09:59:42] [debug] notesWereModified - 'currentNote': Note: 1 "TEST" "TEST.md" 0 "" false
    [09:59:42] [status] 🔄 Current note was modified externally
    [09:59:42] [debug] openNoteDiffDialog - 'changedNote': Note: 1 "TEST" "TEST.md" 0 "" false
    [09:59:42] [debug] notesDirectoryWasModified: "C:/Users/USER/Nextcloud/Notes"
    [09:59:42] [status] 🔄 Notes directory was modified externally
    [09:59:42] [debug] buildNotesIndex - 'noteSubFolderId': 0
    [09:59:42] [debug] buildNotesIndex - 'files': QList("TEST.md", FURTHER NOTES)
    [09:59:42] [debug] setupNoteFolderTables - 'database version': 15
    [09:59:42] [debug] cloudConnection: CloudConnection: 1 "Standard" "" "" "NCUSER" 1
    [09:59:42] [debug] ====================================================
    [09:59:42] [debug] Note folder loading complete - Checksum statistics:
    [09:59:42] [debug] Total calculateChecksum() calls: 0
    [09:59:42] [debug] Total time spent: 0 ms
    [09:59:42] [debug] ====================================================
    [09:59:42] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/USER/Nextcloud/Notes/TEST.md"
    [09:59:42] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/USER/Nextcloud/Notes/TEST.md"
    [09:59:42] [debug] notesWereModified - 'str': "C:/Users/USER/Nextcloud/Notes/TEST.md"
    [09:59:42] [debug] notesWereModified - 'note': Note: 1 "TEST" "TEST.md" 0 "" false
    [09:59:42] [debug] notesWereModified - 'currentNote': Note: 1 "TEST" "TEST.md" 0 "" false
    [09:59:42] [debug] notesWereModified - Modification date didn't change, ignoring
    [09:59:42] [debug] updateNoteText: false
    [09:59:42] [debug] setCurrentNote - 'note': Note: 1 "TEST" "TEST.md" 0 "" false - 'updateNoteText': false - 'updateSelectedNote': true
    [09:59:42] [debug] added to history: NoteHistoryItem: "TEST" "" 560 1
    [09:59:49] [status] 🔄 Loading external changes from: TEST.md
    [10:00:12] [debug] notesDirectoryWasModified: "C:/Users/USER/Nextcloud/Notes"
    [10:00:12] [status] 🔄 Notes directory was modified externally
    [10:00:12] [debug] buildNotesIndex - 'noteSubFolderId': 0
    [10:00:12] [debug] buildNotesIndex - 'files': QList("TEST.md", FURTHER NOTES)
    [10:00:12] [debug] setupNoteFolderTables - 'database version': 15
    [10:00:12] [debug] cloudConnection: CloudConnection: 1 "Standard" "" "" "NCUSER" 1
    [10:00:12] [debug] ====================================================
    [10:00:12] [debug] Note folder loading complete - Checksum statistics:
    [10:00:12] [debug] Total calculateChecksum() calls: 0
    [10:00:12] [debug] Total time spent: 0 ms
    [10:00:12] [debug] ====================================================
    [10:00:12] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/USER/Nextcloud/Notes/TEST.md"
    [10:00:12] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/USER/Nextcloud/Notes/TEST.md"
    [10:00:12] [debug] notesWereModified - 'str': "C:/Users/USER/Nextcloud/Notes/TEST.md"
    [10:00:12] [debug] notesWereModified - 'note': Note: 1 "TEST" "TEST.md" 0 "" false
    [10:00:12] [debug] notesWereModified - 'currentNote': Note: 1 "TEST" "TEST.md" 0 "" false
    [10:00:12] [debug] notesWereModified - Modification date didn't change, ignoring
    [10:00:12] [debug] updateNoteText: false
    [10:00:12] [debug] setCurrentNote - 'note': Note: 1 "TEST" "TEST.md" 0 "" false - 'updateNoteText': false - 'updateSelectedNote': true
    [10:00:12] [debug] added to history: NoteHistoryItem: "TEST" "" 560 1

    Unfortunately, the behaviour changed a few start attempts later (see below including log "Second behaviour"). After a few more start attemps of QOwnnotes, it seems as the following (i.e. the initial) behaviour seems to be the new behaviour.

    Second behaviour after a few starts

    • Changed note TEST.md externally with Notepad++, while the Note was the opened note in QOwnnotes > external change is ignored, cf. Log starting at 10:50:47 am.
    • Changed note TEST.md externally with Nextcloud Notes Web App/Nextcloud Notes Android App, while the Note was the opened note in QOwnnotes > external change is ignored, cf. log starting at 10:51:01 am.

    Log file

    Expand

    [10:50:41] [debug] updatePanelMenu - 'updatePanelMenu'
    [10:50:47] [debug] notesDirectoryWasModified: "C:/Users/USER/Nextcloud/Notes"
    [10:50:47] [status] 🔄 Notes directory was modified externally
    [10:50:47] [debug] buildNotesIndex - 'noteSubFolderId': 0
    [10:50:47] [debug] buildNotesIndex - 'files': QList("TEST.md", FURTHER NOTES)
    [10:50:47] [debug] setupNoteFolderTables - 'database version': 15
    [10:50:47] [debug] cloudConnection: CloudConnection: 1 "Standard" "" "" "NCUSER" 1
    [10:50:47] [debug] ====================================================
    [10:50:47] [debug] Note folder loading complete - Checksum statistics:
    [10:50:47] [debug] Total calculateChecksum() calls: 0
    [10:50:47] [debug] Total time spent: 0 ms
    [10:50:47] [debug] ====================================================
    [10:50:47] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/USER/Nextcloud/Notes/TEST.md"
    [10:50:47] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/USER/Nextcloud/Notes/TEST.md"
    [10:50:47] [debug] notesWereModified - 'str': "C:/Users/USER/Nextcloud/Notes/TEST.md"
    [10:50:47] [debug] notesWereModified - 'note': Note: 1 "TEST" "TEST.md" 0 "" false
    [10:50:47] [debug] notesWereModified - 'currentNote': Note: 1 "TEST" "TEST.md" 0 "" false
    [10:50:47] [debug] notesWereModified - Modification date didn't change, ignoring
    [10:50:47] [debug] updateNoteText: false
    [10:50:47] [debug] setCurrentNote - 'note': Note: 1 "TEST" "TEST.md" 0 "" false - 'updateNoteText': false - 'updateSelectedNote': true
    [10:50:47] [debug] added to history: NoteHistoryItem: "TEST" "" 792 1
    [10:51:01] [debug] notesDirectoryWasModified: "C:/Users/USER/Nextcloud/Notes"
    [10:51:01] [status] 🔄 Notes directory was modified externally
    [10:51:01] [debug] buildNotesIndex - 'noteSubFolderId': 0
    [10:51:01] [debug] buildNotesIndex - 'files': QList("TEST.md", FURTHER NOTES)
    [10:51:01] [debug] setupNoteFolderTables - 'database version': 15
    [10:51:01] [debug] cloudConnection: CloudConnection: 1 "Standard" "" "" "NCUSER" 1
    [10:51:01] [debug] ====================================================
    [10:51:01] [debug] Note folder loading complete - Checksum statistics:
    [10:51:01] [debug] Total calculateChecksum() calls: 0
    [10:51:01] [debug] Total time spent: 0 ms
    [10:51:01] [debug] ====================================================
    [10:51:01] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "C:/Users/USER/Nextcloud/Notes/TEST.md"
    [10:51:01] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "C:/Users/USER/Nextcloud/Notes/TEST.md"
    [10:51:01] [debug] notesWereModified - 'str': "C:/Users/USER/Nextcloud/Notes/TEST.md"
    [10:51:01] [debug] notesWereModified - 'note': Note: 1 "TEST" "TEST.md" 0 "" false
    [10:51:01] [debug] notesWereModified - 'currentNote': Note: 1 "TEST" "TEST.md" 0 "" false
    [10:51:01] [debug] notesWereModified - Modification date didn't change, ignoring
    [10:51:01] [debug] updateNoteText: false
    [10:51:01] [debug] setCurrentNote - 'note': Note: 1 "TEST" "TEST.md" 0 "" false - 'updateNoteText': false - 'updateSelectedNote': true
    [10:51:01] [debug] added to history: NoteHistoryItem: "TEST" "" 792 1

    I do not know, what may have caused this change of behaviour, e.g. I put the windows client into energy save mode inbetween, I logged in and out of Nextcloud Web app, I can't tell.

  13. pbek commented on Jan 8, 2026

    @pbek
    Owner

    The only change in the last release was the Failed to add path to directory watcher debug message, but it seems Qt doesn't report any issues if above was the whole log...

  14. ohnemich commented on Jan 13, 2026

    @ohnemich
    Author

    Ok, I do not have any more ideas.

    I thought, it could be related to Nextcloud Desktop Application, but as I switched the notes folder to a folder in my users downloads directory (i.e. not synced with Nextcloud, user has rw permissions), QOwnnotes behaves the same. A notification for changes in the folder "Notes directory was modified externally" is shown, changes in the *.md file are not accepted/shown.

  15. ohnemich commented on Jan 13, 2026

    @ohnemich
    Author

    Almost forgot: thank you for your support, @pbek !

  16. pbek commented on Jan 13, 2026

    @pbek
    Owner

    I'm sorry, we were not able to find out more...

  17. pbek commented on Jan 15, 2026

    @pbek
    Owner

    I will close this issue until there is more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions