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

[I] Mouse cursor randomly jumping to top of note #1672

Closed gettons closed 4 years ago

gettons commented 4 years ago

Expected behaviour

While writing a note, the visibile blinking cursor stays there and progress while writing.

Actual behaviour

While writing a note, let's say every 30 words or 2 minutes, the visibile mouse cursor automatically jumps at the top of the note (where the name is), without the user doing nothing besides from just writing.

Steps to reproduce

Open an existing note or a brand new note. Give it a name, and start writing.

Relevant log output in the Log panel

Expand ``` QOwnNotes Debug Information =========================== ## General Info **Current Date**: `Wed Apr 1 22:10:50 2020` **Version**: `20.4.1` **Build date**: `Apr 1 2020` **Build number**: `5466` **Platform**: `macosx` **Operating System**: `macOS 10.15` **Build architecture**: `x86_64` **Current architecture**: `x86_64` **Release**: `Travis CI` **Qt Version (build)**: `5.13.2` **Qt Version (runtime)**: `5.13.2` **Portable mode**: `no` **Settings path / key**: `/Users/gettons/Library/Preferences/com.pbe.QOwnNotes.plist` **Application database path**: `/Users/gettons/Library/Application Support/PBE/QOwnNotes/QOwnNotes.sqlite` **Application arguments**: `/Applications/QOwnNotes.app/Contents/MacOS/QOwnNotes` **Qt Debug**: `0` **Locale (system)**: `en_GB` **Locale (interface)**: *empty* **Primary screen resolution**: `1440x900` **Screen resolution(s)**: `1440x900, 1920x1080` **Icon theme**: `breeze-dark-qownnotes` **Notes in current note folder**: `127` **Calendar items**: `0` **Enabled scripts**: `0` ## Server Info **serverUrl**: `SUPPRESSED` **appIsValid**: `yes` **notesPathExists**: `yes` **serverVersion**: `17.0.3.1` **appVersion**: *empty* ## Spellchecking **Enabled**: `false` **Selected language**: *empty* **Language codes**: *empty* **Language names**: *empty* **Application dictionaries path**: `/Users/gettons/Library/Application Support/PBE/QOwnNotes/dicts` ## Note folders **currentNoteFolderId**: `1` ### Note folder `default` **id**: `1` **isCurrent**: `yes` **activeTagId**: `-1` **localPath**: `/Users/gettons/Nextcloud/Notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `yes` **isUseGit**: `no` **activeNoteSubFolder name**: `Suppressed` **database file**: `/Users/gettons/Nextcloud/Notes/notes.sqlite` ## Cloud connections ### Cloud connection `Default` **id**: `1` **isCurrent**: `yes` **serverUrl**: `SUPPRESSED` **username**: `SUPPRESSED` ## Enabled scripts ## Settings ** USB DISK 3/0** (QString): `1` **ADATA SE730H** (QString): `1` **AKLastCheckInAttemptDate** (QDateTime): `2019-10-07T22:07:43.760` **AKLastCheckInSuccessDate** (QDateTime): `2019-10-07T22:07:44.938` **AKLastEmailListRequestDateKey** (QDateTime): `2020-03-25T13:12:55.913` **AKLastIDMSEnvironment** (qlonglong): `0` **ASIX Elec/ Corp/ AX88179** (QString): `1` **AboutDialog/geometry** (QByteArray): `` **ActiveNoteHistoryItem** (NoteHistoryItem): `` **AttachmentDialog/geometry** (QByteArray): `` **Country** (QString): `GB` **Debug/fakeOldVersionNumber** (bool): `false` **Debug/fileLogging** (bool): `false` **Editor/CurrentSchemaKey** (QString): `EditorColorSchema-6033d61b-cb96-46d5-a3a8-20d5172017eb` **Editor/autoBracketClosing** (bool): `true` **Editor/autoBracketRemoval** (bool): `true` **Editor/disableCursorBlinking** (bool): `false` **Editor/editorWidthInDFMOnly** (bool): `true` **Editor/highlightCurrentLine** (bool): `false` **Editor/indentSize** (qlonglong): `4` **Editor/useTabIndent** (bool): `false` **Editor/vimMode** (bool): `false` **FileDialog/LastPath** (QString): `/Users/gettons/Desktop` **FileDialog/LastPath-InsertImage** (QString): `/Users/gettons/Desktop` **Generic USB Storage** (QString): `1` **HP OfficeJet 250 Mobile Series** (QString): `1` **HUAWEI LYA-L29** (QString): `1` **ImageDialog/disableCopying** (bool): `false` **ImageDialog/geometry** (QByteArray): `` **IssueAssistantDialog/geometry** (QByteArray): `` **Kingston DT2000** (QString): `1` **Kingston DataTraveler G2** (QString): `1` **LastUpdateCheck** (QDateTime): `2020-04-01T21:22:28.744` **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** (qlonglong): `32` **MainWindow/menuBarGeometry** (QByteArray): `` **MainWindow/noteSubFolderTreeWidgetExpandState-1** (QStringList): `SUPPRESSED` **MainWindow/noteTextEdit.code.font** (QString): `Monaco,10,-1,5,50,0,0,0,0,0` **MainWindow/noteTextEdit.font** (QString): `.SF NS Text,13,-1,5,50,0,0,0,0,0` **MainWindow/noteTextView.code.font** (QString): `Monaco,10,-1,5,50,0,0,0,0,0` **MainWindow/noteTextView.font** (QString): `.SF NS Text,13,-1,5,50,0,0,0,0,0` **MainWindow/noteTextView.ignoreCodeFontSize** (bool): `true` **MainWindow/noteTextView.rtl** (bool): `false` **MainWindow/noteTextView.underline** (bool): `true` **MainWindow/noteTextView.useEditorStyles** (bool): `true` **MainWindow/noteTextView.useInternalExportStyling** (bool): `true` **MainWindow/showNotesFromAllNoteSubFolders** (bool): `false` **MessageBoxOverride/move-notes** (qlonglong): `16384` **MessageBoxOverride/remove-folders** (qlonglong): `16384` **MessageBoxOverride/remove-notes** (qlonglong): `16384` **MultipleSessionEnabled** (bool): `true` **NoteFolder-1/allowDifferentNoteFileName** (bool): `true` **NoteHistory-1** (QVariantList): `` **NoteHistoryCurrentIndex-1** (qlonglong): `176` **PHD 3/0 Silicon-Power** (QString): `1` **PKSecureElementAvailableFlagsByHost** (qlonglong): `3` **PasswordDialog/geometry** (QByteArray): `` **PiwikClientId** (QString): `` **RICOH IMAGING COMPANY, LTD/ RICOH GR III** (QString): `1` **Realtek USB 10·100·1000 LAN** (QString): `1` **SMI Corporation USB DISK** (QString): `1` **SearchEngineId** (qlonglong): `2` **SettingsDialog/geometry** (QByteArray): `` **SettingsDialog/mainSplitterState** (QByteArray): `` **ShareDialog/geometry** (QByteArray): `` **ShowSystemTray** (bool): `false` **Sony DSC-RX100M6** (QString): `1` **Sony USB Bus-powered Device** (QString): `1` **StartHidden** (bool): `false` **UFD 3/0 Silicon-Power16G** (QString): `1` **USB Storage USB Storage** (QString): `1` **UpdateDialog/geometry** (QByteArray): `` **VIA Labs, Inc/ USB Billboard Device** (QString): `1` **VIA Technologies Inc/ USB 2/0 BILLBOARD** (QString): `1` **VersionDialog/geometry** (QByteArray): `` **WelcomeDialog/geometry** (QByteArray): `` **acceptAllExternalModifications** (bool): `true` **allowNoteEditing** (bool): `true` **allowOnlyOneAppInstance** (bool): `false` **appMetrics/disableAppHeartbeat** (bool): `false` **appMetrics/disableTracking** (bool): `true` **appMetrics/notificationShown** (bool): `true` **automaticNoteFolderDatabaseClosing** (bool): `false` **checkSpelling** (bool): `false` **closeTodoListAfterSave** (bool): `false` **cryptoKey** (qlonglong): `` **currentNoteFolderId** (qlonglong): `1` **currentWorkspace** (QString): `initial` **cursorWidth** (qlonglong): `1` **customNoteFileExtensionList** (QStringList): *empty* **darkMode** (bool): `false` **darkModeColors** (bool): `false` **darkModeIconTheme** (bool): `true` **darkModeTrayIcon** (bool): `false` **defaultNoteFileExtension** (QString): `md` **demoNotesCreated** (bool): `true` **disableAutomaticUpdateDialog** (bool): `false` **disableSavedSearchesAutoCompletion** (bool): `false` **dockWasInitializedOnce** (bool): `true` **enableNoteTree** (bool): `false` **enableSocketServer** (bool): `true` **externalEditorPath** (QString): *empty* **fullyHighlightedBlockquotes** (bool): `false` **gitCommitInterval** (qlonglong): `30` **gitExecutablePath** (QString): *empty* **gitLogCommand** (QString): *empty* **guiFirstRunInit** (bool): `true` **ignoreAllExternalModifications** (bool): `false` **ignoreAllExternalNoteFolderChanges** (bool): `false` **ignoreNoteSubFolders** (QString): `^\.` **imageScaleDown** (bool): `false` **imageScaleDownMaximumHeight** (qlonglong): `1024` **imageScaleDownMaximumWidth** (qlonglong): `1024` **initialLayoutIdentifier** (QString): `full` **insertTimeFormat** (QString): *empty* **interfaceFontSize** (qlonglong): `11` **interfaceLanguage** (QString): *empty* **internalIconTheme** (bool): `false` **itemHeight** (qlonglong): `18` **legacyLinking** (bool): `false` **localTrash/autoCleanupDays** (qlonglong): `30` **localTrash/autoCleanupEnabled** (bool): `true` **localTrash/supportEnabled** (bool): `true` **markdownHighlightingEnabled** (bool): `true` **navigationPanelHideSearch** (bool): `false` **networking/ignoreSSLErrors** (bool): `false` **networking/proxyType** (qlonglong): `2` **newNoteAskHeadline** (bool): `false` **noteEditIsCentralWidget** (bool): `true` **noteListPreview** (bool): `false` **noteSaveIntervalTime** (qlonglong): `10` **noteSubfoldersPanelDisplayAsFullTree** (bool): `true` **noteSubfoldersPanelHideSearch** (bool): `false` **noteSubfoldersPanelOrder** (qlonglong): `0` **noteSubfoldersPanelShowFullPath** (bool): `false` **noteSubfoldersPanelShowNotesRecursively** (bool): `false` **noteSubfoldersPanelShowRootFolderName** (bool): `true` **noteSubfoldersPanelSort** (qlonglong): `0` **notesPanelOrder** (qlonglong): `0` **notesPanelSort** (qlonglong): `1` **notesPath** (QString): `/Users/gettons/Nextcloud/Notes` **notifyAllExternalModifications** (bool): `false` **overrideInterfaceFontSize** (bool): `false` **ownCloud/supportEnabled** (bool): `true` **ownCloud/todoCalendarBackend** (qlonglong): `3` **ownCloud/todoCalendarCalDAVPassword** (QString): `` **ownCloud/todoCalendarCalDAVServerUrl** (QString): *empty* **ownCloud/todoCalendarCalDAVUsername** (QString): *empty* **ownCloud/todoCalendarCloudConnectionId** (qlonglong): `1` **ownCloud/todoCalendarDisplayNameList** (QStringList): *empty* **ownCloud/todoCalendarEnabledList** (QStringList): *empty* **ownCloud/todoCalendarEnabledUrlList** (QStringList): *empty* **ownCloud/todoCalendarUrlList** (QStringList): *empty* **ownCloudInfo/appIsValid** (bool): `true` **ownCloudInfo/connectionErrorMessage** (QString): `Unknown error` **ownCloudInfo/notesPathExistsText** (QString): `yes` **ownCloudInfo/serverVersion** (QString): `17.0.3.1` **restoreCursorPosition** (bool): `false` **restoreLastNoteAtStartup** (bool): `true` **savedSearches/noteFolder-1** (QStringList): `Note 2020-04-01T18.55.19, Note 2020-03-31T20.04.02, Note 2020-03-30T20.47.10, Note 2020-03-09T23.08.22, Note 2020-03-05T18.38.55, Note 2020-03-04T21.06.09, Note 2020-02-24T21.15.24, Note 2020-02-17T23.44.06, Note 2020-02-16T16.08.49, Note 2020-02-11T23.33.15, Note 2020-02-11T23.30.15, Note 2020-02-03T21.52.37, Note 2020-01-27T22.27.49, Note 2019-10-22T23.13.22, Note 2019-10-20T10.41.23, Note 2019-10-16T21.09.46, Note 2019-10-15T00.36.03, Note 2019-10-10T23.52.49, Note 2019-10-10T21.39.55, Note 2019-10-10T21.39.38, Note 2019-10-03T22.34.22, Note 2019-10-02T20.41.28, Note 2019-09-24T21.57.07, Note 2019-09-23T21.01.45, Note 2019-07-20T02.37.09, Note 2019-07-18T21.58.01, Note 2019-07-16T22.20.49, Note 2019-07-01T20.42.59, Note 2019-07-01T20.34.55, Note 2019-07-01T20.25.10, Note 2019-06-06T21.19.46, Note 2019-04-11T09.07.22, Note 2019-04-10T09.10.53, Note 2019-04-09T10.41.39, Note 2019-04-08T08.52.03, Note 2019-03-29T00.48.18, Note 2019-03-28T21.13.51, Note 2019-03-26T19.51.58, Note 2019-03-17T18.22.20, Note 2019-03-12T12.14.56, Note 2019-03-04T21.24.50, Note 2019-02-15T22.06.00, Note 2019-02-14T21.52.18, Note 2019-02-10T02.11.47, Note 2019-02-05T01.14.36, GitHub - qownnotes web-companion Browser extension to create notes in QOwnNotes, Note 2018-12-18T02.12.07, Note 2018-12-11T21.07.37` **showMatches** (bool): `true` **showMenuBar** (bool): `false` **showStatusBar** (bool): `true` **systemIconTheme** (bool): `false` **taggingShowNotesRecursively** (bool): `false` **tagsPanelHideSearch** (bool): `false` **tagsPanelOrder** (qlonglong): `0` **tagsPanelSort** (qlonglong): `0` **todoCalendarSupport** (bool): `true` **toolbar/1/items** (QStringList): `action_New_note, action_Find_note, action_Remove_note, action_Open_note_in_external_editor, actionShow_local_trash, actionAllow_note_editing, , action_Back_in_note_history, action_Forward_in_note_history, , action_Find_text_in_note, actionReplace_in_current_note, , actionShow_versions, actionShow_trash, actionShare_note, , actionOpen_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_Link_to_note, actionInsert_image, actionInsert_current_time` **toolbar/3/name** (QString): `insertingToolbar` **toolbar/3/title** (QString): `inserting toolbar` **toolbar/4/items** (QStringList): `action_Encrypt_note, actionEdit_encrypted_note, actionDecrypt_note` **toolbar/4/name** (QString): `encryptionToolbar` **toolbar/4/title** (QString): `encryption toolbar` **toolbar/5/items** (QStringList): `actionWorkspaceComboBox, actionStore_as_new_workspace, actionRemove_current_workspace, actionRename_current_workspace, actionSwitch_to_previous_workspace, actionUnlock_panels, , actionToggle_distraction_free_mode, action_Increase_note_text_size, action_Decrease_note_text_size, action_Reset_note_text_size` **toolbar/5/name** (QString): `windowToolbar` **toolbar/5/title** (QString): `window toolbar` **toolbar/6/items** (QStringList): `action_Quit` **toolbar/6/name** (QString): `quitToolbar` **toolbar/6/title** (QString): `quit toolbar` **toolbar/size** (qlonglong): `6` **useUNIXNewline** (bool): `false` **versionSplitterSizes** (QByteArray): `` **webSocketServerService/bookmarksNoteName** (QString): `Bookmarks` **webSocketServerService/bookmarksTag** (QString): `bookmarks` **webSocketServerService/port** (qlonglong): `22222` **workspace-initial/name** (QString): `Full` **workspace-initial/noteSubFolderDockWidgetVisible** (bool): `true` **workspace-initial/windowState** (QByteArray): `` **workspaces** (QStringList): `initial` ## System environment **USER**: `gettons` **PATH**: `/usr/bin:/bin:/usr/sbin:/sbin` **LOGNAME**: `gettons` **SSH_AUTH_SOCK**: `/private/tmp/com.apple.launchd.11fSDBKpqh/Listeners` **HOME**: `/Users/gettons` **SHELL**: `/bin/bash` **__CF_USER_TEXT_ENCODING**: `0x1F5:0:2` **TMPDIR**: `/var/folders/0s/5xnwr83d3fv_nth7ccjhf0qr0000gn/T/` **XPC_SERVICE_NAME**: `com.PBE.QOwnNotes.3868` **XPC_FLAGS**: `0x0` **QT_LOGGING_RULES**: `qt.network.ssl.warning=false` ```

Information about the application, settings and environment

Expand QOwnNotes Debug Information =========================== ## General Info **Current Date**: `Wed Apr 1 22:13:44 2020` **Version**: `20.4.1` **Build date**: `Apr 1 2020` **Build number**: `5466` **Platform**: `macosx` **Operating System**: `macOS 10.15` **Build architecture**: `x86_64` **Current architecture**: `x86_64` **Release**: `Travis CI` **Qt Version (build)**: `5.13.2` **Qt Version (runtime)**: `5.13.2` **Portable mode**: `no` **Settings path / key**: `/Users/gettons/Library/Preferences/com.pbe.QOwnNotes.plist` **Application database path**: `/Users/gettons/Library/Application Support/PBE/QOwnNotes/QOwnNotes.sqlite` **Application arguments**: `/Applications/QOwnNotes.app/Contents/MacOS/QOwnNotes` **Qt Debug**: `0` **Locale (system)**: `en_GB` **Locale (interface)**: *empty* **Primary screen resolution**: `1440x900` **Screen resolution(s)**: `1440x900, 1920x1080` **Icon theme**: `breeze-dark-qownnotes` **Notes in current note folder**: `127` **Calendar items**: `0` **Enabled scripts**: `0` ## Server Info **serverUrl**: `SUPPRESSED` **appIsValid**: `yes` **notesPathExists**: `yes` **serverVersion**: `17.0.3.1` **appVersion**: *empty* ## Spellchecking **Enabled**: `false` **Selected language**: *empty* **Language codes**: *empty* **Language names**: *empty* **Application dictionaries path**: `/Users/gettons/Library/Application Support/PBE/QOwnNotes/dicts` ## Note folders **currentNoteFolderId**: `1` ### Note folder `default` **id**: `1` **isCurrent**: `yes` **activeTagId**: `-1` **localPath**: `/Users/gettons/Nextcloud/Notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `yes` **isUseGit**: `no` **activeNoteSubFolder name**: `Security Specialty` **database file**: `/Users/gettons/Nextcloud/Notes/notes.sqlite` ## Cloud connections ### Cloud connection `Default` **id**: `1` **isCurrent**: `yes` **serverUrl**: `suppressed` **username**: `gettons_basic_user` ## Enabled scripts ## Settings ** USB DISK 3/0** (QString): `1` **ADATA SE730H** (QString): `1` **AKLastCheckInAttemptDate** (QDateTime): `2019-10-07T22:07:43.760` **AKLastCheckInSuccessDate** (QDateTime): `2019-10-07T22:07:44.938` **AKLastEmailListRequestDateKey** (QDateTime): `2020-03-25T13:12:55.913` **AKLastIDMSEnvironment** (qlonglong): `0` **ASIX Elec/ Corp/ AX88179** (QString): `1` **AboutDialog/geometry** (QByteArray): `` **ActiveNoteHistoryItem** (NoteHistoryItem): `` **AttachmentDialog/geometry** (QByteArray): `` **Country** (QString): `GB` **Debug/fakeOldVersionNumber** (bool): `false` **Debug/fileLogging** (bool): `false` **Editor/CurrentSchemaKey** (QString): `EditorColorSchema-6033d61b-cb96-46d5-a3a8-20d5172017eb` **Editor/autoBracketClosing** (bool): `true` **Editor/autoBracketRemoval** (bool): `true` **Editor/disableCursorBlinking** (bool): `false` **Editor/editorWidthInDFMOnly** (bool): `true` **Editor/highlightCurrentLine** (bool): `false` **Editor/indentSize** (qlonglong): `4` **Editor/useTabIndent** (bool): `false` **Editor/vimMode** (bool): `false` **FileDialog/LastPath** (QString): `/Users/gettons/Desktop` **FileDialog/LastPath-InsertImage** (QString): `/Users/gettons/Desktop` **Generic USB Storage** (QString): `1` **HP OfficeJet 250 Mobile Series** (QString): `1` **HUAWEI LYA-L29** (QString): `1` **ImageDialog/disableCopying** (bool): `false` **ImageDialog/geometry** (QByteArray): `` **IssueAssistantDialog/geometry** (QByteArray): `` **Kingston DT2000** (QString): `1` **Kingston DataTraveler G2** (QString): `1` **LastUpdateCheck** (QDateTime): `2020-04-01T21:22:28.744` **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** (qlonglong): `32` **MainWindow/menuBarGeometry** (QByteArray): `` **MainWindow/noteSubFolderTreeWidgetExpandState-1** (QStringList): `suppressed` **MainWindow/noteTextEdit.code.font** (QString): `Monaco,10,-1,5,50,0,0,0,0,0` **MainWindow/noteTextEdit.font** (QString): `.SF NS Text,13,-1,5,50,0,0,0,0,0` **MainWindow/noteTextView.code.font** (QString): `Monaco,10,-1,5,50,0,0,0,0,0` **MainWindow/noteTextView.font** (QString): `.SF NS Text,13,-1,5,50,0,0,0,0,0` **MainWindow/noteTextView.ignoreCodeFontSize** (bool): `true` **MainWindow/noteTextView.rtl** (bool): `false` **MainWindow/noteTextView.underline** (bool): `true` **MainWindow/noteTextView.useEditorStyles** (bool): `true` **MainWindow/noteTextView.useInternalExportStyling** (bool): `true` **MainWindow/showNotesFromAllNoteSubFolders** (bool): `false` **MessageBoxOverride/move-notes** (qlonglong): `16384` **MessageBoxOverride/remove-folders** (qlonglong): `16384` **MessageBoxOverride/remove-notes** (qlonglong): `16384` **MultipleSessionEnabled** (bool): `true` **NoteFolder-1/allowDifferentNoteFileName** (bool): `true` **NoteHistory-1** (QVariantList): `` **NoteHistoryCurrentIndex-1** (qlonglong): `176` **PHD 3/0 Silicon-Power** (QString): `1` **PKSecureElementAvailableFlagsByHost** (qlonglong): `3` **PasswordDialog/geometry** (QByteArray): `` **PiwikClientId** (QString): `` **RICOH IMAGING COMPANY, LTD/ RICOH GR III** (QString): `1` **Realtek USB 10·100·1000 LAN** (QString): `1` **SMI Corporation USB DISK** (QString): `1` **SearchEngineId** (qlonglong): `2` **SettingsDialog/geometry** (QByteArray): `` **SettingsDialog/mainSplitterState** (QByteArray): `` **ShareDialog/geometry** (QByteArray): `` **ShowSystemTray** (bool): `false` **Sony DSC-RX100M6** (QString): `1` **Sony USB Bus-powered Device** (QString): `1` **StartHidden** (bool): `false` **UFD 3/0 Silicon-Power16G** (QString): `1` **USB Storage USB Storage** (QString): `1` **UpdateDialog/geometry** (QByteArray): `` **VIA Labs, Inc/ USB Billboard Device** (QString): `1` **VIA Technologies Inc/ USB 2/0 BILLBOARD** (QString): `1` **VersionDialog/geometry** (QByteArray): `` **WelcomeDialog/geometry** (QByteArray): `` **acceptAllExternalModifications** (bool): `true` **allowNoteEditing** (bool): `true` **allowOnlyOneAppInstance** (bool): `false` **appMetrics/disableAppHeartbeat** (bool): `false` **appMetrics/disableTracking** (bool): `true` **appMetrics/notificationShown** (bool): `true` **automaticNoteFolderDatabaseClosing** (bool): `false` **checkSpelling** (bool): `false` **closeTodoListAfterSave** (bool): `false` **cryptoKey** (qlonglong): `` **currentNoteFolderId** (qlonglong): `1` **currentWorkspace** (QString): `initial` **cursorWidth** (qlonglong): `1` **customNoteFileExtensionList** (QStringList): *empty* **darkMode** (bool): `false` **darkModeColors** (bool): `false` **darkModeIconTheme** (bool): `true` **darkModeTrayIcon** (bool): `false` **defaultNoteFileExtension** (QString): `md` **demoNotesCreated** (bool): `true` **disableAutomaticUpdateDialog** (bool): `false` **disableSavedSearchesAutoCompletion** (bool): `false` **dockWasInitializedOnce** (bool): `true` **enableNoteTree** (bool): `false` **enableSocketServer** (bool): `true` **externalEditorPath** (QString): *empty* **fullyHighlightedBlockquotes** (bool): `false` **gitCommitInterval** (qlonglong): `30` **gitExecutablePath** (QString): *empty* **gitLogCommand** (QString): *empty* **guiFirstRunInit** (bool): `true` **ignoreAllExternalModifications** (bool): `false` **ignoreAllExternalNoteFolderChanges** (bool): `false` **ignoreNoteSubFolders** (QString): `^\.` **imageScaleDown** (bool): `false` **imageScaleDownMaximumHeight** (qlonglong): `1024` **imageScaleDownMaximumWidth** (qlonglong): `1024` **initialLayoutIdentifier** (QString): `full` **insertTimeFormat** (QString): *empty* **interfaceFontSize** (qlonglong): `11` **interfaceLanguage** (QString): *empty* **internalIconTheme** (bool): `false` **itemHeight** (qlonglong): `18` **legacyLinking** (bool): `false` **localTrash/autoCleanupDays** (qlonglong): `30` **localTrash/autoCleanupEnabled** (bool): `true` **localTrash/supportEnabled** (bool): `true` **markdownHighlightingEnabled** (bool): `true` **navigationPanelHideSearch** (bool): `false` **networking/ignoreSSLErrors** (bool): `false` **networking/proxyType** (qlonglong): `2` **newNoteAskHeadline** (bool): `false` **noteEditIsCentralWidget** (bool): `true` **noteListPreview** (bool): `false` **noteSaveIntervalTime** (qlonglong): `10` **noteSubfoldersPanelDisplayAsFullTree** (bool): `true` **noteSubfoldersPanelHideSearch** (bool): `false` **noteSubfoldersPanelOrder** (qlonglong): `0` **noteSubfoldersPanelShowFullPath** (bool): `false` **noteSubfoldersPanelShowNotesRecursively** (bool): `false` **noteSubfoldersPanelShowRootFolderName** (bool): `true` **noteSubfoldersPanelSort** (qlonglong): `0` **notesPanelOrder** (qlonglong): `0` **notesPanelSort** (qlonglong): `1` **notesPath** (QString): `/Users/gettons/Nextcloud/Notes` **notifyAllExternalModifications** (bool): `false` **overrideInterfaceFontSize** (bool): `false` **ownCloud/supportEnabled** (bool): `true` **ownCloud/todoCalendarBackend** (qlonglong): `3` **ownCloud/todoCalendarCalDAVPassword** (QString): `` **ownCloud/todoCalendarCalDAVServerUrl** (QString): *empty* **ownCloud/todoCalendarCalDAVUsername** (QString): *empty* **ownCloud/todoCalendarCloudConnectionId** (qlonglong): `1` **ownCloud/todoCalendarDisplayNameList** (QStringList): *empty* **ownCloud/todoCalendarEnabledList** (QStringList): *empty* **ownCloud/todoCalendarEnabledUrlList** (QStringList): *empty* **ownCloud/todoCalendarUrlList** (QStringList): *empty* **ownCloudInfo/appIsValid** (bool): `true` **ownCloudInfo/connectionErrorMessage** (QString): `Unknown error` **ownCloudInfo/notesPathExistsText** (QString): `yes` **ownCloudInfo/serverVersion** (QString): `17.0.3.1` **restoreCursorPosition** (bool): `false` **restoreLastNoteAtStartup** (bool): `true` **savedSearches/noteFolder-1** (QStringList): `Note 2020-04-01T18.55.19, Note 2020-03-31T20.04.02, Note 2020-03-30T20.47.10, Note 2020-03-09T23.08.22, Note 2020-03-05T18.38.55, Note 2020-03-04T21.06.09, Note 2020-02-24T21.15.24, Note 2020-02-17T23.44.06, Note 2020-02-16T16.08.49, Note 2020-02-11T23.33.15, Note 2020-02-11T23.30.15, Note 2020-02-03T21.52.37, Note 2020-01-27T22.27.49, Note 2019-10-22T23.13.22, Note 2019-10-20T10.41.23, Note 2019-10-16T21.09.46, Note 2019-10-15T00.36.03, Note 2019-10-10T23.52.49, Note 2019-10-10T21.39.55, Note 2019-10-10T21.39.38, Note 2019-10-03T22.34.22, Note 2019-10-02T20.41.28, Note 2019-09-24T21.57.07, Note 2019-09-23T21.01.45, Note 2019-07-20T02.37.09, Note 2019-07-18T21.58.01, Note 2019-07-16T22.20.49, Note 2019-07-01T20.42.59, Note 2019-07-01T20.34.55, Note 2019-07-01T20.25.10, Note 2019-06-06T21.19.46, Note 2019-04-11T09.07.22, Note 2019-04-10T09.10.53, Note 2019-04-09T10.41.39, Note 2019-04-08T08.52.03, Note 2019-03-29T00.48.18, Note 2019-03-28T21.13.51, Note 2019-03-26T19.51.58, Note 2019-03-17T18.22.20, Note 2019-03-12T12.14.56, Note 2019-03-04T21.24.50, Note 2019-02-15T22.06.00, Note 2019-02-14T21.52.18, Note 2019-02-10T02.11.47, Note 2019-02-05T01.14.36, GitHub - qownnotes web-companion Browser extension to create notes in QOwnNotes, Note 2018-12-18T02.12.07, Note 2018-12-11T21.07.37` **showMatches** (bool): `true` **showMenuBar** (bool): `false` **showStatusBar** (bool): `true` **systemIconTheme** (bool): `false` **taggingShowNotesRecursively** (bool): `false` **tagsPanelHideSearch** (bool): `false` **tagsPanelOrder** (qlonglong): `0` **tagsPanelSort** (qlonglong): `0` **todoCalendarSupport** (bool): `true` **toolbar/1/items** (QStringList): `action_New_note, action_Find_note, action_Remove_note, action_Open_note_in_external_editor, actionShow_local_trash, actionAllow_note_editing, , action_Back_in_note_history, action_Forward_in_note_history, , action_Find_text_in_note, actionReplace_in_current_note, , actionShow_versions, actionShow_trash, actionShare_note, , actionOpen_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_Link_to_note, actionInsert_image, actionInsert_current_time` **toolbar/3/name** (QString): `insertingToolbar` **toolbar/3/title** (QString): `inserting toolbar` **toolbar/4/items** (QStringList): `action_Encrypt_note, actionEdit_encrypted_note, actionDecrypt_note` **toolbar/4/name** (QString): `encryptionToolbar` **toolbar/4/title** (QString): `encryption toolbar` **toolbar/5/items** (QStringList): `actionWorkspaceComboBox, actionStore_as_new_workspace, actionRemove_current_workspace, actionRename_current_workspace, actionSwitch_to_previous_workspace, actionUnlock_panels, , actionToggle_distraction_free_mode, action_Increase_note_text_size, action_Decrease_note_text_size, action_Reset_note_text_size` **toolbar/5/name** (QString): `windowToolbar` **toolbar/5/title** (QString): `window toolbar` **toolbar/6/items** (QStringList): `action_Quit` **toolbar/6/name** (QString): `quitToolbar` **toolbar/6/title** (QString): `quit toolbar` **toolbar/size** (qlonglong): `6` **useUNIXNewline** (bool): `false` **versionSplitterSizes** (QByteArray): `` **webSocketServerService/bookmarksNoteName** (QString): `Bookmarks` **webSocketServerService/bookmarksTag** (QString): `bookmarks` **webSocketServerService/port** (qlonglong): `22222` **workspace-initial/name** (QString): `Full` **workspace-initial/noteSubFolderDockWidgetVisible** (bool): `true` **workspace-initial/windowState** (QByteArray): `` **workspaces** (QStringList): `initial` ## System environment **USER**: `gettons` **PATH**: `/usr/bin:/bin:/usr/sbin:/sbin` **LOGNAME**: `gettons` **SSH_AUTH_SOCK**: `/private/tmp/com.apple.launchd.11fSDBKpqh/Listeners` **HOME**: `/Users/gettons` **SHELL**: `/bin/bash` **__CF_USER_TEXT_ENCODING**: `0x1F5:0:2` **TMPDIR**: `/var/folders/0s/5xnwr83d3fv_nth7ccjhf0qr0000gn/T/` **XPC_SERVICE_NAME**: `com.PBE.QOwnNotes.3868` **XPC_FLAGS**: `0x0` **QT_LOGGING_RULES**: `qt.network.ssl.warning=false`
pbek commented 4 years ago

Please check #689 or similar. If nothing helps you can also turn off restoring of the cursor in the General settings

pbek commented 4 years ago

20.4.4

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

gettons commented 4 years ago

Hi there,

I can confirm that by turning off "Restore curson position when opening a note" the issue disappeared. I am going to try 20.4.4 with the option "Restore curson position when opening a note" back in, and report shortly about the outcome.

pbek commented 4 years ago

Thank you very much!

gettons commented 4 years ago

So, I tested against 20.4.5 and without "Restore curson position when opening a note" enabled, but unfortunately I have encountered the same issue.

pbek commented 4 years ago

Thank you for testing!

jjisnow commented 3 years ago

I know that this is a closed issue, but I thought it would be helpful to share some findings:

  1. Running a windows QownNotes and having a Nextcloud server, the Nextcloud client keeps trying to sync between 2 copies of the same file. Leaving Settings - General - "Notify about all external modifications of the current note" ticked, it shows a "space" at the end of each line constantly getting corrected. I think this must be the Unix vs Windows newlines getting constantly fixed.
  2. Settings - General - "Use UNIX newline instead of native newline characters" seems to minimise the excess number of changes that occur and hence the constant need to refresh the local copy and interrupt the note you might be editing.
  3. There still seems to be some race condition (is that the right term?)between where the Nextcloud Client syncs the latest copy and QownNotes writes it's latest copy which causes QownNotes to think that the Nextcloud Client copy has modified the current note more recently and pop up notifications about the note being modified outside of the application. There should be some allowance to remove these interruptions whilst editing a note, without ignoring completely changes that are made outside of QownNotes. I'm not sure how interacting with Nextcloud goes, but it would seem like all Collab Platforms would need to solve this kind of problem.
pbek commented 3 years ago

Thank you for sharing your findings.