Closed ewrvp7lv7 closed 1 year ago
Can you please describe what you expected, what the actual behavior was and step by step what you did (see issue template)? Is there any useful log output if you enable the log panel (see Window / Panels)? Please make sure you also enable debug logging in the log panel (by right-clicking on the panel and and selecting Debug in Options). 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.
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.
Current Date: Mon Jan 23 11:32:52 2023
Version: 23.1.1
Build date: Jan 17 2023
Build number: 1004
Platform: linux
Operating System: Ubuntu 20.04.5 LTS
Build architecture: x86_64
Current architecture: x86_64
Release: AppImage
Qt Version (build): 5.15.2
Qt Version (runtime): 5.15.2
Portable mode: no
Settings path / key: /home/userubuntu/.config/PBE/QOwnNotes.conf
Application database path: /home/userubuntu/.local/share/PBE/QOwnNotes/QOwnNotes.sqlite
Application arguments: /home/userubuntu/QOwnNotes/QOwnNotes-x86_64.AppImage
Qt Debug: 0
Locale (system): en_US
Locale (interface): empty
Primary screen resolution: 1366x768
Icon theme: breeze-dark-qownnotes
Notes in current note folder: 18
Calendar items: 0
Enabled scripts: 0
serverUrl: empty
appIsValid: no
notesPathExists: empty
connectionErrorMessage: empty
Enabled: false
Selected language: auto
Language codes: en_AU, en_CA, en_GB, en_US, en_ZA, ru_RU
Language names: Australian English (Australia), Canadian English (Canada), British English (United Kingdom), American English (United States), English (South Africa), русский (Россия)
Application dictionaries path: /home/userubuntu/.local/share/PBE/QOwnNotes/dicts
currentNoteFolderId: 1
default
id: 1
isCurrent: yes
activeTagId: -2
localPath: /home/userubuntu/Documents/notes
remotePath: Notes
cloudConnectionId: 1
isShowSubfolders: no
isUseGit: no
allowDifferentNoteFileName: yes
activeNoteSubFolder name: empty
database file: /home/userubuntu/Documents/notes/notes.sqlite
Default
id: 1
isCurrent: yes
serverUrl: empty
username: empty
accountId: empty
AboutDialog/geometry (QByteArray): <binary data>
ActiveNoteHistoryItem (NoteHistoryItem): <binary data>
AttachmentDialog/geometry (QByteArray): <binary data>
Debug/fakeOldVersionNumber (bool): false
Debug/fileLogging (bool): false
DictionaryManagerDialog/geometry (QByteArray): <binary data>
DictionaryManagerDialog/mainSplitterState (QByteArray): <binary data>
DistractionFreeMode/isEnabled (QString): false
DistractionFreeMode/menuBarGeometry (QByteArray): <binary data>
DistractionFreeMode/menuBarHeight (QString): 20
DistractionFreeMode/menuBarVisible (QString): true
DistractionFreeMode/windowState (QByteArray): <binary data>
Editor/CurrentSchemaKey (QString): EditorColorSchema-046e1c8d-9175-4272-81d8-203febd5bc8a
Editor/autoBracketClosing (bool): false
Editor/autoBracketRemoval (bool): true
Editor/centerCursor (QString): false
Editor/disableCursorBlinking (bool): false
Editor/editorWidthInDFMOnly (bool): true
Editor/highlightCurrentLine (bool): true
Editor/indentSize (int): 4
Editor/removeTrailingSpaces (bool): true
Editor/showLineNumbers (bool): true
Editor/useTabIndent (bool): false
Editor/vimMode (bool): false
ImageDialog/disableCopying (QString): false
ImageDialog/geometry (QByteArray): <binary data>
IssueAssistantDialog/geometry (QByteArray): <binary data>
LastUpdateCheck (QDateTime): 2023-01-23T11:21:33.701
LinkDialog/geometry (QByteArray): <binary data>
LogWidget/criticalLog (bool): true
LogWidget/debugLog (bool): true
LogWidget/fatalLog (bool): true
LogWidget/infoLog (bool): false
LogWidget/scriptingLog (bool): true
LogWidget/statusLog (bool): true
LogWidget/warningLog (bool): true
MainWindow/geometry (QByteArray): <binary data>
MainWindow/mainToolBar.iconSize (int): 18
MainWindow/menuBarGeometry (QByteArray): <binary data>
MainWindow/noteTextEdit.code.font (QString): Monospace,10,-1,5,50,0,0,0,0,0
MainWindow/noteTextEdit.font (QString): Sans Serif,12,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.code.font (QString): monospace,9,-1,2,50,0,0,0,0,0
MainWindow/noteTextView.font (QString): Sans Serif,9,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.ignoreCodeFontSize (bool): true
MainWindow/noteTextView.refreshDebounceTime (int): 600
MainWindow/noteTextView.rtl (bool): false
MainWindow/noteTextView.underline (bool): true
MainWindow/noteTextView.useEditorStyles (bool): true
MainWindow/noteTextView.useInternalExportStyling (bool): true
NoteFolder-1/NoteTabNameList (QStringList): Git, Solidity
NoteFolder-1/NoteTabStickinessList (QStringList): empty
NoteFolder-1/NoteTabSubFolderPathDataList (QStringList): ,
NoteFolder-1/allowDifferentNoteFileName (bool): true
NoteHistory-1 (QVariantList): <variant list with 57 item(s)>
NoteHistoryCurrentIndex-1 (int): 56
PasswordDialog/geometry (QByteArray): <binary data>
PiwikClientId (QString): <hidden>
ScriptRepositoryDialog/mainSplitterState (QByteArray): <binary data>
SearchEngineId (int): 0
SettingsDialog/geometry (QByteArray): <binary data>
SettingsDialog/mainSplitterState (QByteArray): <binary data>
ShowSystemTray (bool): false
StartHidden (bool): false
UpdateDialog/geometry (QByteArray): <binary data>
WelcomeDialog/geometry (QByteArray): <binary data>
acceptAllExternalModifications (bool): false
allowNoteEditing (bool): true
allowOnlyOneAppInstance (bool): true
appMetrics/disableAppHeartbeat (bool): false
appMetrics/disableTracking (bool): false
appMetrics/notificationShown (QString): true
automaticNoteFolderDatabaseClosing (bool): false
checkSpelling (QString): false
closeTodoListAfterSave (bool): false
cryptoKey (QString): <hidden>
currentNoteFolderId (QString): 1
currentWorkspace (QString): Tbc9EEkWRkWp
cursorWidth (int): 1
darkMode (bool): true
darkModeColors (bool): true
darkModeIconTheme (bool): true
darkModeTrayIcon (bool): false
defaultNoteFileExtension (QString): md
demoNotesCreated (QString): true
disableAutomaticUpdateDialog (bool): true
disableSavedSearchesAutoCompletion (bool): false
dockWasInitializedOnce (QString): true
enableNoteTree (bool): false
enableSocketServer (bool): true
enableWebAppSupport (bool): false
externalEditorPath (QString): empty
fullyHighlightedBlockquotes (bool): false
gitCommitInterval (int): 30
gitExecutablePath (QString): empty
gitLogCommand (QString): empty
guiFirstRunInit (bool): true
ignoreAllExternalModifications (bool): false
ignoreAllExternalNoteFolderChanges (bool): false
ignoreNoteSubFolders (QString): ^\.
ignoredNoteFiles (QString): empty
imageScaleDown (bool): false
imageScaleDownMaximumHeight (int): 1024
imageScaleDownMaximumWidth (int): 1024
initialLayoutIdentifier (QString): minimal
insertTimeFormat (QString): dd.MM.yyyy
interfaceFontSize (int): 11
interfaceLanguage (QString): empty
interfaceStyle (QString): Fusion
internalIconTheme (bool): false
itemHeight (int): 14
legacyLinking (bool): false
localTrash/autoCleanupDays (int): 30
localTrash/autoCleanupEnabled (bool): true
localTrash/supportEnabled (bool): true
markdownHighlightingEnabled (bool): true
navigationPanelAutoSelect (bool): true
navigationPanelHideSearch (bool): false
networking/ignoreSSLErrors (bool): true
networking/proxyType (int): 2
newNoteAskHeadline (bool): false
noteEditIsCentralWidget (bool): true
noteFileExtensionList (QStringList): md, txt
noteListPreview (bool): false
noteSaveIntervalTime (int): 10
noteSubfoldersPanelDisplayAsFullTree (bool): true
noteSubfoldersPanelHideSearch (bool): false
noteSubfoldersPanelOrder (int): 0
noteSubfoldersPanelShowFullPath (bool): false
noteSubfoldersPanelShowNotesRecursively (bool): false
noteSubfoldersPanelShowRootFolderName (bool): true
noteSubfoldersPanelSort (int): 0
notesPanelOrder (int): 0
notesPanelSort (int): 1
notesPath (QString): /home/userubuntu/Documents/notes
notifyAllExternalModifications (bool): false
overrideInterfaceFontSize (bool): false
ownCloud/ignoreNonTodoCalendars (QString): false
ownCloud/supportEnabled (bool): false
ownCloud/todoCalendarBackend (int): 2
ownCloud/todoCalendarCalDAVPassword (QString): <hidden>
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 (bool): false
ownCloudInfo/connectionErrorMessage (QString): empty
ownCloudInfo/notesPathExistsText (QString): empty
ownCloudInfo/serverVersion (QString): empty
previousWorkspace (QString): initial
recentNoteFolders (QString): /home/userubuntu/go/src/github.com/EwRvp7LV7
restoreCursorPosition (bool): true
restoreLastNoteAtStartup (bool): true
restoreNoteTabs (bool): true
savedSearches/noteFolder-1 (QStringList): Development, DataBases, Kubernetes, Docket, Math, path, plans, IDE, git, Принтер, Note 2022-12-23T20.14.29, Note 2022-11-16T17.44.02, Note 2022-08-24T14.58.06, Note 2022-07-09T18.28.54, derive, Note 2022-03-06T18.22.54, Note 2022-02-23T15.13.08, Note 2022-02-23T15.11.53, Note 2022-02-23T15.10.09, Note 2022-02-19T17.39.48, Note 2022-02-13T16.38.03
showMatches (bool): true
showMenuBar (bool): true
showStatusBar (bool): true
spellCheckLanguage (QString): auto
systemIconTheme (bool): false
tagWasAddedToNote (QString): true
taggingShowNotesRecursively (bool): false
tagsPanelHideNoteCount (bool): false
tagsPanelHideSearch (bool): false
tagsPanelOrder (int): 0
tagsPanelSort (int): 0
todoCalendarSupport (bool): false
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 (bool): false
useSoftWrapInNoteEditor (QString): true
useUNIXNewline (bool): 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 (int): 22222
workspace-Tbc9EEkWRkWp/name (QString): Minimal
workspace-Tbc9EEkWRkWp/noteSubFolderDockWidgetVisible (QString): true
workspace-Tbc9EEkWRkWp/windowState (QByteArray): <binary data>
workspace-initial/name (QString): Full
workspace-initial/noteSubFolderDockWidgetVisible (QString): true
workspace-initial/windowState (QByteArray): <binary data>
workspaces (QStringList): initial, Tbc9EEkWRkWp
GJS_DEBUG_TOPICS: JS ERROR;JS LOG
LC_TIME: en_US.UTF-8
USER: userubuntu
SSH_AGENT_PID: 326003
XDG_SESSION_TYPE: x11
SHLVL: 0
HOME: /home/userubuntu
DESKTOP_SESSION: ubuntu
GIO_LAUNCHED_DESKTOP_FILE: /usr/share/applications/QOwnNotes.desktop
GTK_MODULES: gail:atk-bridge
GNOME_SHELL_SESSION_MODE: ubuntu
LC_MONETARY: en_US.UTF-8
MANAGERPID: 325825
DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
GIO_LAUNCHED_DESKTOP_FILE_PID: 480216
IM_CONFIG_PHASE: 1
LOGNAME: userubuntu
_: /usr/bin/dbus-update-activation-environment
JOURNAL_STREAM: 8:2395821
XDG_SESSION_CLASS: user
USERNAME: userubuntu
GNOME_DESKTOP_SESSION_ID: this-is-deprecated
WINDOWPATH: 2
PATH: /home/userubuntu/.cargo/bin:/home/userubuntu/go/bin:/usr/local/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PAPERSIZE: letter
SESSION_MANAGER: local/HPProBook:@/tmp/.ICE-unix/326041,unix/HPProBook:/tmp/.ICE-unix/326041
INVOCATION_ID: 08ccf05371f0485bb145836a296b2d3e
LC_ADDRESS: en_US.UTF-8
XDG_RUNTIME_DIR: /run/user/1000
XDG_MENU_PREFIX: gnome-
DISPLAY: :0
LANG: en_US.UTF-8
LC_TELEPHONE: en_US.UTF-8
XDG_CURRENT_DESKTOP: ubuntu:GNOME
XAUTHORITY: /run/user/1000/gdm/Xauthority
XDG_SESSION_DESKTOP: ubuntu
XMODIFIERS: @im=ibus
SSH_AUTH_SOCK: /run/user/1000/keyring/ssh
LC_NAME: en_US.UTF-8
SHELL: /usr/bin/zsh
QT_ACCESSIBILITY: 1
GDMSESSION: ubuntu
LC_MEASUREMENT: en_US.UTF-8
LC_IDENTIFICATION: en_US.UTF-8
GPG_AGENT_INFO: /run/user/1000/gnupg/S.gpg-agent:0:1
GJS_DEBUG_OUTPUT: stderr
QT_IM_MODULE: ibus
PWD: /home/userubuntu
XDG_DATA_DIRS: /usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_CONFIG_DIRS: /etc/xdg/xdg-ubuntu:/etc/xdg
LC_NUMERIC: en_US.UTF-8
LC_PAPER: en_US.UTF-8
APPIMAGE: /home/userubuntu/QOwnNotes/QOwnNotes-x86_64.AppImage
ARGV0: /home/userubuntu/QOwnNotes/QOwnNotes-x86_64.AppImage
APPDIR: /tmp/.mount_QOwnNosxwuSU
OWD: /home/userubuntu
Is there any useful log output if you enable the log panel (see Window / Panels)? Please make sure you also enable debug logging in the log panel (by right-clicking on the panel and and selecting Debug in Options).
[11:40:57] [debug] setCurrentNote - 'note': Note:
Can you please describe what you expected, what the actual behavior was and step by step what you did (see issue template)?
I put cursor on line 100 in the Solidity tab. I change the Solidity tab to the Git tab by mouse click on the Git tab. Btw, the Git tab works correct. I go back to the Solidity tab by mouse click and I am surprised cursor on line 2! I expected it is leaved on the line 100. Sorry, I try my best explanation. You can see the right window logs in the post above.
Thank you. Settings for storing the note history seem ok, log entries too. What you did seems ok too. But unfortunately I can't reproduce your issue, the cursor position is restored for me (like it should) when I switch between tabs.
Does this issue also exist if you open a new session of QOwnNotes? (see --session
on https://www.qownnotes.org/getting-started/cli-parameters.html)
The log in your last screenshot also shows that the cursor position was stored in your note history...
Does this issue also exist if you open a new session of QOwnNotes? (see --session on https://www.qownnotes.org/getting-started/cli-parameters.html)
Thank you, it helped me when I chose new folder! I have renamed the work folder and now it works properly!
Still strange. Maybe something was interfering with that folder externally.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
On editor mode when I change a tabs some pages forgets cursor current position and moves it to the top of page. I researched it and realized it depends of the name of file.md. For example, solidity.md forgets cursor position, but solidity1.md not, this case independents of page content. Sorry if I repeat problem, but I havent find similar.
QOwnNotes - version 23.1.1 - AppImage - build 1004, Ubuntu