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.69k stars 414 forks source link

QOwnNotes crash #2433

Closed wsrf16 closed 2 years ago

wsrf16 commented 2 years ago

By the way I have only checked the item: “Notify about all external modifications of the current note”

Expected behaviour

Notify about all external modifications of the current note image image

Actual behaviour

When I modify the markdown content externally, QOwnNotes taking crashes.(no response) I can not do anything but kill QOwnNotes.I can not reproduce every times.But it often happens.Looks like the CPU is full. image

Steps to reproduce

1.Open markdown file in QOwnNotes. 2.Open the same markdown file in notepad editor. 3.Modify the markdown file in notepad editor. 4.Switch to QOwnNotes.Then QOwnNotes crashed.

Output from the debug section in the settings dialog

Paste QOwnNotes.log segment: [2月 03 00:54:00] [debug]: updatePanelMenu - 'updatePanelMenu' [2月 03 00:54:00] [debug]: updatePanelMenu - 'updatePanelMenu' [2月 03 00:54:00] [debug]: updatePanelMenu - 'updatePanelMenu'

pbek commented 2 years ago

I cannot reproduce your issue, works fine with me. Can you please post the output from the debug settings (see issue template).

wsrf16 commented 2 years ago

Sorry, That is all I can provide.There are no errors in the log.

pbek commented 2 years ago

I used that setting now, but still can't reproduce your issue. I get the diff dialog and can accept the changes.

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.

pbek commented 2 years ago

Btw. you don't really need that setting unless you want to bypass the logic of QOwnNotes whether you should get a notification or not...

pbek commented 2 years ago

Can you please try the latest version 22.1.12.

wsrf16 commented 2 years ago

I have updated to 22.1.12 just now. But It cannot work all the same.

wsrf16 commented 2 years ago

readme.md You can try this file.Maybe the requirements document is large enough.

pbek commented 2 years ago

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

... please

wsrf16 commented 2 years ago

Not this?

发件人: Patrizio @.> 发送时间: 2022年2月3日 3:04 收件人: @.> 抄送: @.>; @.> 主题: Re: [pbek/QOwnNotes] QOwnNotes crash (Issue #2433)

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

... please

― Reply to this email directly, view it on GitHubhttps://github.com/pbek/QOwnNotes/issues/2433#issuecomment-1028269130, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC2RM6EZLD3PJ5CJVIMFR7LUZF54JANCNFSM5NMRSWPQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>

pbek commented 2 years ago

No, the settings dump, like stated in the issue template 😅... 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.

wsrf16 commented 2 years ago

image image

It had crashed before I were going to copy the output. I cannot copy log output.Maybe it was deadlock or endless loop.

wsrf16 commented 2 years ago

22.1.13

image

wsrf16 commented 2 years ago

After a long waiting for 8 minutes, I got the log information:

[11:44:08] [debug] notesWereModified: "D:/NutDisk/Program/111111.md"
[11:51:47] [status] Current note was modified externally

I think there is the key point.It spent 8 minutes.


Relevant log output in the Log panel

Expand ``` [11:43:56] [debug] updatePanelMenu - 'updatePanelMenu' [11:44:08] [debug] notesWereModified: "D:/NutDisk/Program/111111.md" [11:51:47] [status] Current note was modified externally [11:51:47] [debug] openNoteDiffDialog - 'changedNote': Note: 1 "111111" "111111.md" 0 "" false [11:52:11] [status] Loading external changes from: 111111.md [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" ```

Information about the application, settings and environment

Expand 发件人: Patrizio ***@***.***> 发送时间: 2022年2月3日 4:42 收件人: ***@***.***> 抄送: ***@***.***>; ***@***.***> 主题: Re: [pbek/QOwnNotes] QOwnNotes crash (Issue #2433) No, the settings dump, like stated in the issue template 😅... 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. — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: ***@***.***>
pbek commented 2 years ago

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

Look at your screenshot of the settings dialog, on the bottom left you find the menu entry for "Debug"!

wsrf16 commented 2 years ago

Settings

AboutDialog/geometry (QByteArray): <binary data> ActiveNoteHistoryItem (NoteHistoryItem): <binary data> Debug/fakeOldVersionNumber (QString): false Debug/fileLogging (QString): true DictionaryManagerDialog/geometry (QByteArray): <binary data> DictionaryManagerDialog/mainSplitterState (QByteArray): <binary data> DistractionFreeMode/editorWidthMode (QString): 1 DistractionFreeMode/isEnabled (QString): false DistractionFreeMode/menuBarGeometry (QByteArray): <binary data> DistractionFreeMode/menuBarHeight (QString): 22 DistractionFreeMode/menuBarVisible (QString): true DistractionFreeMode/windowState (QByteArray): <binary data> Editor/ColorSchemes (QString): EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846 Editor/CurrentSchemaKey (QString): EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846 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): true Editor/useTabIndent (QString): false Editor/vimMode (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_-1 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_0 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_1 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_1000 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_1001 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_1002 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_1003 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_1004 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_1005 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_1006 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_12 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_13 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_14 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_15 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_16 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_17 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_18 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_19 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_2 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_21 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_22 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_23 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_25 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_28 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_3 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_4 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_7 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_8 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_-1 (QColor): #282c34 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_0 (QColor): #333333 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_1 (QColor): #333333 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_1000 (QColor): #333333 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_1001 (QColor): #333333 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_1002 (QColor): #333333 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_1003 (QColor): #333333 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_1004 (QColor): #333333 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_1005 (QColor): #333333 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_12 (QColor): #ebebf0 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_13 (QColor): #ebebf0 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_14 (QColor): #ebebf0 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_15 (QColor): #ebebf0 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_16 (QColor): #ebebf0 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_17 (QColor): #ebebf0 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_18 (QColor): #d3efff EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_19 (QColor): #333333 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_2 (QColor): #333333 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_21 (QColor): #444444 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_22 (QColor): #3e3e44 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_23 (QColor): #333333 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_25 (QColor): #3e3c36 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_28 (QColor): #3e3c36 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_3 (QColor): #e4ffe4 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_4 (QColor): #333333 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_7 (QColor): #9eb6ff EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_8 (QColor): #dbf9e5 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Bold_12 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Bold_13 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Bold_14 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Bold_15 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Bold_16 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Bold_17 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Bold_8 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/FallbackSchema (QString): EditorColorSchema-cdbf28fc-1ddc-4d13-bb21-6a4043316a2f EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/FontSizeAdaption_12 (QString): 200 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/FontSizeAdaption_13 (QString): 170 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/FontSizeAdaption_14 (QString): 145 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/FontSizeAdaption_15 (QString): 124 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/FontSizeAdaption_16 (QString): 90 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/FontSizeAdaption_17 (QString): 90 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_-1 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_0 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_1 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_10 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_1000 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_1001 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_1002 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_1003 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_1004 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_1005 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_1006 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_11 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_12 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_13 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_14 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_15 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_16 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_17 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_18 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_19 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_2 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_20 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_21 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_22 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_23 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_24 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_26 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_29 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_3 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_30 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_4 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_5 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_6 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_7 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_8 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_9 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_-1 (QColor): #abb2bf EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_0 (QColor): #98c379 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_1 (QColor): #fc7e00 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_10 (QColor): #ffff00 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_1000 (QColor): #f92672 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_1001 (QColor): #e6db74 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_1002 (QColor): #b18eb1 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_1003 (QColor): #61aeee EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_1004 (QColor): #e06c75 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_1005 (QColor): #ae81ff EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_1006 (QColor): #a6e22e EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_11 (QColor): #b18eb1 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_12 (QColor): #e06c75 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_13 (QColor): #e06c75 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_14 (QColor): #e06c75 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_15 (QColor): #e06c75 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_16 (QColor): #e06c75 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_17 (QColor): #e06c75 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_18 (QColor): #b18eb1 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_19 (QColor): #00aa00 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_2 (QColor): #fc7e00 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_20 (QColor): #e1e1e1 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_21 (QColor): #d5d5d5 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_22 (QColor): #81acdf EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_23 (QColor): #d19a66 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_24 (QColor): #61aeee EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_26 (QColor): #ff5500 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_29 (QColor): #ff5a5a EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_3 (QColor): #00bf00 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_30 (QColor): #c3ff82 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_4 (QColor): #00aa7f EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_5 (QColor): #e1e1e1 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_6 (QColor): #e1e1e1 EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_7 (QColor): #abb2bf EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_8 (QColor): #abb2bf EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_9 (QColor): #61aeee EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Italic_7 (QString): true EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Name (QString): Atom Dark Reasonable Custom EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Underline_0 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Underline_24 (QString): false EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Underline_26 (QString): true FileDialog/LastPath (QString): D:/Users/napple/Desktop FileDialog/LastPath-NoteHTMLExport (QString): D:/Users/napple/Desktop FileDialog/LastPath-SaveDebugInfo (QString): D:/Users/napple/Desktop IssueAssistantDialog/geometry (QByteArray): <binary data> LastUpdateCheck (QDateTime): 2022-02-03T10:19:57.599 LinkDialog/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): 新宋体,11,-1,5,50,0,0,0,0,0,常规 MainWindow/noteTextEdit.font (QString): 新宋体,11,-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): SimSun,9,-1,5,50,0,0,0,0,0 MainWindow/noteTextView.ignoreCodeFontSize (QString): true MainWindow/noteTextView.rtl (QString): false MainWindow/noteTextView.underline (QString): true MainWindow/noteTextView.useEditorStyles (QString): true MainWindow/noteTextView.useInternalExportStyling (QString): true MainWindow/showNotesFromAllNoteSubFolders (QString): true MessageBoxOverride/windows-light-mode (QString): 65536 NoteDialog/geometry (QByteArray): <binary data> NoteDialog/tabWidgetIndex (QString): 1 NoteDiffDialog/geometry (QByteArray): <binary data> NoteFolder-1/NoteTabNameList (QStringList): Algorithm, DesignPattern, Concept, DevOps NoteFolder-1/NoteTabStickinessList: empty NoteFolder-1/NoteTabSubFolderPathDataList (QStringList): , , , NoteFolder-1/allowDifferentNoteFileName (bool): true NoteFolder-3/NoteTabNameList (QString): Welcome to QOwnNotes NoteFolder-3/NoteTabStickinessList: empty NoteFolder-3/NoteTabSubFolderPathDataList (QString): empty NoteFolder-3/allowDifferentNoteFileName (QString): true NoteHistory-1 (QVariantList): <variant list with 20 item(s)> NoteHistory-3 (QVariantList): <variant list with 2 item(s)> NoteHistoryCurrentIndex-1 (QString): 19 NoteHistoryCurrentIndex-3 (QString): 1 PasswordDialog/geometry (QByteArray): <binary data> 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 UpdateDialog/geometry (QByteArray): <binary data> 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 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 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): true gitCommitInterval (QString): 30 gitExecutablePath (QString): empty gitLogCommand (QString): empty guiFirstRunInit (bool): true ignoreAllExternalModifications (QString): false ignoreAllExternalNoteFolderChanges (QString): false ignoreNoteSubFolders (QString): ^\. imageScaleDown (QString): false imageScaleDownMaximumHeight (QString): 1024 imageScaleDownMaximumWidth (QString): 1024 initialLayoutIdentifier (QString): minimal insertTimeFormat (QString): empty interfaceFontSize (QString): 11 interfaceLanguage (QString): empty internalIconTheme (QString): false itemHeight (QString): 14 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 notesPanelOrder (QString): 0 notesPanelSort (QString): 0 notesPath (QString): ../../../../../NutDisk/Program notifyAllExternalModifications (QString): true 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 (QString): false ownCloudInfo/connectionErrorMessage (QString): empty ownCloudInfo/notesPathExistsText (QString): empty ownCloudInfo/serverVersion (QString): empty recentNoteFolders (QStringList): D:/Program Files/Code/Ide/QOwnNotes/Data/Notes, D:/Program Files/Code/Ide/QOwnNotes/Data/D:/NutDisk/Program restoreCursorPosition (QString): true restoreLastNoteAtStartup (QString): true restoreNoteTabs (QString): true savedSearches/noteFolder-1 (QStringList): Note 2021-11-29T00.05.46, Note 2021-11-26T00.00.05, Note 2021-10-24T19.58.19 showMatches (QString): true showMenuBar (bool): true showStatusBar (bool): true systemIconTheme (QString): false taggingShowNotesRecursively (QString): false tagsPanelHideNoteCount (QString): true 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, actionSave_modified_notes, 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): Minimal workspace-initial/noteSubFolderDockWidgetVisible (QString): true workspace-initial/windowState (QByteArray): <binary data> workspaces (QString): initial

image

pbek commented 2 years ago

Was this the full dump? You really make it hard for me hard for me to help you...

wsrf16 commented 2 years ago

QOwnNotes Debug Information.md This is full.

wsrf16 commented 2 years ago

I had send it to you by email before.

wsrf16 commented 2 years ago

Expected behaviour

Notify about all external modifications of the current note

Actual behaviour

When I modify the markdown content externally, QOwnNotes taking crashes.(no response) I can not do anything but kill QOwnNotes.I can not reproduce every times.But it often happens.Looks like the CPU is full.

Steps to reproduce

1.Open markdown file in QOwnNotes. 2.Open the same markdown file in notepad editor. 3.Modify the markdown file in notepad editor. 4.Switch to QOwnNotes.Then QOwnNotes crashed.

Relevant log output in the Log panel

Expand ``` [11:43:56] [debug] updatePanelMenu - 'updatePanelMenu' [11:44:08] [debug] notesWereModified: "D:/NutDisk/Program/111111.md" [11:51:47] [status] Current note was modified externally [11:51:47] [debug] openNoteDiffDialog - 'changedNote': Note: 1 "111111" "111111.md" 0 "" false [11:52:11] [status] Loading external changes from: 111111.md [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'path': "D:/NutDisk/Program" [11:52:11] [debug] fileUrlInCurrentNoteFolderToRelativePath - 'canonicalFilePath': "D:/NutDisk/Program" ```

Information about the application, settings and environment

Expand QOwnNotes Debug Information =========================== ## General Info **Current Date**: `周四 2月 3 10:48:41 2022` **Version**: `22.1.12` **Build date**: `Jan 30 2022` **Build number**: `943` **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**: `D:/Program Files/Code/Ide/QOwnNotes/Data/PBE/QOwnNotes.ini` **Application database path**: `D:\Program Files\Code\Ide\QOwnNotes\Data\QOwnNotes.sqlite` **Application arguments**: `D:\Program Files\Code\Ide\QOwnNotes\QOwnNotes.exe`, `--portable` **Qt Debug**: `0` **Locale (system)**: `zh_CN` **Locale (interface)**: *empty* **Primary screen resolution**: `1280x800` **Icon theme**: `breeze-dark-qownnotes` **Notes in current note folder**: `37` **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**: `D:\Program Files\Code\Ide\QOwnNotes\Data\dicts` ## Note folders **currentNoteFolderId**: `1` ### Note folder `Program` **id**: `1` **isCurrent**: `yes` **activeTagId**: `-1` **localPath**: `D:\Program Files\Code\Ide\QOwnNotes\Data\..\..\..\..\..\NutDisk\Program` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `no` **isUseGit**: `no` **allowDifferentNoteFileName**: `yes` **activeNoteSubFolder name**: *empty* **database file**: `D:\Program Files\Code\Ide\QOwnNotes\Data\..\..\..\..\..\NutDisk\Program\notes.sqlite` ### Note folder `default` **id**: `3` **isCurrent**: `no` **activeTagId**: `0` **localPath**: `D:\Program Files\Code\Ide\QOwnNotes\Data\Notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `no` **isUseGit**: `no` **allowDifferentNoteFileName**: `yes` **activeNoteSubFolder name**: *empty* **database file**: `D:\Program Files\Code\Ide\QOwnNotes\Data\Notes\notes.sqlite` ## Cloud connections ### Cloud connection `默认` **id**: `1` **isCurrent**: `yes` **serverUrl**: *empty* **username**: *empty* **accountId**: *empty* ## Enabled scripts ## Settings **AboutDialog/geometry** (QByteArray): `` **ActiveNoteHistoryItem** (NoteHistoryItem): `` **Debug/fakeOldVersionNumber** (QString): `false` **Debug/fileLogging** (QString): `true` **DictionaryManagerDialog/geometry** (QByteArray): `` **DictionaryManagerDialog/mainSplitterState** (QByteArray): `` **DistractionFreeMode/editorWidthMode** (QString): `1` **DistractionFreeMode/isEnabled** (QString): `false` **DistractionFreeMode/menuBarGeometry** (QByteArray): `` **DistractionFreeMode/menuBarHeight** (QString): `22` **DistractionFreeMode/menuBarVisible** (QString): `true` **DistractionFreeMode/windowState** (QByteArray): `` **Editor/ColorSchemes** (QString): `EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846` **Editor/CurrentSchemaKey** (QString): `EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846` **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): `true` **Editor/useTabIndent** (QString): `false` **Editor/vimMode** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_-1** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_0** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_1** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_1000** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_1001** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_1002** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_1003** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_1004** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_1005** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_1006** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_12** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_13** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_14** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_15** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_16** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_17** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_18** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_19** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_2** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_21** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_22** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_23** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_25** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_28** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_3** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_4** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_7** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColorEnabled_8** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_-1** (QColor): `#282c34` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_0** (QColor): `#333333` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_1** (QColor): `#333333` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_1000** (QColor): `#333333` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_1001** (QColor): `#333333` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_1002** (QColor): `#333333` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_1003** (QColor): `#333333` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_1004** (QColor): `#333333` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_1005** (QColor): `#333333` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_12** (QColor): `#ebebf0` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_13** (QColor): `#ebebf0` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_14** (QColor): `#ebebf0` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_15** (QColor): `#ebebf0` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_16** (QColor): `#ebebf0` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_17** (QColor): `#ebebf0` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_18** (QColor): `#d3efff` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_19** (QColor): `#333333` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_2** (QColor): `#333333` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_21** (QColor): `#444444` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_22** (QColor): `#3e3e44` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_23** (QColor): `#333333` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_25** (QColor): `#3e3c36` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_28** (QColor): `#3e3c36` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_3** (QColor): `#e4ffe4` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_4** (QColor): `#333333` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_7** (QColor): `#9eb6ff` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/BackgroundColor_8** (QColor): `#dbf9e5` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Bold_12** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Bold_13** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Bold_14** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Bold_15** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Bold_16** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Bold_17** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Bold_8** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/FallbackSchema** (QString): `EditorColorSchema-cdbf28fc-1ddc-4d13-bb21-6a4043316a2f` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/FontSizeAdaption_12** (QString): `200` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/FontSizeAdaption_13** (QString): `170` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/FontSizeAdaption_14** (QString): `145` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/FontSizeAdaption_15** (QString): `124` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/FontSizeAdaption_16** (QString): `90` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/FontSizeAdaption_17** (QString): `90` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_-1** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_0** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_1** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_10** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_1000** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_1001** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_1002** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_1003** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_1004** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_1005** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_1006** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_11** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_12** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_13** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_14** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_15** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_16** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_17** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_18** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_19** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_2** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_20** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_21** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_22** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_23** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_24** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_26** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_29** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_3** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_30** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_4** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_5** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_6** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_7** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_8** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColorEnabled_9** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_-1** (QColor): `#abb2bf` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_0** (QColor): `#98c379` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_1** (QColor): `#fc7e00` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_10** (QColor): `#ffff00` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_1000** (QColor): `#f92672` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_1001** (QColor): `#e6db74` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_1002** (QColor): `#b18eb1` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_1003** (QColor): `#61aeee` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_1004** (QColor): `#e06c75` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_1005** (QColor): `#ae81ff` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_1006** (QColor): `#a6e22e` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_11** (QColor): `#b18eb1` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_12** (QColor): `#e06c75` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_13** (QColor): `#e06c75` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_14** (QColor): `#e06c75` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_15** (QColor): `#e06c75` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_16** (QColor): `#e06c75` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_17** (QColor): `#e06c75` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_18** (QColor): `#b18eb1` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_19** (QColor): `#00aa00` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_2** (QColor): `#fc7e00` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_20** (QColor): `#e1e1e1` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_21** (QColor): `#d5d5d5` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_22** (QColor): `#81acdf` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_23** (QColor): `#d19a66` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_24** (QColor): `#61aeee` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_26** (QColor): `#ff5500` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_29** (QColor): `#ff5a5a` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_3** (QColor): `#00bf00` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_30** (QColor): `#c3ff82` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_4** (QColor): `#00aa7f` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_5** (QColor): `#e1e1e1` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_6** (QColor): `#e1e1e1` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_7** (QColor): `#abb2bf` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_8** (QColor): `#abb2bf` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/ForegroundColor_9** (QColor): `#61aeee` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Italic_7** (QString): `true` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Name** (QString): `Atom Dark Reasonable Custom` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Underline_0** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Underline_24** (QString): `false` **EditorColorSchema-cb2cb1d3-58c5-4637-82ce-c60631cf6846/Underline_26** (QString): `true` **FileDialog/LastPath** (QString): `D:/Users/napple/Desktop` **FileDialog/LastPath-NoteHTMLExport** (QString): `D:/Users/napple/Desktop` **FileDialog/LastPath-SaveDebugInfo** (QString): `D:/Users/napple/Desktop` **IssueAssistantDialog/geometry** (QByteArray): `` **LastUpdateCheck** (QDateTime): `2022-02-03T10:19:57.599` **LinkDialog/geometry** (QByteArray): `` **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): `` **MainWindow/mainToolBar.iconSize** (QString): `24` **MainWindow/menuBarGeometry** (QByteArray): `` **MainWindow/noteTextEdit.code.font** (QString): `新宋体,11,-1,5,50,0,0,0,0,0,常规` **MainWindow/noteTextEdit.font** (QString): `新宋体,11,-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): `SimSun,9,-1,5,50,0,0,0,0,0` **MainWindow/noteTextView.ignoreCodeFontSize** (QString): `true` **MainWindow/noteTextView.rtl** (QString): `false` **MainWindow/noteTextView.underline** (QString): `true` **MainWindow/noteTextView.useEditorStyles** (QString): `true` **MainWindow/noteTextView.useInternalExportStyling** (QString): `true` **MainWindow/showNotesFromAllNoteSubFolders** (QString): `true` **MessageBoxOverride/windows-light-mode** (QString): `65536` **NoteDialog/geometry** (QByteArray): `` **NoteDialog/tabWidgetIndex** (QString): `1` **NoteDiffDialog/geometry** (QByteArray): `` **NoteFolder-1/NoteTabNameList** (QStringList): `Algorithm, DesignPattern, Concept, DevOps` **NoteFolder-1/NoteTabStickinessList**: *empty* **NoteFolder-1/NoteTabSubFolderPathDataList** (QStringList): `, , , ` **NoteFolder-1/allowDifferentNoteFileName** (bool): `true` **NoteFolder-3/NoteTabNameList** (QString): `Welcome to QOwnNotes` **NoteFolder-3/NoteTabStickinessList**: *empty* **NoteFolder-3/NoteTabSubFolderPathDataList** (QString): *empty* **NoteFolder-3/allowDifferentNoteFileName** (QString): `true` **NoteHistory-1** (QVariantList): `` **NoteHistory-3** (QVariantList): `` **NoteHistoryCurrentIndex-1** (QString): `19` **NoteHistoryCurrentIndex-3** (QString): `1` **PasswordDialog/geometry** (QByteArray): `` **PiwikClientId** (QString): `` **ScriptRepositoryDialog/mainSplitterState** (QByteArray): `` **SearchEngineId** (QString): `2` **SettingsDialog/geometry** (QByteArray): `` **SettingsDialog/mainSplitterState** (QByteArray): `` **ShowSystemTray** (QString): `false` **StartHidden** (QString): `false` **UpdateDialog/geometry** (QByteArray): `` **WelcomeDialog/geometry** (QByteArray): `` **acceptAllExternalModifications** (QString): `false` **allowNoteEditing** (bool): `true` **allowOnlyOneAppInstance** (QString): `true` **appMetrics/disableAppHeartbeat** (QString): `false` **appMetrics/disableTracking** (QString): `false` **appMetrics/notificationShown** (QString): `true` **automaticNoteFolderDatabaseClosing** (QString): `false` **checkSpelling** (bool): `false` **closeTodoListAfterSave** (QString): `false` **cryptoKey** (QString): `` **currentNoteFolderId** (QString): `1` **currentWorkspace** (QString): `initial` **cursorWidth** (QString): `1` **darkMode** (QString): `true` **darkModeColors** (QString): `true` **darkModeIconTheme** (QString): `true` **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): `true` **gitCommitInterval** (QString): `30` **gitExecutablePath** (QString): *empty* **gitLogCommand** (QString): *empty* **guiFirstRunInit** (bool): `true` **ignoreAllExternalModifications** (QString): `false` **ignoreAllExternalNoteFolderChanges** (QString): `false` **ignoreNoteSubFolders** (QString): `^\.` **imageScaleDown** (QString): `false` **imageScaleDownMaximumHeight** (QString): `1024` **imageScaleDownMaximumWidth** (QString): `1024` **initialLayoutIdentifier** (QString): `minimal` **insertTimeFormat** (QString): *empty* **interfaceFontSize** (QString): `11` **interfaceLanguage** (QString): *empty* **internalIconTheme** (QString): `false` **itemHeight** (QString): `14` **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` **notesPanelOrder** (QString): `0` **notesPanelSort** (QString): `0` **notesPath** (QString): `../../../../../NutDisk/Program` **notifyAllExternalModifications** (QString): `true` **overrideInterfaceFontSize** (QString): `false` **ownCloud/supportEnabled** (QString): `false` **ownCloud/todoCalendarBackend** (QString): `3` **ownCloud/todoCalendarCalDAVPassword** (QString): `` **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** (QString): `false` **ownCloudInfo/connectionErrorMessage** (QString): *empty* **ownCloudInfo/notesPathExistsText** (QString): *empty* **ownCloudInfo/serverVersion** (QString): *empty* **recentNoteFolders** (QStringList): `D:/Program Files/Code/Ide/QOwnNotes/Data/Notes, D:/Program Files/Code/Ide/QOwnNotes/Data/D:/NutDisk/Program` **restoreCursorPosition** (QString): `true` **restoreLastNoteAtStartup** (QString): `true` **restoreNoteTabs** (QString): `true` **savedSearches/noteFolder-1** (QStringList): `Note 2021-11-29T00.05.46, Note 2021-11-26T00.00.05, Note 2021-10-24T19.58.19` **showMatches** (QString): `true` **showMenuBar** (bool): `true` **showStatusBar** (bool): `true` **systemIconTheme** (QString): `false` **taggingShowNotesRecursively** (QString): `false` **tagsPanelHideNoteCount** (QString): `true` **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, actionSave_modified_notes, 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): `` **webSocketServerService/bookmarksNoteName** (QString): `Bookmarks` **webSocketServerService/bookmarksTag** (QString): `bookmarks` **webSocketServerService/commandSnippetsNoteName** (QString): `Commands` **webSocketServerService/commandSnippetsTag** (QString): `commands` **webSocketServerService/port** (QString): `22222` **workspace-initial/name** (QString): `Minimal` **workspace-initial/noteSubFolderDockWidgetVisible** (QString): `true` **workspace-initial/windowState** (QByteArray): `` **workspaces** (QString): `initial` ## System environment **ALLUSERSPROFILE**: `C:\ProgramData` **APPDATA**: `C:\Users\napple\AppData\Roaming` **CLASSPATH**: `.;D:\Program Files\Code\Lang\Java\jdk-11.0.11+9\lib\tools.jar;D:\Program Files\Code\Lang\Java\jdk-11.0.11+9\lib\dt.jar` **CommonProgramFiles**: `C:\Program Files\Common Files` **CommonProgramFiles(x86)**: `C:\Program Files (x86)\Common Files` **CommonProgramW6432**: `C:\Program Files\Common Files` **COMPUTERNAME**: `NAPPLE` **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` **GO111MODULE**: `on` **GOPATH**: `D:\workspace\GolandProjects` **GOPROXY**: `https://mirrors.aliyun.com/goproxy/` **GOROOT**: `D:\Program Files\Code\Lang\go` **HOMEDRIVE**: `C:` **HOMEPATH**: `\Users\napple` **JAVA_HOME**: `D:\Program Files\Code\Lang\Java\jdk-11.0.11+9` **LOCALAPPDATA**: `C:\Users\napple\AppData\Local` **LOGONSERVER**: `\\NAPPLE` **NUMBER_OF_PROCESSORS**: `8` **OneDrive**: `C:\Users\napple\OneDrive` **OS**: `Windows_NT` **Path**: `C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;D:\Program Files\Code\Lang\Java\jdk-11.0.11+9\bin;D:\Program Files\Code\Lang\Java\jdk-11.0.11+9\jre\bin;D:\Program Files\Code\Management\Git\bin;D:\Program Files\Code\Lang\Python\Scripts;C:\Users\napple\AppData\Local\Microsoft\WindowsApps;D:\Program Files\Code\Ide\ideaIU\plugins\maven\lib\maven3\bin;C:\Program Files\Tesseract-OCR;D:\Program Files\Code\Lang\go\bin;C:\Program Files\dotnet\;D:\Users\napple\Downloads\PP;C:\Users\napple\AppData\Local\Microsoft\WindowsApps;D:\Program Files\Code\Ide\MarkdownMonsterPortable` **PATHEXT**: `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC` **PROCESSOR_ARCHITECTURE**: `AMD64` **PROCESSOR_IDENTIFIER**: `Intel64 Family 6 Model 142 Stepping 10, GenuineIntel` **PROCESSOR_LEVEL**: `6` **PROCESSOR_REVISION**: `8e0a` **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\napple\AppData\Local\Temp` **TESSDATA_PREFIX**: `C:\Program Files\Tesseract-OCR\tessdata` **TMP**: `C:\Users\napple\AppData\Local\Temp` **USERDOMAIN**: `NAPPLE` **USERDOMAIN_ROAMINGPROFILE**: `NAPPLE` **USERNAME**: `napple` **USERPROFILE**: `C:\Users\napple` **windir**: `C:\WINDOWS` **QML_DISABLE_DISK_CACHE**: `true`
pbek commented 2 years ago

@Waqar144, can you reproduce that QON gets stuck when a large note (e.h. the one above) gets first edited in QON and then edited externally? I think I got that once (you don't even need the portable mode), but I was never able to get it with a debugger on to see where it got stuck...

Waqar144 commented 2 years ago

let me try

Waqar144 commented 2 years ago

Its the levenshteinDistance calculation that's slow. And I am not sure using that using that is very helpful. And its going to be really slow if note text is large.

Issue is always reproducible with a slightly big note. I tested with the note from another issue with a huge table.

pbek commented 2 years ago

Thank you for finding out! Hm, I did that for https://github.com/pbek/QOwnNotes/issues/2027 for "if the current note wasn't edited for a while, it is now possible again that it gets updated when there were small changes"...

any suggestion? turning off that feature for larger notes? the issue from #2027 is annoying.

Waqar144 commented 2 years ago

2027 says it gets lots of externally modified notifications. Two things would be needed (or one) to make a good solution

pbek commented 2 years ago

I think the main issue comes when the note file is changed externally while the note is changed in QON, but not yet stored to disk.

Waqar144 commented 2 years ago

I think the main issue comes when the note file is changed externally while the note is changed in QON, but not yet stored to disk.

If that's the case, then maybe we can just "queue" the checking for external modification after the file is saved (for auto save mode).

Regardless, that doesn't really explain many notifications coming without the user triggering any external modification

Waqar144 commented 2 years ago

Also, would be a good idea to enable debug symbols for all releases I think.

pbek commented 2 years ago

If that's the case, then maybe we can just "queue" the checking for external modification after the file is saved (for auto save mode).

might be harder if the save delay time is very high and how would that help? the data would still be different, wouldn't it?

Also, would be a good idea to enable debug symbols for all releases I think.

If you can find out how to do that on all the various build systems... 😅

Waqar144 commented 2 years ago

might be harder if the save delay time is very high and how would that help? the data would still be different, wouldn't it?

No it wouldn, in fact then checking would be pointless since we would have already overwritten whatever external modification was there, which kind of makes this approach not good.

Just adding -g would be good for linux

Waqar144 commented 2 years ago

@wsrf16 can you try increasing the auto save file interval to a larger value and see if that makes the situation better?

wsrf16 commented 2 years ago

I increase the auto save file interval to 60s.There is nothing different.

wsrf16 commented 2 years ago

crash

Steps to reproduce 1.Open markdown file in QOwnNotes. 2.Open the same markdown file in notepad editor. 3.Modify the markdown file in QON. 4.Modify the markdown file in notepad editor. 5.Switch to QOwnNotes.Then QOwnNotes crashed.

I have tried more than 2 kind of external editors. It is easy to reproduce it.

siran commented 2 years ago

on Mac: maybe it's related, but I don't modify the notes externally however, multiple times QON has detected a supposed change of a note but it's the change that I've done directly on QON I'll try @Waqar144 's suggestion of increasing autosave to 10s

Waqar144 commented 2 years ago

Steps to reproduce 1.Open markdown file in QOwnNotes. 2.Open the same markdown file in notepad editor. 3.Modify the markdown file in QON. 4.Modify the markdown file in notepad editor. 5.Switch to QOwnNotes.Then QOwnNotes crashed.

I have tried more than 2 kind of external editors. It is easy to reproduce it.

Yes, I know. The reason for this crash is lots of external modification notifications. QON tries to prevent them using levenshtein distance algorithm. On bigger notes, this takes time and hence you get the freeze.

If we fix the external modification problem, then this problem will be resolved as well.

To fix it, we need to make sure if it's QON that's triggering these or something else. For some reason, I doubt it's anything else, it doesn't make sense especially on macos.

Waqar144 commented 2 years ago

@pbek why does full note directory need to be watched instead of just the notes that are open?

If it is to update the noteTexts, we can just read the noteText from disk everytime and never store it in the DB. I can't think of any reason to store the note text in db at all. But there are a few benefits of not doing so, for e.g., faster startups

pbek commented 2 years ago

@pbek why does full note directory need to be watched instead of just the notes that are open?

because otherwise you don't know when...

this all is handled by the directory watcher and it can't tell you what actually happened, only that something has happened in the directory

pbek commented 2 years ago

I can't think of any reason to store the note text in db at all.

the in-memory database is still necessary in my opinion... I once tried an "on disk" sqlite database and it was unusable with many notes... far too slow when full-text searching for text (no index)

Waqar144 commented 2 years ago

a note was updated that isn't watched (only a limited amount of files are watched and can be watched because of inotify limitation

Exactly. And all of this can be just a reload button which reloads things and you have the new state.

Waqar144 commented 2 years ago

the in-memory database is still necessary in my opinion... I once tried an "on disk" sqlite database and it was unusable with many notes... far too slow when full-text searching for text (no index)

My point is not to remove it, it's useful of course but to not read all of the notes on startup and watch them for changes. Only the notes that are opened need to be loaded from disk.

For full text search we don't need any databases. Files on disk can be searched directly

pbek commented 2 years ago

Exactly. And all of this can be just a reload button which reloads things and you have the new state.

and how should the user know when that is needed? because if the user doesn't he/she overwrites the externally changed note

Files on disk can be searched directly

with all the variations we are using in our search? I only believe that when I see it 😁

Waqar144 commented 2 years ago

and how should the user know when that is needed? because if the user doesn't he/she overwrites the externally changed note

How indeed. I assume files on a person's computer don't magically appear or get deleted, right? Someone does it, and that someone is usually the person using the computer. That's how a user will know. And a lot of watch bugs will disappear as a bonus.

Files on disk can be searched directly

with all the variations we are using in our search? I only believe that when I see it grin

You can see it in any text editor that supports multi file search or tools like rg, grep. Our search variations are rather simple compared to grep I think.

siran commented 2 years ago

and how should the user know when that is needed? because if the user doesn't he/she overwrites the externally changed note

what if you check if a note has been modified when a user modifies that note and before QON saves it on disk?

Waqar144 commented 2 years ago

Currenlty if you have a large note database (5000 notes), opening QON would be massively slow and would consume huge amounts of memory.

Waqar144 commented 2 years ago

what if you check if a note has been modified when a user modifies that note and before QON saves it on disk?

The reason I think it happens on mac (could be wrong) could be that we wait for 100ms for the note to be stored on disk. QFileSystemWatcher notifies twice for each save IIRC, the 100ms wait is there to avoid the second event, but if for some reason the save was slower than 100ms, you will get a modified notification... In any case the 100ms solution is just arbitrary, we need something better.

Waqar144 commented 2 years ago

IMHO, a normal user wouldn't be creating folders outside QON anx testing QON's limits to if it reloads stuff correctly on every external change all the time. Taking the simpler path of manual reload is more maintainable. We have close to 25 places trying to work around directory watching...

pbek commented 2 years ago

Someone does it, and that someone is usually the person using the computer.

No, e.g. a sync client does it. And the user doesn't know...

Waqar144 commented 2 years ago

If a user is advanced enough to use a sync client then it should be possible for him to find out a sync happened and thus do a reload. For most people this sync will happen once per edit session since usually a person is using one device at a time. But sure, you can test anything's limits by editing same file in two or more devices, but I don't think that's a problem worth solving. It's not solved atm certainly and there have been countless external modification bugs. Adding more workarounds is not just fixing things but also creating new problems

pbek commented 2 years ago

I personally don't want to look and wait for a sync client or any other piece of software that might do something guess guess what is happening. I dunno...

pbek commented 2 years ago

Every other IDE is detecting changes in their project folder, so why shouldn't we? (but yes, we are loading all notes again, but e.g. the jetbrain tools are re-indexing if too much has changed)

Waqar144 commented 2 years ago

Because we are not an IDE?