Open pokeypen7 opened 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:
But would not be very easy to do. Currently, every refresh of the preview resets the cursor position in the preview...
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. 🤷🏻
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?
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...
Expected behaviour
Actual behaviour
Steps to reproduce
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): `Relevant log output in the Log panel
Expand
[Apr 07 13:37:18] [debug]: updateNoteShareStatusFromShare - 'data': "\n