You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SUPPORT/BUG] Text diff dialog is shown every 10 seconds #3396
My setup is that I use Windows 11 and have my notes-folder placed in a OneDrive-synced directory. This way all notes are immediately synced to the cloud upon getting saved. This worked perfectly until I updated to v25.11.3.
What happens now is that the new diff-system seems to think that files were changed externally by OneDrive. Thus, whenever I'm writing a note, I get shown the following dialog every 10-15 seconds.
There's a few issues with this:
I'm actually not even sure if this might not simply be a bug, as ...
it is really distracting and completely breaks whatever train of thought you had at the moment. This consistently happens whenever I start writing for a few seconds
The diff is really strange as it doesn't only show the most recently typed letters, but also tons of line breaks(?) that supposedly have been added/removed
I assume I can turn off this diff functionality, but It feels really strange that this is the default behavior.
I guess that would be #3366 (comment).
The question is why is something external (OneDrive?) writing into your note files constantly. 🤔
In the settings, there is a checkbox to ignore all external changes.
Looks like OneDrive is constantly converting line-breaks, even while you are writing to your note. 🤔 Pretty annoying.
This dialog only should come when a note is supposed to be saved by QOwnNotes and something external also wrote into the note between 2 write cycles.
Using Nextcloud the same behavior is apparent, same when using Cryptomator (if that is familiar to anyone) with a Vault outside a cloud drive. I personally only get these interruptions since the last update.
I can confirm this occurs with a portable installation running off a USB drive (including the .md files). To be clear: no OneDrive/Dropbox/other cloud provider is involved.
I'm using the Flatpak version on Linux (Arch variant) and I'm also seeing this. I doubt this matters since it's also affecting Windows users, but I have a BTRFS filesystem.
All my files are saved locally with no backup/cloud/syncing tools involved whatsoever.
The process is: Type for a little while, get the popup, stop typing, click 'Cancel', resume typing, get the popup...
This repeats infinitely until I finally finish what I'm doing.
What I see looks exactly the same as in the screenshot from the OP above. I notice the popup mentions the differences will be shown in red and green, yet I see no colours in either of the text boxes.
I see there's a setting for Ignore all external modifications for the current note but then I'd have to do that for every note, so I didn't try using this.
I did select Ignore all external note folder changes but it didn't solve this problem.
Out of curiosity, since I was editing a note I created way back which has a *.txt extension, I tried this on a note with a *.md extension to see if there would be any difference. There wasn't - the problem still exists no matter which extension a note has.
IMPORTANT: While I was testing to see what might be the root cause, I've so far discovered a peculiarity:
If I type a single letter, number or symbol, then wait - I do not get the popup.
If I type a single space, then I do get the popup.
Now, typing without using spaces is fairly impossible, so after further testing, I find this:
Type the following: the cat sat on the mat
I get no popup with this sentence.
Now type: the cat sat on the mat (with a space at the end)
I do get a popup with this sentence.
I've only tested with spaces, so I don't know if it's affected by any other symbols or special characters but it's a place to start looking.
I'm seeing this problem on Linux - using a plain simple local dir for Notes - no sync tools involved
Plain text files show up with all changed line endings in the new diff dialog...
I haven't found out yet where the difference in checksums come from, but at least they are turned off by default, so there is no diff dialog then (right?). But for me under Windows, I didn't get the dialog anymore as soon as UNIX line endings were enabled.
Ignore my last message please, I misread. I now tried enabling the UNIX-line-endings as well: it does seem to fix the problem aswell, now there are two options fixing the dialog problem:
enabling UNIX-line-endings
disabling checksum checking (which is disabled by default)
Fixed an issue where the diff dialog was incorrectly triggered when both enableNoteChecksumChecks and Editor/removeTrailingSpaces settings were
enabled (for #3396)
Fixed checksum verification on Windows when useUNIXNewline is disabled
(for #3396)
There now is a new release, could you please test it and report if it works for you?
Activity
pbek commentedon Nov 19, 2025
I guess that would be #3366 (comment).
The question is why is something external (OneDrive?) writing into your note files constantly. 🤔
In the settings, there is a checkbox to ignore all external changes.
pbek commentedon Nov 19, 2025
Looks like OneDrive is constantly converting line-breaks, even while you are writing to your note. 🤔 Pretty annoying.
This dialog only should come when a note is supposed to be saved by QOwnNotes and something external also wrote into the note between 2 write cycles.
Tearony commentedon Nov 20, 2025
Using Nextcloud the same behavior is apparent, same when using Cryptomator (if that is familiar to anyone) with a Vault outside a cloud drive. I personally only get these interruptions since the last update.
Hope that helps
pbek commentedon Nov 20, 2025
@Tearony, which operating system? Windows?
Because I don't get this on Linux.
alexanderino commentedon Nov 20, 2025
I can confirm this occurs with a portable installation running off a USB drive (including the .md files). To be clear: no OneDrive/Dropbox/other cloud provider is involved.
Tearony commentedon Nov 20, 2025
@pbek, I am using Windows, with a portable installation
pbek commentedon Nov 20, 2025
Thank you. I will remove the whole checksum checking for Windows then.
pbek commentedon Nov 20, 2025
Thank you for mentioning.
wolframroesler commentedon Nov 20, 2025
I'm getting the same on Linux. Notes are stored in Nextcloud synced via the Nextcloud client.
My QOwnNotes settings:
In case the version numbers matter:
pbek commentedon Nov 20, 2025
On Linux? 🤔
What is the diff shown?
And when do you get the dialog? When you are editing (writing into) a note?
Mitecon commentedon Nov 20, 2025
I'm using the Flatpak version on Linux (Arch variant) and I'm also seeing this. I doubt this matters since it's also affecting Windows users, but I have a BTRFS filesystem.
All my files are saved locally with no backup/cloud/syncing tools involved whatsoever.
The process is: Type for a little while, get the popup, stop typing, click 'Cancel', resume typing, get the popup...
This repeats infinitely until I finally finish what I'm doing.
What I see looks exactly the same as in the screenshot from the OP above. I notice the popup mentions the differences will be shown in red and green, yet I see no colours in either of the text boxes.
I see there's a setting for
Ignore all external modifications for the current notebut then I'd have to do that for every note, so I didn't try using this.I did select
Ignore all external note folder changesbut it didn't solve this problem.Out of curiosity, since I was editing a note I created way back which has a *.txt extension, I tried this on a note with a *.md extension to see if there would be any difference. There wasn't - the problem still exists no matter which extension a note has.
IMPORTANT: While I was testing to see what might be the root cause, I've so far discovered a peculiarity:
If I type a single letter, number or symbol, then wait - I do not get the popup.
If I type a single space, then I do get the popup.
Now, typing without using spaces is fairly impossible, so after further testing, I find this:
Type the following:
the cat sat on the matI get no popup with this sentence.
Now type:
the cat sat on the mat(with a space at the end)I do get a popup with this sentence.
I've only tested with spaces, so I don't know if it's affected by any other symbols or special characters but it's a place to start looking.
UffeJakobsen commentedon Nov 20, 2025
I'm seeing this problem on Linux - using a plain simple local dir for Notes - no sync tools involved
Plain text files show up with all changed line endings in the new diff dialog...
pbek commentedon Nov 20, 2025
I still cannot reproduce this on any machine...
Hard to debug, because no one shared a settings dump.
But I added a checkbox.
#3396 textdiffdialog: add checkbox to not show dialog again
25 remaining items
pbek commentedon Nov 25, 2025
I tried to debug under Windows 11 and I don't seem to get the issue when I enable UNIX line endings in the General settings. 🤔
#3396 checksum: try to confert to UNIX timestamps when reading
pbek commentedon Nov 26, 2025
I haven't found out yet where the difference in checksums come from, but at least they are turned off by default, so there is no diff dialog then (right?). But for me under Windows, I didn't get the dialog anymore as soon as UNIX line endings were enabled.
Tearony commentedon Nov 26, 2025
Ignore my last message please, I misread. I now tried enabling the UNIX-line-endings as well: it does seem to fix the problem aswell, now there are two options fixing the dialog problem:
#3396 checksum: fix issues when removeTrailingSpaces is enabled
#3396 checksum: try fix under Windows
#3396 checksum: try fix under Windows
#3396 checksum: refactor openmode handling
pbek commentedon Dec 6, 2025
25.12.3
enableNoteChecksumChecksandEditor/removeTrailingSpacessettings wereenabled (for #3396)
useUNIXNewlineis disabled(for #3396)
There now is a new release, could you please test it and report if it works for you?
#3396 note: fix note filename changes incorrectly triggering external…
#3396 note: fix note filename changes incorrectly triggering external…
pbek commentedon Feb 25, 2026
26.2.12
dialog when checksum checks are enabled (for #3396)