pbek / QOwnNotes

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

[BUG] Cursor Resets in Preview Window after Tab + Enter #3000

Open pokeypen7 opened 5 months ago

pokeypen7 commented 5 months ago

Expected behaviour

Output from the debug section in the settings dialog

Expand QOwnNotes Debug Information =========================== ## General Info **Current Date**: `Sun Apr 7 13:33:11 2024` **Version**: `24.4.0` **Build date**: `Apr 2 2024` **Build number**: `1090` **Platform**: `windows (windows)` **Operating System**: `Windows 10 Version 2009` **Build architecture**: `x86_64` **Current architecture**: `x86_64` **Release**: `GitHub Actions` **Qt Version (build)**: `5.15.2` **Qt Version (runtime)**: `5.15.2` **Portable mode**: `no` **Settings path / key**: `\HKEY_CURRENT_USER\Software\PBE\QOwnNotes` **Application database path**: `C:\Users\nicks PC\AppData\Roaming\PBE\QOwnNotes\QOwnNotes.sqlite` **Application arguments**: `C:\Program Files\QOwnNotes\QOwnNotes.exe` **Qt Debug**: `0` **Locale (system)**: `en_US` **Locale (interface)**: *empty* **Primary screen resolution**: `1920x1080` **Icon theme**: `breeze-dark-qownnotes` **Notes in current note folder**: `9` **Calendar items**: `0` **Enabled scripts**: `3` **Database drivers**: `QSQLITE, QODBC, QODBC3, QPSQL, QPSQL7` ## Server Info **serverUrl**: `https://nextcloud.pokeypen7.us` **appIsValid**: `yes` **notesPathExists**: `yes` **serverVersion**: `27.1.7.2` **appVersion**: *empty* ## Spellchecking **Enabled**: `false` **Selected language**: *empty* **Language codes**: *empty* **Language names**: *empty* **Application dictionaries path**: `C:\Users\nicks PC\AppData\Roaming\PBE\QOwnNotes\dicts` ## Note folders **currentNoteFolderId**: `1` ### Note folder `default` **id**: `1` **isCurrent**: `yes` **activeTagId**: `0` **localPath**: `C:\Users\nicks PC\Nextcloud\Notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `yes` **isUseGit**: `yes` **allowDifferentNoteFileName**: `no` **activeNoteSubFolder name**: *empty* **database file**: `C:\Users\nicks PC\Nextcloud\Notes\notes.sqlite` ## Cloud connections ### Cloud connection `Default` **id**: `1` **isCurrent**: `yes` **serverUrl**: `https://nextcloud.pokeypen7.us` **username**: `pokeypen7@gmail.com` **accountId**: `pokeypen7@gmail.com` ## Enabled scripts ### Script `Black mode` **id**: `1` **path**: `C:\Users\nicks PC\AppData\Roaming\PBE\QOwnNotes\scripts\black-mode\black-mode.qml` **variablesJson**: ``` { "customStylesheet": "" } ``` **identifier**: `black-mode` **version**: `0.0.1` **minAppVersion**: `17.05.7` ### Script `Unique note id` **id**: `2` **path**: `C:\Users\nicks PC\AppData\Roaming\PBE\QOwnNotes\scripts\unique-note-id\unique-note-id.qml` **variablesJson**: *empty* **identifier**: `unique-note-id` **version**: `1.0.1` **minAppVersion**: `18.05.1` ### Script `Vivaldi Notes` **id**: `3` **path**: `C:\Users\nicks PC\AppData\Roaming\PBE\QOwnNotes\scripts\vivaldi-notes\vivaldi-notes.qml` **variablesJson**: *empty* **identifier**: `vivaldi-notes` **version**: `0.0.4` **minAppVersion**: `20.11.0` ## Settings **ActiveNoteHistoryItem** (NoteHistoryItem): `` **AttachmentDialog/geometry** (QByteArray): `` **CloudConnection-1/nextcloudDeckEnabled** (QString): `false` **Debug/fakeOldVersionNumber** (QString): `false` **Debug/fileLogging** (QString): `false` **Editor/CurrentSchemaKey** (QString): `EditorColorSchema-cdbf28fc-1ddc-4d13-bb21-6a4043316a2f` **Editor/autoBracketClosing** (QString): `true` **Editor/autoBracketRemoval** (QString): `true` **Editor/disableCursorBlinking** (QString): `false` **Editor/editorWidthInDFMOnly** (QString): `true` **Editor/highlightCurrentLine** (QString): `true` **Editor/indentSize** (int): `4` **Editor/removeTrailingSpaces** (QString): `false` **Editor/showLineNumbers** (QString): `true` **Editor/useTabIndent** (QString): `false` **Editor/vimMode** (QString): `true` **FileDialog/LastPath** (QString): `C:/Program Files/Git` **FileDialog/LastPath-GitExecutable** (QString): `C:/Program Files/Git` **ImageDialog/disableCopying** (QString): `false` **ImageDialog/geometry** (QByteArray): `` **LastUpdateCheck** (QDateTime): `2024-04-07T13:32:00.005` **LinkDialog/geometry** (QByteArray): `` **MainWindow/geometry** (QByteArray): `` **MainWindow/mainToolBar.iconSize** (int): `30` **MainWindow/menuBarGeometry** (QByteArray): `` **MainWindow/noteTextEdit.code.font** (QString): `Courier New,19,-1,2,50,0,0,0,0,0` **MainWindow/noteTextEdit.font** (QString): `MS Shell Dlg 2,19,-1,5,50,0,0,0,0,0` **MainWindow/noteTextView.code.font** (QString): `Courier New,9,-1,2,50,0,0,0,0,0` **MainWindow/noteTextView.font** (QString): `MS Shell Dlg 2,7.8,-1,5,50,0,0,0,0,0` **MainWindow/noteTextView.ignoreCodeFontSize** (QString): `true` **MainWindow/noteTextView.refreshDebounceTime** (int): `600` **MainWindow/noteTextView.rtl** (QString): `false` **MainWindow/noteTextView.underline** (QString): `true` **MainWindow/noteTextView.useEditorStyles** (QString): `true` **MainWindow/noteTextView.useInternalExportStyling** (QString): `true` **MainWindow/showNotesFromAllNoteSubFolders** (QString): `false` **NoteFolder-1/NoteTabNameList** (QStringList): `Cast Iron Skillets` **NoteFolder-1/NoteTabStickinessList** (QStringList): *empty* **NoteFolder-1/NoteTabSubFolderPathDataList** (QStringList): *empty* **NoteHistory-1** (QVariantList): `` **NoteHistoryCurrentIndex-1** (int): `28` **PiwikClientId** (QString): `` **ScriptRepositoryDialog/geometry** (QByteArray): `` **ScriptRepositoryDialog/mainSplitterState** (QByteArray): `` **SearchEngineId** (int): `0` **SettingsDialog/geometry** (QByteArray): `` **SettingsDialog/mainSplitterState** (QByteArray): `` **ShowSystemTray** (QString): `false` **StartHidden** (QString): `false` **TableDialog/geometry** (QByteArray): `` **UpdateDialog/geometry** (QByteArray): `` **VersionDialog/geometry** (QByteArray): `` **WelcomeDialog/geometry** (QByteArray): `` **acceptAllExternalModifications** (QString): `false` **allowNoteEditing** (QString): `true` **allowOnlyOneAppInstance** (QString): `true` **appMetrics/disableAppHeartbeat** (QString): `false` **appMetrics/disableTracking** (QString): `false` **appMetrics/notificationShown** (QString): `true` **autoReadOnlyMode** (QString): `false` **autoReadOnlyModeTimeout** (int): `30` **automaticNoteFolderDatabaseClosing** (QString): `false` **checkSpelling** (QString): `false` **closeTodoListAfterSave** (QString): `false` **cryptoKey** (qlonglong): `` **currentNoteFolderId** (int): `1` **currentWorkspace** (QString): `e7EwCv77BQue` **cursorWidth** (int): `1` **darkMode** (QString): `true` **darkModeColors** (QString): `true` **darkModeIconTheme** (QString): `true` **darkModeTrayIcon** (QString): `true` **defaultNoteFileExtension** (QString): `md` **disableAutomaticUpdateDialog** (QString): `true` **disableSavedSearchesAutoCompletion** (QString): `false` **dockWasInitializedOnce** (QString): `true` **enableNoteTree** (QString): `false` **enableSocketServer** (QString): `true` **enableWebAppSupport** (QString): `true` **externalEditorPath** (QString): *empty* **fullyHighlightedBlockquotes** (QString): `false` **gitCommitInterval** (int): `400` **gitExecutablePath** (QString): `C:/Program Files/Git/git-bash.exe` **gitLogCommand** (QString): `gitk` **guiFirstRunInit** (QString): `true` **ignoreAllExternalModifications** (QString): `false` **ignoreAllExternalNoteFolderChanges** (QString): `false` **ignoreNoteSubFolders** (QString): `^\.` **ignoredNoteFiles** (QString): *empty* **imageScaleDown** (QString): `false` **imageScaleDownMaximumHeight** (int): `1024` **imageScaleDownMaximumWidth** (int): `1024` **initialLayoutIdentifier** (QString): `1col` **insertTimeFormat** (QString): *empty* **interfaceFontSize** (int): `11` **interfaceLanguage** (QString): *empty* **internalIconTheme** (QString): `false` **itemHeight** (int): `18` **legacyLinking** (QString): `false` **localTrash/autoCleanupDays** (int): `30` **localTrash/autoCleanupEnabled** (QString): `true` **localTrash/supportEnabled** (QString): `true` **markdownHighlightingEnabled** (QString): `true` **navigationPanelAutoSelect** (QString): `true` **navigationPanelHideSearch** (QString): `false` **networking/ignoreSSLErrors** (QString): `true` **networking/proxyType** (int): `2` **newNoteAskHeadline** (QString): `false` **noteEditIsCentralWidget** (QString): `true` **noteFileExtensionList** (QStringList): `md, txt` **noteListPreview** (QString): `false` **noteSaveIntervalTime** (int): `10` **noteSubfoldersPanelDisplayAsFullTree** (QString): `true` **noteSubfoldersPanelHideSearch** (QString): `false` **noteSubfoldersPanelOrder** (int): `0` **noteSubfoldersPanelShowFullPath** (QString): `false` **noteSubfoldersPanelShowNotesRecursively** (QString): `false` **noteSubfoldersPanelShowRootFolderName** (QString): `true` **noteSubfoldersPanelSort** (int): `0` **noteSubfoldersPanelTabsUnsetAllNotesSelection** (QString): `false` **notesPanelOrder** (int): `0` **notesPanelSort** (int): `1` **notesPath** (QString): `C:/Users/nicks PC/Nextcloud/Notes` **notifyAllExternalModifications** (QString): `false` **overrideInterfaceFontSize** (QString): `false` **ownCloud/supportEnabled** (QString): `true` **ownCloud/todoCalendarBackend** (int): `3` **ownCloud/todoCalendarCalDAVPassword** (QString): `` **ownCloud/todoCalendarCalDAVServerUrl** (QString): *empty* **ownCloud/todoCalendarCalDAVUsername** (QString): *empty* **ownCloud/todoCalendarCloudConnectionId** (int): `1` **ownCloud/todoCalendarDisplayNameList** (QStringList): *empty* **ownCloud/todoCalendarEnabledList** (QStringList): *empty* **ownCloud/todoCalendarEnabledUrlList** (QStringList): *empty* **ownCloud/todoCalendarUrlList** (QStringList): *empty* **ownCloudInfo/appIsValid** (QString): `true` **ownCloudInfo/connectionErrorMessage** (QString): `Unknown error` **ownCloudInfo/notesPathExistsText** (QString): `yes` **ownCloudInfo/serverVersion** (QString): `27.1.7.2` **recentNoteFolders** (QStringList): `C:/Users/nicks PC/Notes` **restoreCursorPosition** (QString): `true` **restoreLastNoteAtStartup** (QString): `true` **restoreNoteTabs** (QString): `true` **savedSearches/noteFolder-1** (QStringList): `Note 2024-04-07T11.02.57, Note 2024-04-05T12.37.24, Note 2024-03-28T09.32.49, Note 2024-03-26T15.32.39, Note 2024-03-26T13.14.40, Note 2024-03-26T11.01.50` **showMatches** (QString): `true` **showMenuBar** (QString): `true` **showStatusBar** (QString): `true` **startInReadOnlyMode** (QString): `false` **systemIconTheme** (QString): `false` **taggingShowNotesRecursively** (QString): `false` **tagsPanelHideNoteCount** (QString): `false` **tagsPanelHideSearch** (QString): `false` **tagsPanelOrder** (int): `0` **tagsPanelSort** (int): `0` **todoCalendarSupport** (QString): `true` **toolbar/1/items** (QStringList): `action_New_note, action_Find_note, action_Remove_note, action_Open_note_in_external_editor, actionShow_local_trash, actionAllow_note_editing, , action_Back_in_note_history, action_Forward_in_note_history, , action_Find_text_in_note, actionReplace_in_current_note, , actionShow_versions, actionShow_trash, actionShare_note, , actionShow_Todo_List` **toolbar/1/name** (QString): `mainToolBar` **toolbar/1/title** (QString): `main toolbar` **toolbar/2/items** (QStringList): `actionFormat_text_bold, actionFormat_text_italic, actionStrike_out_text, actionInsert_code_block, actionInsert_block_quote` **toolbar/2/name** (QString): `formattingToolbar` **toolbar/2/title** (QString): `formatting toolbar` **toolbar/3/items** (QStringList): `actionInsert_text_link, actionInsert_image, actionInsert_current_time` **toolbar/3/name** (QString): `insertingToolbar` **toolbar/3/title** (QString): `inserting toolbar` **toolbar/4/items** (QStringList): `action_Encrypt_note, actionEdit_encrypted_note, actionDecrypt_note` **toolbar/4/name** (QString): `encryptionToolbar` **toolbar/4/title** (QString): `encryption toolbar` **toolbar/5/items** (QStringList): `actionWorkspaceComboBox, actionStore_as_new_workspace, actionRemove_current_workspace, actionRename_current_workspace, actionSwitch_to_previous_workspace, actionUnlock_panels, , actionToggle_distraction_free_mode, action_Increase_note_text_size, action_Decrease_note_text_size, action_Reset_note_text_size` **toolbar/5/name** (QString): `windowToolbar` **toolbar/5/title** (QString): `window toolbar` **toolbar/6/items** (QStringList): `action_Quit` **toolbar/6/name** (QString): `quitToolbar` **toolbar/6/title** (QString): `quit toolbar` **toolbar/size** (int): `6` **useNoteFolderButtons** (QString): `false` **useUNIXNewline** (QString): `false` **versionSplitterSizes** (QByteArray): `` **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** (int): `22222` **webSocketServerService/token** (QString): `` **workspace-KpPshzmh8SNf/name** (QString): `Preview only` **workspace-KpPshzmh8SNf/noteSubFolderDockWidgetVisible** (QString): `true` **workspace-KpPshzmh8SNf/windowState** (QByteArray): `` **workspace-e7EwCv77BQue/name** (QString): `Single column` **workspace-e7EwCv77BQue/noteSubFolderDockWidgetVisible** (QString): `true` **workspace-e7EwCv77BQue/windowState** (QByteArray): `` **workspace-initial/name** (QString): `Full` **workspace-initial/noteSubFolderDockWidgetVisible** (QString): `true` **workspace-initial/windowState** (QByteArray): `` **workspaces** (QStringList): `initial, KpPshzmh8SNf, e7EwCv77BQue` ## System environment **ALLUSERSPROFILE**: `C:\ProgramData` **APPDATA**: `C:\Users\nicks PC\AppData\Roaming` **ChocolateyInstall**: `C:\ProgramData\chocolatey` **ChocolateyLastPathUpdate**: `133554707336688197` **ChocolateyToolsLocation**: `C:\tools` **CommonProgramFiles**: `C:\Program Files\Common Files` **CommonProgramFiles(x86)**: `C:\Program Files (x86)\Common Files` **CommonProgramW6432**: `C:\Program Files\Common Files` **COMPUTERNAME**: `BRYANSLAPTOP` **ComSpec**: `C:\WINDOWS\system32\cmd.exe` **DriverData**: `C:\Windows\System32\Drivers\DriverData` **HOMEDRIVE**: `C:` **HOMEPATH**: `\Users\nicks PC` **IntelliJ IDEA**: `C:\Program Files\JetBrains\IntelliJ IDEA 2022.3.1\bin;` **IntelliJ IDEA Community Edition**: `C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.3.1\bin;` **JAVA_HOME**: `C:\Program Files\Java\jdk-18.0.2.1` **LOCALAPPDATA**: `C:\Users\nicks PC\AppData\Local` **LOGONSERVER**: `\\BRYANSLAPTOP` **MOZ_PLUGIN_PATH**: `C:\Program Files (x86)\Foxit Software\Foxit PDF Reader\plugins\` **NUMBER_OF_PROCESSORS**: `8` **OculusBase**: `C:\Program Files\Oculus\` **OneDrive**: `C:\Users\nicks PC\OneDrive` **OS**: `Windows_NT` **Path**: `C:\Program Files (x86)\Razer\ChromaBroadcast\bin;C:\Program Files\Razer\ChromaBroadcast\bin;C:\Program Files\Oculus\Support\oculus-runtime;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\PuTTY\;C:\Program Files\Java\jdk-18.0.2.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Users\nicks PC\AppData\Local\Microsoft\WindowsApps;C:\Program Files\JetBrains\IntelliJ IDEA 2022.3.1\bin;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.3.1\bin;C:\Users\nicks PC\AppData\Local\Microsoft\WindowsApps;C:\Program Files\playit_gg\bin\;C:\Program Files\Tailscale\;C:\Program Files\Git\cmd;C:\Program Files\PowerShell\7\;C:\Program Files\FileBot\;C:\Program Files\MKVToolNix;C:\tools\neovim\nvim-win64\bin` **PATHEXT**: `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC` **POWERSHELL_DISTRIBUTION_CHANNEL**: `MSI:Windows 10 Home` **PROCESSOR_ARCHITECTURE**: `AMD64` **PROCESSOR_IDENTIFIER**: `Intel64 Family 6 Model 165 Stepping 2, GenuineIntel` **PROCESSOR_LEVEL**: `6` **PROCESSOR_REVISION**: `a502` **ProgramData**: `C:\ProgramData` **ProgramFiles**: `C:\Program Files` **ProgramFiles(x86)**: `C:\Program Files (x86)` **ProgramW6432**: `C:\Program Files` **PSModulePath**: `%ProgramFiles%\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;` **PUBLIC**: `C:\Users\Public` **SystemDrive**: `C:` **SystemRoot**: `C:\WINDOWS` **TEMP**: `C:\Users\NICKSP~1\AppData\Local\Temp` **TMP**: `C:\Users\NICKSP~1\AppData\Local\Temp` **USERDOMAIN**: `BRYANSLAPTOP` **USERDOMAIN_ROAMINGPROFILE**: `BRYANSLAPTOP` **USERNAME**: `BryanLaptop` **USERPROFILE**: `C:\Users\nicks PC` **VBOX_MSI_INSTALL_PATH**: `C:\Program Files\Oracle\VirtualBox\` **windir**: `C:\WINDOWS` **__PSLockDownPolicy**: `0`

Relevant log output in the Log panel

Expand [Apr 07 13:37:18] [debug]: updateNoteShareStatusFromShare - 'data': "\n\n \n ok\n 200\n OK\n \n \n \n 3\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699136889\n \n \n sa5mYz3GSDtZNWy\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Mario Party 4 (USA) (Rev 1).zip\n file\n application/zip\n \n home::pokeypen7@gmail.com\n 1\n 3257\n 3257\n 589\n /Mario Party 4 (USA) (Rev 1).zip\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/sa5mYz3GSDtZNWy\n 0\n 0\n \n \n \n 4\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137036\n \n \n rqeZPzGj3jg2mno\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Mario Party 5 (USA).nkit.iso\n file\n application/x-iso9660-image\n \n home::pokeypen7@gmail.com\n 1\n 3769\n 3769\n 589\n /Mario Party 5 (USA).nkit.iso\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/rqeZPzGj3jg2mno\n 0\n 0\n \n \n \n 5\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137058\n \n \n yM6otdc9ZMTRiX6\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Bomberman Generation (USA) (Rev 1).rvz\n file\n application/octet-stream\n \n home::pokeypen7@gmail.com\n 1\n 3903\n 3903\n 589\n /Bomberman Generation (USA) (Rev 1).rvz\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/yM6otdc9ZMTRiX6\n 0\n 0\n \n \n \n 6\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137083\n \n \n 2dC8WyGNLbYYzCA\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Dragon Ball Z - Budokai 2 (USA).rvz\n file\n application/octet-stream\n \n home::pokeypen7@gmail.com\n 1\n 3915\n 3915\n 589\n /Dragon Ball Z - Budokai 2 (USA).rvz\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/2dC8WyGNLbYYzCA\n 0\n 0\n \n \n \n 7\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137135\n \n \n BirdpY5JF7KrB86\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Madden NFL 06 (USA).rvz\n file\n application/octet-stream\n \n home::pokeypen7@gmail.com\n 1\n 3776\n 3776\n 589\n /Madden NFL 06 (USA).rvz\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/BirdpY5JF7KrB86\n 0\n 0\n \n \n \n 8\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137149\n \n \n 2KnAQaMWmXKgkTC\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Pikmin 2 (USA).rvz\n file\n application/octet-stream\n \n home::pokeypen7@gmail.com\n 1\n 3799\n 3799\n 589\n /Pikmin 2 (USA).rvz\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/2KnAQaMWmXKgkTC\n 0\n 0\n \n \n \n 9\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137163\n \n \n YpFnfDnjoMx8yct\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Legend of Zelda, The - Four Swords Adventures (USA).rvz\n file\n application/octet-stream\n \n home::pokeypen7@gmail.com\n 1\n 3445\n 3445\n 589\n /Legend of Zelda, The - Four Swords Adventures (USA).rvz\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/YpFnfDnjoMx8yct\n 0\n 0\n \n \n \n 10\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137197\n \n \n y4A8Q9SfZCmpecP\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Mario Kart - Double Dash!! (USA).rvz\n file\n application/octet-stream\n \n home::pokeypen7@gmail.com\n 1\n 3506\n 3506\n 589\n /Mario Kart - Double Dash!! (USA).rvz\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/y4A8Q9SfZCmpecP\n 0\n 0\n \n \n \n 11\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137257\n \n \n LzeFmjrBc8C8gHM\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Star Fox - Assault (USA).zip\n file\n application/zip\n \n home::pokeypen7@gmail.com\n 1\n 1068\n 1068\n 589\n /Star Fox - Assault (USA).zip\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/LzeFmjrBc8C8gHM\n 0\n 0\n \n \n \n 12\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137297\n \n \n qqRx2bFx2PnGB6z\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Pac-Man Vs. (USA).rvz\n file\n application/octet-stream\n \n home::pokeypen7@gmail.com\n 1\n 3374\n 3374\n 589\n /Pac-Man Vs. (USA).rvz\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/qqRx2bFx2PnGB6z\n 0\n 0\n \n \n \n 13\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137313\n \n \n qSXNdtw2PWsSP6r\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Mario Power Tennis (USA) (Rev 1).zip\n file\n application/zip\n \n home::pokeypen7@gmail.com\n 1\n 860\n 860\n 589\n /Mario Power Tennis (USA) (Rev 1).zip\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/qSXNdtw2PWsSP6r\n 0\n 0\n \n \n \n 14\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137333\n \n \n d2f2YnLCjZHHfzQ\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Super Monkey Ball 2 (USA).rvz\n file\n application/octet-stream\n \n home::pokeypen7@gmail.com\n 1\n 3750\n 3750\n 589\n /Super Monkey Ball 2 (USA).rvz\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/d2f2YnLCjZHHfzQ\n 0\n 0\n \n \n \n 16\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137786\n \n \n a89YzfLTyqzP9pk\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/Wii/New Super Mario Bros. Wii (USA) (EnFrEs) (Rev 2).zip\n file\n application/zip\n \n home::pokeypen7@gmail.com\n 1\n 2376\n 2376\n 614\n /New Super Mario Bros. Wii (USA) (EnFrEs) (Rev 2).zip\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/a89YzfLTyqzP9pk\n 0\n 0\n \n \n \n\n" [Apr 07 13:37:18] [debug]: updateNoteShareStatusFromShare - 'status': "ok" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'dataElements.count()': 13 [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatusFromFetchAll - 'data': "\n\n \n ok\n 200\n OK\n \n \n \n 3\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699136889\n \n \n sa5mYz3GSDtZNWy\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Mario Party 4 (USA) (Rev 1).zip\n file\n application/zip\n \n home::pokeypen7@gmail.com\n 1\n 3257\n 3257\n 589\n /Mario Party 4 (USA) (Rev 1).zip\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/sa5mYz3GSDtZNWy\n 0\n 0\n \n \n \n 4\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137036\n \n \n rqeZPzGj3jg2mno\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Mario Party 5 (USA).nkit.iso\n file\n application/x-iso9660-image\n \n home::pokeypen7@gmail.com\n 1\n 3769\n 3769\n 589\n /Mario Party 5 (USA).nkit.iso\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/rqeZPzGj3jg2mno\n 0\n 0\n \n \n \n 5\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137058\n \n \n yM6otdc9ZMTRiX6\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Bomberman Generation (USA) (Rev 1).rvz\n file\n application/octet-stream\n \n home::pokeypen7@gmail.com\n 1\n 3903\n 3903\n 589\n /Bomberman Generation (USA) (Rev 1).rvz\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/yM6otdc9ZMTRiX6\n 0\n 0\n \n \n \n 6\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137083\n \n \n 2dC8WyGNLbYYzCA\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Dragon Ball Z - Budokai 2 (USA).rvz\n file\n application/octet-stream\n \n home::pokeypen7@gmail.com\n 1\n 3915\n 3915\n 589\n /Dragon Ball Z - Budokai 2 (USA).rvz\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/2dC8WyGNLbYYzCA\n 0\n 0\n \n \n \n 7\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137135\n \n \n BirdpY5JF7KrB86\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Madden NFL 06 (USA).rvz\n file\n application/octet-stream\n \n home::pokeypen7@gmail.com\n 1\n 3776\n 3776\n 589\n /Madden NFL 06 (USA).rvz\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/BirdpY5JF7KrB86\n 0\n 0\n \n \n \n 8\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137149\n \n \n 2KnAQaMWmXKgkTC\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Pikmin 2 (USA).rvz\n file\n application/octet-stream\n \n home::pokeypen7@gmail.com\n 1\n 3799\n 3799\n 589\n /Pikmin 2 (USA).rvz\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/2KnAQaMWmXKgkTC\n 0\n 0\n \n \n \n 9\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137163\n \n \n YpFnfDnjoMx8yct\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Legend of Zelda, The - Four Swords Adventures (USA).rvz\n file\n application/octet-stream\n \n home::pokeypen7@gmail.com\n 1\n 3445\n 3445\n 589\n /Legend of Zelda, The - Four Swords Adventures (USA).rvz\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/YpFnfDnjoMx8yct\n 0\n 0\n \n \n \n 10\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137197\n \n \n y4A8Q9SfZCmpecP\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Mario Kart - Double Dash!! (USA).rvz\n file\n application/octet-stream\n \n home::pokeypen7@gmail.com\n 1\n 3506\n 3506\n 589\n /Mario Kart - Double Dash!! (USA).rvz\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/y4A8Q9SfZCmpecP\n 0\n 0\n \n \n \n 11\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137257\n \n \n LzeFmjrBc8C8gHM\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Star Fox - Assault (USA).zip\n file\n application/zip\n \n home::pokeypen7@gmail.com\n 1\n 1068\n 1068\n 589\n /Star Fox - Assault (USA).zip\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/LzeFmjrBc8C8gHM\n 0\n 0\n \n \n \n 12\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137297\n \n \n qqRx2bFx2PnGB6z\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Pac-Man Vs. (USA).rvz\n file\n application/octet-stream\n \n home::pokeypen7@gmail.com\n 1\n 3374\n 3374\n 589\n /Pac-Man Vs. (USA).rvz\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/qqRx2bFx2PnGB6z\n 0\n 0\n \n \n \n 13\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137313\n \n \n qSXNdtw2PWsSP6r\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Mario Power Tennis (USA) (Rev 1).zip\n file\n application/zip\n \n home::pokeypen7@gmail.com\n 1\n 860\n 860\n 589\n /Mario Power Tennis (USA) (Rev 1).zip\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/qSXNdtw2PWsSP6r\n 0\n 0\n \n \n \n 14\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137333\n \n \n d2f2YnLCjZHHfzQ\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/GameCube/Super Monkey Ball 2 (USA).rvz\n file\n application/octet-stream\n \n home::pokeypen7@gmail.com\n 1\n 3750\n 3750\n 589\n /Super Monkey Ball 2 (USA).rvz\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/d2f2YnLCjZHHfzQ\n 0\n 0\n \n \n \n 16\n 3\n pokeypen7@gmail.com\n bbad7\n 17\n 1\n 1\n 1699137786\n \n \n a89YzfLTyqzP9pk\n pokeypen7@gmail.com\n \n \n bbad7\n /Emulator Stuff/Wii/New Super Mario Bros. Wii (USA) (EnFrEs) (Rev 2).zip\n file\n application/zip\n \n home::pokeypen7@gmail.com\n 1\n 2376\n 2376\n 614\n /New Super Mario Bros. Wii (USA) (EnFrEs) (Rev 2).zip\n \n (Shared link)\n \n \n https://nextcloud.pokeypen7.us/index.php/s/a89YzfLTyqzP9pk\n 0\n 0\n \n \n \n\n" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'dataElements.count()': 13 [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'shareType': "3" [Apr 07 13:37:18] [debug]: updateNoteShareStatus - 'itemType': "file"
pbek commented 5 months ago

So you are talking about (intelligently) restoring the cursor position in the preview after a checkbox was toggled (in the preview).

I guess that could be implemented somewhere around here:

https://github.com/pbek/QOwnNotes/blob/964acf69b6382f8ee8252c640c5048f8f4644622/src/utils/urlhandler.cpp#L274-L275

pbek commented 5 months ago

But would not be very easy to do. Currently, every refresh of the preview resets the cursor position in the preview...

pbek commented 5 months ago

With a lot of fiddling around I was able to set a cursor in the note preview, but as soon I pressed Tab the cursor was reset to the top again, so that will not be of much use to you. 🤷🏻

pokeypen7 commented 4 months ago

Thanks for trying! Im not sure how hard it would be but would it be possible to add a manual refresh mode, in which autorefresh of the preview pane would be disabled, and instead there was now a button to refresh?

pbek commented 4 months ago

If you toggle a checkbox in the preview, the preview needs to be updated... It would be very confusing if it wouldn't be that way...