New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remembering position in notes not only for the last note after restart #1044

Closed
illucent opened this Issue Oct 12, 2018 · 8 comments

Comments

Projects
None yet
2 participants
@illucent

illucent commented Oct 12, 2018

Expected behaviour

Switching between notes focus / mouse position at the bottom of the page.
Default position at the top of the note page.

Actual behaviour

Switching between notes resets mouse position and focus / resets / autoscrolls to the top of the page / note.

Steps to reproduce

Switch between multiple notes in 'Note list' sidebar.

Output from the debug section in the settings dialog

n/a

Relevant log output in the Log panel

n/a

@pbek

This comment has been minimized.

Owner

pbek commented Oct 12, 2018

Can you please explain in more detail and step by step what you did, what happened and what you expected.

Could you please use the issue assistant in the Help menu to post this issue so you can provide needed information more easily?

The menu entry is named Post questions, feature requests or issues.

@pbek pbek added the question label Oct 12, 2018

@illucent

This comment has been minimized.

illucent commented Oct 13, 2018

Expected behaviour

Scrollbar at the bottom of the note page or better: at the last edited line number for every note.

Actual behaviour

Not actually an issue, relates more to usability / productivity. Scrollbar at the top of the note page; scrollbar did not memorize its last position / resets position always to the top of the page every time after switching between notes in 'Note list' sidebar or after restarting QOwnNotes.

screen recording with restarting QOwnNotes (couple of seconds skyscraper desktop wallpaper):

qownnotes_peek_2018-10-13-14-56

Steps to reproduce

Switching between multiple notes in 'Note list' sidebar or restarting QOwnNotes.

Relevant log output in the Log panel

QOwnNotes Debug Information
===========================

## General Info

**Current Date**: `Sat Oct 13 15:16:24 2018`
**Version**: `18.10.2`
**Build date**: `Oct 11 2018`
**Build number**: `483`
**Platform**: `linux`
**Operating System**: `Fedora 28 (Twenty Eight)`
**Build architecture**: `x86_64`
**Current architecture**: `x86_64`
**Release**: `OBS`
**Qt Version (build)**: `5.10.1`
**Qt Version (runtime)**: `5.11.1`
**Portable mode**: `no`
**Settings path / key**: `/home/illucent/.config/PBE/QOwnNotes.conf`
**Application database path**: `/home/illucent/.local/share/PBE/QOwnNotes/QOwnNotes.sqlite`
**Application arguments**: `/usr/bin/QOwnNotes`
**Qt Debug**: `0`
**Locale (system)**: `en_GB`
**Locale (interface)**: `en`
**Icon theme**: `Zafiro-icons`
**Notes in current note folder**: `32`
**Enabled scripts**: `0`

## Server Info

**serverUrl**: *empty*
**appIsValid**: `no`
**notesPathExists**: *empty*
**connectionErrorMessage**: *empty*

## Note folders

**currentNoteFolderId**: `2`

### Note folder `default`

**id**: `1`
**isCurrent**: `no`
**activeTagId**: `-1`
**localPath**: `/mnt/svg0/qownnotes`
**remotePath**: `Notes`
**isShowSubfolders**: `yes`
**isUseGit**: `yes`
**activeNoteSubFolder name**: *empty*
**database file**: `/mnt/svg0/qownnotes/notes.sqlite`

### Note folder `notes`

**id**: `2`
**isCurrent**: `yes`
**activeTagId**: `-1`
**localPath**: `/home/illucent/gdrive/notes`
**remotePath**: `Notes`
**isShowSubfolders**: `yes`
**isUseGit**: `yes`
**activeNoteSubFolder name**: *empty*
**database file**: `/home/illucent/gdrive/notes/notes.sqlite`

### Note folder `projects`

**id**: `3`
**isCurrent**: `no`
**activeTagId**: `0`
**localPath**: `/home/illucent/gdrive/projects`
**remotePath**: `Notes`
**isShowSubfolders**: `yes`
**isUseGit**: `yes`
**activeNoteSubFolder name**: *empty*
**database file**: `/home/illucent/gdrive/projects/notes.sqlite`

## Enabled scripts

## Settings

**AboutDialog/geometry**: `<binary data>`
**ActiveNoteHistoryItem**: *empty*
**Debug/fakeOldVersionNumber**: `false`
**Debug/fileLogging**: `true`
**Editor/CurrentSchemaKey**: `EditorColorSchema-8f324af7-8070-41e5-a707-52f20ae176ea`
**Editor/autoBracketClosing**: `true`
**Editor/autoBracketRemoval**: `true`
**Editor/editorWidthInDFMOnly**: `true`
**Editor/highlightCurrentLine**: `true`
**Editor/vimMode**: `false`
**IssueAssistantDialog/geometry**: `<binary data>`
**LastUpdateCheck**: `2018-10-13T14:56:20.355`
**LinkDialog/geometry**: `<binary data>`
**LogWidget/criticalLog**: `true`
**LogWidget/debugLog**: `true`
**LogWidget/fatalLog**: `true`
**LogWidget/infoLog**: `true`
**LogWidget/scriptingLog**: `true`
**LogWidget/statusLog**: `true`
**LogWidget/warningLog**: `true`
**MainWindow/geometry**: `<binary data>`
**MainWindow/mainToolBar.iconSize**: `16`
**MainWindow/menuBarGeometry**: `<binary data>`
**MainWindow/noteTextEdit.code.font**: `Iosevka Term Slab,10,-1,5,50,0,0,0,0,0,Regular`
**MainWindow/noteTextEdit.font**: `IosevkaCC Slab,10,-1,5,50,0,0,0,0,0,Regular`
**MainWindow/noteTextView.code.font**: `Iosevka Term,10,-1,5,50,0,0,0,0,0,Regular`
**MainWindow/noteTextView.font**: `IosevkaCC Slab,10,-1,5,50,0,0,0,0,0,Regular`
**MainWindow/noteTextView.rtl**: `false`
**MainWindow/showNotesFromAllNoteSubFolders**: `false`
**NoteDiffDialog/geometry**: `<binary data>`
**PiwikClientId**: `<hidden>`
**ScriptRepositoryDialog/geometry**: `<binary data>`
**ScriptRepositoryDialog/mainSplitterState**: `<binary data>`
**SearchEngineId**: `0`
**SettingsDialog/geometry**: `<binary data>`
**SettingsDialog/mainSplitterState**: `<binary data>`
**ShareDialog/geometry**: `<binary data>`
**ShowSystemTray**: `true`
**StartHidden**: `true`
**TagAddDialog/geometry**: `<binary data>`
**WelcomeDialog/geometry**: `<binary data>`
**acceptAllExternalModifications**: `false`
**allowDifferentNoteFileName**: `true`
**allowNoteEditing**: `true`
**allowOnlyOneAppInstance**: `true`
**appMetrics/disableAppHeartbeat**: `false`
**appMetrics/disableTracking**: `false`
**appMetrics/notificationShown**: `true`
**automaticNoteFolderDatabaseClosing**: `false`
**closeTodoListAfterSave**: `false`
**cryptoKey**: `<hidden>`
**currentNoteFolderId**: `2`
**currentWorkspace**: `dd444c03-ac76-4883-9e7d-10870a3fb399`
**cursorWidth**: `1`
**customNoteFileExtensionList**: *empty*
**darkMode**: `false`
**darkModeColors**: `false`
**darkModeTrayIcon**: `false`
**defaultNoteFileExtension**: `md`
**demoNotesCreated**: `true`
**disableAutomaticUpdateDialog**: `true`
**dockWasInitializedOnce**: `true`
**externalEditorPath**: *empty*
**fullyHighlightedBlockquotes**: `true`
**gitCommitInterval**: `30`
**gitExecutablePath**: *empty*
**gitLogCommand**: *empty*
**ignoreAllExternalModifications**: `false`
**ignoreAllExternalNoteFolderChanges**: `false`
**imageScaleDown**: `true`
**imageScaleDownMaximumHeight**: `1024`
**imageScaleDownMaximumWidth**: `1024`
**insertTimeFormat**: *empty*
**interfaceLanguage**: `en`
**internalIconTheme**: `false`
**itemHeight**: `22`
**localTrash/autoCleanupDays**: `30`
**localTrash/autoCleanupEnabled**: `true`
**localTrash/supportEnabled**: `true`
**markdownHighlightingEnabled**: `true`
**networking/ignoreSSLErrors**: `true`
**networking/proxyType**: `2`
**newNoteAskHeadline**: `false`
**noteEditIsCentralWidget**: `true`
**noteListPreview**: `false`
**noteSaveIntervalTime**: `10`
**noteSubfoldersPanelDisplayAsFullTree**: `true`
**noteSubfoldersPanelHideSearch**: `true`
**noteSubfoldersPanelOrder**: `0`
**noteSubfoldersPanelShowFullPath**: `true`
**noteSubfoldersPanelShowNotesRecursively**: `true`
**noteSubfoldersPanelShowRootFolderName**: `true`
**noteSubfoldersPanelSort**: `0`
**notesPanelOrder**: `0`
**notesPanelSort**: `1`
**notesPath**: `/home/illucent/gdrive/notes`
**notifyAllExternalModifications**: `true`
**ownCloud/ignoreNonTodoCalendars**: `true`
**ownCloud/password**: `<hidden>`
**ownCloud/serverUrl**: *empty*
**ownCloud/supportEnabled**: `false`
**ownCloud/todoCalendarBackend**: `3`
**ownCloud/todoCalendarCalDAVPassword**: `<hidden>`
**ownCloud/todoCalendarCalDAVServerUrl**: *empty*
**ownCloud/todoCalendarCalDAVUsername**: *empty*
**ownCloud/todoCalendarDisplayNameList**: *empty*
**ownCloud/todoCalendarEnabledList**: *empty*
**ownCloud/todoCalendarEnabledUrlList**: *empty*
**ownCloud/todoCalendarUrlList**: *empty*
**ownCloud/userName**: *empty*
**ownCloudInfo/appIsValid**: `false`
**ownCloudInfo/connectionErrorMessage**: *empty*
**ownCloudInfo/notesPathExistsText**: *empty*
**ownCloudInfo/serverVersion**: *empty*
**previousWorkspace**: `61f594bd-d778-4df0-82e0-b90f325e6a21`
**recentNoteFolders**: `/home/illucent/gdrive/projects, /mnt/svg0/qownnotes`
**restoreCursorPosition**: `true`
**savedSearches/noteFolder-2**: `Note 2018-10-08T22.19.06, Note 2018-10-04T16.39.12, Note 2018-10-04T15.36.00, notes_notes_notes.txt 2018-10-04T14.35.11, Note 2018-09-26T02.00.56, Note 2018-09-14T21.09.21, Note 2018-09-14T20.04.40, Note 2018-09-13T00.08.25, Note 2018-09-13T00.08.09, Note 2018-09-12T14.25.14, Note 2018-08-29T22.41.48`
**savedSearches/noteFolder-3**: `Note 2018-10-04T16.14.49`
**showMenuBar**: `true`
**showStatusBar**: `true`
**tagWasAddedToNote**: `true`
**taggingShowNotesRecursively**: `false`
**tagsPanelHideSearch**: `false`
**tagsPanelOrder**: `0`
**tagsPanelSort**: `0`
**toolbar/1/items**: `action_New_note, action_Back_in_note_history, action_Forward_in_note_history, actionSave_modified_notes, action_Find_text_in_note, action_Find_note, actionReplace_in_current_note, action_Open_note_in_external_editor, actionShow_local_trash, actionAllow_note_editing, action_Reload_note_folder, actionShow_versions, action_Remove_note, action_Settings, action_Quit`
**toolbar/1/name**: `mainToolBar`
**toolbar/1/title**: `main toolbar`
**toolbar/2/items**: `actionFormat_text_bold, actionFormat_text_italic, actionStrike_out_text, actionInsert_code_block, actionInsert_block_quote`
**toolbar/2/name**: `formattingToolbar`
**toolbar/2/title**: `formatting toolbar`
**toolbar/3/items**: `actionInsert_Link_to_note, actionInsert_image, actionInsert_current_time`
**toolbar/3/name**: `insertingToolbar`
**toolbar/3/title**: `inserting toolbar`
**toolbar/4/items**: `action_Encrypt_note, actionEdit_encrypted_note, actionDecrypt_note`
**toolbar/4/name**: `encryptionToolbar`
**toolbar/4/title**: `encryption toolbar`
**toolbar/5/items**: `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**: `windowToolbar`
**toolbar/5/title**: `window toolbar`
**toolbar/6/items**: `action_Quit`
**toolbar/6/name**: `quitToolbar`
**toolbar/6/title**: `quit toolbar`
**toolbar/size**: `6`
**useUNIXNewline**: `true`
**workspace-61f594bd-d778-4df0-82e0-b90f325e6a21/name**: `full`
**workspace-61f594bd-d778-4df0-82e0-b90f325e6a21/noteSubFolderDockWidgetVisible**: `true`
**workspace-61f594bd-d778-4df0-82e0-b90f325e6a21/windowState**: `<binary data>`
**workspace-dd444c03-ac76-4883-9e7d-10870a3fb399/name**: `minimal`
**workspace-dd444c03-ac76-4883-9e7d-10870a3fb399/noteSubFolderDockWidgetVisible**: `true`
**workspace-dd444c03-ac76-4883-9e7d-10870a3fb399/windowState**: `<binary data>`
**workspaces**: `61f594bd-d778-4df0-82e0-b90f325e6a21, dd444c03-ac76-4883-9e7d-10870a3fb399`

## System environment

**CONDA_SHLVL**: `0`
**LIBVA_DRIVER_NAME**: `radeonsi`
**QTINC**: `/usr/lib64/qt5/include`
**LD_LIBRARY_PATH**: `:/lib64:/lib:/usr/lib64:/usr/lib:/usr/local/lib64:/usr/local/lib`
**COGL_ATLAS_DEFAULT_BLIT_MODE**: `framebuffer`
**XDG_CONFIG_HOME**: `/home/illucent/.config`
**__LMOD_REF_COUNT_PATH**: `/usr/libexec/python3-sphinx:1;/usr/lib64/qt5/bin:1;/usr/lib/qtchooser:1;/usr/lib64/ccache:1;/usr/local/bin:1;/usr/bin:1;/bin:1;/usr/local/sbin:1;/usr/sbin:1`
**_ModuleTable002_**: `bW9kdWxlZmlsZXMvTGludXgiLCIvdXNyL3NoYXJlL21vZHVsZWZpbGVzL0NvcmUiLCIvdXNyL3NoYXJlL2xtb2QvbG1vZC9tb2R1bGVmaWxlcy9Db3JlIix9LFsic3lzdGVtQmFzZU1QQVRIIl09Ii9ldGMvbW9kdWxlZmlsZXM6L3Vzci9zaGFyZS9tb2R1bGVmaWxlczovdXNyL3NoYXJlL21vZHVsZWZpbGVzL0xpbnV4Oi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvQ29yZTovdXNyL3NoYXJlL2xtb2QvbG1vZC9tb2R1bGVmaWxlcy9Db3JlIix9`
**XDG_MENU_PREFIX**: `lxqt-`
**LANG**: `en_GB.UTF-8`
**HISTCONTROL**: `ignoredups`
**_VIRTUALENVWRAPPER_API**: ` mkvirtualenv rmvirtualenv lsvirtualenv showvirtualenv workon add2virtualenv cdsitepackages cdvirtualenv lssitepackages toggleglobalsitepackages cpvirtualenv setvirtualenvproject mkproject cdproject mktmpenv wipeenv allvirtualenv mkvirtualenv rmvirtualenv lsvirtualenv showvirtualenv workon add2virtualenv cdsitepackages cdvirtualenv lssitepackages toggleglobalsitepackages cpvirtualenv setvirtualenvproject mkproject cdproject mktmpenv wipeenv allvirtualenv`
**DISPLAY**: `:0`
**GUESTFISH_RESTORE**: `\e[0m`
**HOSTNAME**: `soho.illucent.info`
**HARDWARE_PLATFORM**: `x86_64`
**QTDIR**: `/usr/lib64/qt5`
**__LMOD_REF_COUNT__LMFILES_**: `/usr/share/modulefiles/python-sphinx/python3-sphinx:1`
**QMAKE**: `/usr/bin/qmake-qt5`
**GUESTFISH_INIT**: `\e[1;34m`
**IMSETTINGS_INTEGRATE_DESKTOP**: `yes`
**WISECONFIGDIR**: `/usr/share/wise2/`
**LIBGL_DRI3_DISABLE**: `1`
**KDEDIRS**: `/usr`
**NO_AT_BRIDGE**: `1`
**XDG_VTNR**: `7`
**QT_SELECT**: `5`
**SSH_AUTH_SOCK**: `/tmp/ssh-Hehx7sWChiPf/agent.23738`
**XDG_SESSION_ID**: `49`
**USER**: `illucent`
**GUESTFISH_PS1**: `\[\e[1;32m\]><fs>\[\e[0;31m\] `
**DESKTOP_SESSION**: `/usr/share/xsessions/lxqt`
**MAN_POSIXLY_CORRECT**: `1`
**__LMOD_REF_COUNT_MODULEPATH**: `/etc/modulefiles:1;/usr/share/modulefiles:1;/usr/share/modulefiles/Linux:1;/usr/share/modulefiles/Core:1;/usr/share/lmod/lmod/modulefiles/Core:1`
**QT_QPA_PLATFORM_PLUGIN_PATH**: `/usr/lib64/qt5/plugins`
**__LMOD_REF_COUNT_LOADEDMODULES**: `python-sphinx/python3-sphinx:1`
**IMSETTINGS_MODULE**: `none`
**QT_QPA_PLATFORMTHEME**: `lxqt`
**PWD**: `/home/illucent`
**SSH_ASKPASS**: `/usr/libexec/openssh/lxqt-openssh-askpass`
**HOME**: `/home/illucent`
**MANPAGER**: `/usr/bin/most -s`
**BROWSER**: `chromium`
**VDPAU_DRIVER**: `radeonsi`
**SSH_AGENT_PID**: `23887`
**LMOD_VERSION**: `7.7.35`
**XDG_SESSION_TYPE**: `x11`
**QT_PLATFORM_PLUGIN**: `lxqt`
**BASH_ENV**: `/usr/share/lmod/lmod/init/bash`
**XDG_DATA_DIRS**: `/home/illucent/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share`
**QWS_NO_SHARE_FONTS**: `1`
**vblank_mode**: `3`
**XDG_SESSION_DESKTOP**: *empty*
**LMOD_sys**: `Linux`
**_ModuleTable001_**: `X01vZHVsZVRhYmxlXz17WyJNVHZlcnNpb24iXT0zLFsiY19yZWJ1aWxkVGltZSJdPWZhbHNlLFsiY19zaG9ydFRpbWUiXT1mYWxzZSxkZXB0aFQ9e30sZmFtaWx5PXt9LG1UPXtbInB5dGhvbi1zcGhpbngiXT17WyJmbiJdPSIvdXNyL3NoYXJlL21vZHVsZWZpbGVzL3B5dGhvbi1zcGhpbngvcHl0aG9uMy1zcGhpbngiLFsiZnVsbE5hbWUiXT0icHl0aG9uLXNwaGlueC9weXRob24zLXNwaGlueCIsWyJsb2FkT3JkZXIiXT0xLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09InB5dGhvbi1zcGhpbngiLH0sfSxtcGF0aEE9eyIvZXRjL21vZHVsZWZpbGVzIiwiL3Vzci9zaGFyZS9tb2R1bGVmaWxlcyIsIi91c3Ivc2hhcmUv`
**LOADEDMODULES**: `python-sphinx/python3-sphinx`
**LLVM_INSTALL_DIR**: `/usr/llvm`
**__GL_SYNC_TO_VBLANK**: `3`
**SAL_USE_VCLPLUGIN**: `kde4`
**ZPOOL_VDEV_NAME_PATH**: `YES`
**_JAVA_OPTIONS**: `-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true`
**MAIL**: `/var/spool/mail/illucent`
**QTLIB**: `/usr/lib64/qt5/lib`
**QT_PLUGIN_PATH**: `/home/illucent/.kde4/lib/kde4/plugins/:/usr/lib64/kde4/plugins/`
**VIRTUALENVWRAPPER_SCRIPT**: `/usr/bin/virtualenvwrapper-3.sh`
**SHELL**: `/bin/bash`
**TERM**: `qterminal`
**XDG_SESSION_CLASS**: `user`
**XDG_SEAT_PATH**: `/org/freedesktop/DisplayManager/Seat0`
**FREETYPE_PROPERTIES**: `truetype:interpreter-version=38`
**QT_IM_MODULE**: `xim`
**XMODIFIERS**: `@im=none`
**_ModuleTable_Sz_**: `2`
**XDG_CURRENT_DESKTOP**: `X-LXQt`
**MOZ_GMP_PATH**: `/usr/lib64/mozilla/plugins/gmp-gmpopenh264/system-installed`
**XDG_SEAT**: `seat0`
**SHLVL**: `1`
**MANPATH**: `/usr/share/lmod/lmod/share/man:`
**GOOGLE_DEFAULT_CLIENT_ID**: `654327048601-0c519i2kqdi8ph6jr6370uv5mkrkis4v.apps.googleusercontent.com`
**PLASMA_USE_QT_SCALING**: `1`
**MODULEPATH**: `/etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core`
**XDG_CACHE_HOME**: `/home/illucent/.cache`
**LOGNAME**: `illucent`
**DBUS_SESSION_BUS_ADDRESS**: `unix:path=/run/user/2222/bus`
**QT_LOGGING_RULES**: `*=false`
**XDG_RUNTIME_DIR**: `/run/user/2222`
**XAUTHORITY**: `/home/illucent/.Xauthority`
**XDG_DATA_HOME**: `/home/illucent/.local/share`
**MODULEPATH_ROOT**: `/usr/share/modulefiles`
**XDG_SESSION_PATH**: `/org/freedesktop/DisplayManager/Session1`
**QT_AUTO_SCREEN_SCALE_FACTOR**: `0`
**XDG_CONFIG_DIRS**: `/etc/xdg`
**GOOGLE_API_KEY**: `AIzaSyDAR0jRw3sbQz8J73pYUh_dYIDIziArqZY`
**PATH**: `/usr/libexec/python3-sphinx:/usr/lib64/qt5/bin:/usr/lib/qtchooser:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/bin`
**_LMFILES_**: `/usr/share/modulefiles/python-sphinx/python3-sphinx`
**GUESTFISH_OUTPUT**: `\e[0m`
**MODULESHOME**: `/usr/share/lmod/lmod`
**LMOD_SETTARG_FULL_SUPPORT**: `no`
**MANWIDTH**: `79`
**HISTSIZE**: `1000`
**LMOD_PKG**: `/usr/share/lmod/lmod`
**GOOGLE_DEFAULT_CLIENT_SECRET**: `ptt9LDLQeXU94MsmRgDQwNmf`
**LMOD_CMD**: `/usr/share/lmod/lmod/libexec/lmod`
**LESSOPEN**: `||/usr/bin/lesspipe.sh %s`
**GTK_IM_MODULE**: `gtk-im-context-simple`
**LMOD_DIR**: `/usr/share/lmod/lmod/libexec`
**BASH_FUNC_man%%**: 

() { env LESS_TERMCAP_mb=$(printf "\e[1;31m") LESS_TERMCAP_md=$(printf "\e[1;31m") LESS_TERMCAP_me=$(printf "\e[0m") LESS_TERMCAP_se=$(printf "\e[0m") LESS_TERMCAP_so=$(printf "\e[1;44;33m") LESS_TERMCAP_ue=$(printf "\e[0m") LESS_TERMCAP_us=$(printf "\e[1;32m") man "$@"
}

**BASH_FUNC_mansearch%%**: 

() { man "${1}" | grep -iC2 "${2}" | less
}

**BASH_FUNC_module%%**: 

() { eval $($LMOD_CMD bash "$@") && eval $(${LMOD_SETTARG_CMD:-:} -s sh)
}

**BASH_FUNC_ml%%**: 

() { eval $($LMOD_DIR/ml_cmd "$@")
}

**LXQT_SESSION_CONFIG**: `session`
**GTK_CSD**: `0`
**GTK_OVERLAY_SCROLLING**: `0`

Information about the application, settings and environment

QOwnNotes Debug Information

General Info

Current Date: Sat Oct 13 15:17:24 2018
Version: 18.10.2
Build date: Oct 11 2018
Build number: 483
Platform: linux
Operating System: Fedora 28 (Twenty Eight)
Build architecture: x86_64
Current architecture: x86_64
Release: OBS
Qt Version (build): 5.10.1
Qt Version (runtime): 5.11.1
Portable mode: no
Settings path / key: /home/illucent/.config/PBE/QOwnNotes.conf
Application database path: /home/illucent/.local/share/PBE/QOwnNotes/QOwnNotes.sqlite
Application arguments: /usr/bin/QOwnNotes
Qt Debug: 0
Locale (system): en_GB
Locale (interface): en
Icon theme: Zafiro-icons
Notes in current note folder: 32
Enabled scripts: 0

Server Info

serverUrl: empty
appIsValid: no
notesPathExists: empty
connectionErrorMessage: empty

Note folders

currentNoteFolderId: 2

Note folder default

id: 1
isCurrent: no
activeTagId: -1
localPath: /mnt/svg0/qownnotes
remotePath: Notes
isShowSubfolders: yes
isUseGit: yes
activeNoteSubFolder name: empty
database file: /mnt/svg0/qownnotes/notes.sqlite

Note folder notes

id: 2
isCurrent: yes
activeTagId: -1
localPath: /home/illucent/gdrive/notes
remotePath: Notes
isShowSubfolders: yes
isUseGit: yes
activeNoteSubFolder name: empty
database file: /home/illucent/gdrive/notes/notes.sqlite

Note folder projects

id: 3
isCurrent: no
activeTagId: 0
localPath: /home/illucent/gdrive/projects
remotePath: Notes
isShowSubfolders: yes
isUseGit: yes
activeNoteSubFolder name: empty
database file: /home/illucent/gdrive/projects/notes.sqlite

Enabled scripts

Settings

AboutDialog/geometry: <binary data>
ActiveNoteHistoryItem: empty
Debug/fakeOldVersionNumber: false
Debug/fileLogging: true
Editor/CurrentSchemaKey: EditorColorSchema-8f324af7-8070-41e5-a707-52f20ae176ea
Editor/autoBracketClosing: true
Editor/autoBracketRemoval: true
Editor/editorWidthInDFMOnly: true
Editor/highlightCurrentLine: true
Editor/vimMode: false
IssueAssistantDialog/geometry: <binary data>
LastUpdateCheck: 2018-10-13T14:56:20.355
LinkDialog/geometry: <binary data>
LogWidget/criticalLog: true
LogWidget/debugLog: true
LogWidget/fatalLog: true
LogWidget/infoLog: true
LogWidget/scriptingLog: true
LogWidget/statusLog: true
LogWidget/warningLog: true
MainWindow/geometry: <binary data>
MainWindow/mainToolBar.iconSize: 16
MainWindow/menuBarGeometry: <binary data>
MainWindow/noteTextEdit.code.font: Iosevka Term Slab,10,-1,5,50,0,0,0,0,0,Regular
MainWindow/noteTextEdit.font: IosevkaCC Slab,10,-1,5,50,0,0,0,0,0,Regular
MainWindow/noteTextView.code.font: Iosevka Term,10,-1,5,50,0,0,0,0,0,Regular
MainWindow/noteTextView.font: IosevkaCC Slab,10,-1,5,50,0,0,0,0,0,Regular
MainWindow/noteTextView.rtl: false
MainWindow/showNotesFromAllNoteSubFolders: false
NoteDiffDialog/geometry: <binary data>
PiwikClientId: <hidden>
ScriptRepositoryDialog/geometry: <binary data>
ScriptRepositoryDialog/mainSplitterState: <binary data>
SearchEngineId: 0
SettingsDialog/geometry: <binary data>
SettingsDialog/mainSplitterState: <binary data>
ShareDialog/geometry: <binary data>
ShowSystemTray: true
StartHidden: true
TagAddDialog/geometry: <binary data>
WelcomeDialog/geometry: <binary data>
acceptAllExternalModifications: false
allowDifferentNoteFileName: true
allowNoteEditing: true
allowOnlyOneAppInstance: true
appMetrics/disableAppHeartbeat: false
appMetrics/disableTracking: false
appMetrics/notificationShown: true
automaticNoteFolderDatabaseClosing: false
closeTodoListAfterSave: false
cryptoKey: <hidden>
currentNoteFolderId: 2
currentWorkspace: dd444c03-ac76-4883-9e7d-10870a3fb399
cursorWidth: 1
customNoteFileExtensionList: empty
darkMode: false
darkModeColors: false
darkModeTrayIcon: false
defaultNoteFileExtension: md
demoNotesCreated: true
disableAutomaticUpdateDialog: true
dockWasInitializedOnce: true
externalEditorPath: empty
fullyHighlightedBlockquotes: true
gitCommitInterval: 30
gitExecutablePath: empty
gitLogCommand: empty
ignoreAllExternalModifications: false
ignoreAllExternalNoteFolderChanges: false
imageScaleDown: true
imageScaleDownMaximumHeight: 1024
imageScaleDownMaximumWidth: 1024
insertTimeFormat: empty
interfaceLanguage: en
internalIconTheme: false
itemHeight: 22
localTrash/autoCleanupDays: 30
localTrash/autoCleanupEnabled: true
localTrash/supportEnabled: true
markdownHighlightingEnabled: true
networking/ignoreSSLErrors: true
networking/proxyType: 2
newNoteAskHeadline: false
noteEditIsCentralWidget: true
noteListPreview: false
noteSaveIntervalTime: 10
noteSubfoldersPanelDisplayAsFullTree: true
noteSubfoldersPanelHideSearch: true
noteSubfoldersPanelOrder: 0
noteSubfoldersPanelShowFullPath: true
noteSubfoldersPanelShowNotesRecursively: true
noteSubfoldersPanelShowRootFolderName: true
noteSubfoldersPanelSort: 0
notesPanelOrder: 0
notesPanelSort: 1
notesPath: /home/illucent/gdrive/notes
notifyAllExternalModifications: true
ownCloud/ignoreNonTodoCalendars: true
ownCloud/password: <hidden>
ownCloud/serverUrl: empty
ownCloud/supportEnabled: false
ownCloud/todoCalendarBackend: 3
ownCloud/todoCalendarCalDAVPassword: <hidden>
ownCloud/todoCalendarCalDAVServerUrl: empty
ownCloud/todoCalendarCalDAVUsername: empty
ownCloud/todoCalendarDisplayNameList: empty
ownCloud/todoCalendarEnabledList: empty
ownCloud/todoCalendarEnabledUrlList: empty
ownCloud/todoCalendarUrlList: empty
ownCloud/userName: empty
ownCloudInfo/appIsValid: false
ownCloudInfo/connectionErrorMessage: empty
ownCloudInfo/notesPathExistsText: empty
ownCloudInfo/serverVersion: empty
previousWorkspace: 61f594bd-d778-4df0-82e0-b90f325e6a21
recentNoteFolders: /home/illucent/gdrive/projects, /mnt/svg0/qownnotes
restoreCursorPosition: true
savedSearches/noteFolder-2: Note 2018-10-08T22.19.06, Note 2018-10-04T16.39.12, Note 2018-10-04T15.36.00, notes_notes_notes.txt 2018-10-04T14.35.11, Note 2018-09-26T02.00.56, Note 2018-09-14T21.09.21, Note 2018-09-14T20.04.40, Note 2018-09-13T00.08.25, Note 2018-09-13T00.08.09, Note 2018-09-12T14.25.14, Note 2018-08-29T22.41.48
savedSearches/noteFolder-3: Note 2018-10-04T16.14.49
showMenuBar: true
showStatusBar: true
tagWasAddedToNote: true
taggingShowNotesRecursively: false
tagsPanelHideSearch: false
tagsPanelOrder: 0
tagsPanelSort: 0
toolbar/1/items: action_New_note, action_Back_in_note_history, action_Forward_in_note_history, actionSave_modified_notes, action_Find_text_in_note, action_Find_note, actionReplace_in_current_note, action_Open_note_in_external_editor, actionShow_local_trash, actionAllow_note_editing, action_Reload_note_folder, actionShow_versions, action_Remove_note, action_Settings, action_Quit
toolbar/1/name: mainToolBar
toolbar/1/title: main toolbar
toolbar/2/items: actionFormat_text_bold, actionFormat_text_italic, actionStrike_out_text, actionInsert_code_block, actionInsert_block_quote
toolbar/2/name: formattingToolbar
toolbar/2/title: formatting toolbar
toolbar/3/items: actionInsert_Link_to_note, actionInsert_image, actionInsert_current_time
toolbar/3/name: insertingToolbar
toolbar/3/title: inserting toolbar
toolbar/4/items: action_Encrypt_note, actionEdit_encrypted_note, actionDecrypt_note
toolbar/4/name: encryptionToolbar
toolbar/4/title: encryption toolbar
toolbar/5/items: 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: windowToolbar
toolbar/5/title: window toolbar
toolbar/6/items: action_Quit
toolbar/6/name: quitToolbar
toolbar/6/title: quit toolbar
toolbar/size: 6
useUNIXNewline: true
workspace-61f594bd-d778-4df0-82e0-b90f325e6a21/name: full
workspace-61f594bd-d778-4df0-82e0-b90f325e6a21/noteSubFolderDockWidgetVisible: true
workspace-61f594bd-d778-4df0-82e0-b90f325e6a21/windowState: <binary data>
workspace-dd444c03-ac76-4883-9e7d-10870a3fb399/name: minimal
workspace-dd444c03-ac76-4883-9e7d-10870a3fb399/noteSubFolderDockWidgetVisible: true
workspace-dd444c03-ac76-4883-9e7d-10870a3fb399/windowState: <binary data>
workspaces: 61f594bd-d778-4df0-82e0-b90f325e6a21, dd444c03-ac76-4883-9e7d-10870a3fb399

System environment

CONDA_SHLVL: 0
LIBVA_DRIVER_NAME: radeonsi
QTINC: /usr/lib64/qt5/include
LD_LIBRARY_PATH: :/lib64:/lib:/usr/lib64:/usr/lib:/usr/local/lib64:/usr/local/lib
COGL_ATLAS_DEFAULT_BLIT_MODE: framebuffer
XDG_CONFIG_HOME: /home/illucent/.config
__LMOD_REF_COUNT_PATH: /usr/libexec/python3-sphinx:1;/usr/lib64/qt5/bin:1;/usr/lib/qtchooser:1;/usr/lib64/ccache:1;/usr/local/bin:1;/usr/bin:1;/bin:1;/usr/local/sbin:1;/usr/sbin:1
ModuleTable002: bW9kdWxlZmlsZXMvTGludXgiLCIvdXNyL3NoYXJlL21vZHVsZWZpbGVzL0NvcmUiLCIvdXNyL3NoYXJlL2xtb2QvbG1vZC9tb2R1bGVmaWxlcy9Db3JlIix9LFsic3lzdGVtQmFzZU1QQVRIIl09Ii9ldGMvbW9kdWxlZmlsZXM6L3Vzci9zaGFyZS9tb2R1bGVmaWxlczovdXNyL3NoYXJlL21vZHVsZWZpbGVzL0xpbnV4Oi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvQ29yZTovdXNyL3NoYXJlL2xtb2QvbG1vZC9tb2R1bGVmaWxlcy9Db3JlIix9
XDG_MENU_PREFIX: lxqt-
LANG: en_GB.UTF-8
HISTCONTROL: ignoredups
_VIRTUALENVWRAPPER_API: mkvirtualenv rmvirtualenv lsvirtualenv showvirtualenv workon add2virtualenv cdsitepackages cdvirtualenv lssitepackages toggleglobalsitepackages cpvirtualenv setvirtualenvproject mkproject cdproject mktmpenv wipeenv allvirtualenv mkvirtualenv rmvirtualenv lsvirtualenv showvirtualenv workon add2virtualenv cdsitepackages cdvirtualenv lssitepackages toggleglobalsitepackages cpvirtualenv setvirtualenvproject mkproject cdproject mktmpenv wipeenv allvirtualenv
DISPLAY: :0
GUESTFISH_RESTORE: \e[0m
HOSTNAME: soho.illucent.info
HARDWARE_PLATFORM: x86_64
QTDIR: /usr/lib64/qt5
_LMOD_REF_COUNT__LMFILES: /usr/share/modulefiles/python-sphinx/python3-sphinx:1
QMAKE: /usr/bin/qmake-qt5
GUESTFISH_INIT: \e[1;34m
IMSETTINGS_INTEGRATE_DESKTOP: yes
WISECONFIGDIR: /usr/share/wise2/
LIBGL_DRI3_DISABLE: 1
KDEDIRS: /usr
NO_AT_BRIDGE: 1
XDG_VTNR: 7
QT_SELECT: 5
SSH_AUTH_SOCK: /tmp/ssh-Hehx7sWChiPf/agent.23738
XDG_SESSION_ID: 49
USER: illucent
GUESTFISH_PS1: \[\e[1;32m\]><fs>\[\e[0;31m\]
DESKTOP_SESSION: /usr/share/xsessions/lxqt
MAN_POSIXLY_CORRECT: 1
__LMOD_REF_COUNT_MODULEPATH: /etc/modulefiles:1;/usr/share/modulefiles:1;/usr/share/modulefiles/Linux:1;/usr/share/modulefiles/Core:1;/usr/share/lmod/lmod/modulefiles/Core:1
QT_QPA_PLATFORM_PLUGIN_PATH: /usr/lib64/qt5/plugins
__LMOD_REF_COUNT_LOADEDMODULES: python-sphinx/python3-sphinx:1
IMSETTINGS_MODULE: none
QT_QPA_PLATFORMTHEME: lxqt
PWD: /home/illucent
SSH_ASKPASS: /usr/libexec/openssh/lxqt-openssh-askpass
HOME: /home/illucent
MANPAGER: /usr/bin/most -s
BROWSER: chromium
VDPAU_DRIVER: radeonsi
SSH_AGENT_PID: 23887
LMOD_VERSION: 7.7.35
XDG_SESSION_TYPE: x11
QT_PLATFORM_PLUGIN: lxqt
BASH_ENV: /usr/share/lmod/lmod/init/bash
XDG_DATA_DIRS: /home/illucent/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
QWS_NO_SHARE_FONTS: 1
vblank_mode: 3
XDG_SESSION_DESKTOP: empty
LMOD_sys: Linux
ModuleTable001: X01vZHVsZVRhYmxlXz17WyJNVHZlcnNpb24iXT0zLFsiY19yZWJ1aWxkVGltZSJdPWZhbHNlLFsiY19zaG9ydFRpbWUiXT1mYWxzZSxkZXB0aFQ9e30sZmFtaWx5PXt9LG1UPXtbInB5dGhvbi1zcGhpbngiXT17WyJmbiJdPSIvdXNyL3NoYXJlL21vZHVsZWZpbGVzL3B5dGhvbi1zcGhpbngvcHl0aG9uMy1zcGhpbngiLFsiZnVsbE5hbWUiXT0icHl0aG9uLXNwaGlueC9weXRob24zLXNwaGlueCIsWyJsb2FkT3JkZXIiXT0xLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09InB5dGhvbi1zcGhpbngiLH0sfSxtcGF0aEE9eyIvZXRjL21vZHVsZWZpbGVzIiwiL3Vzci9zaGFyZS9tb2R1bGVmaWxlcyIsIi91c3Ivc2hhcmUv
LOADEDMODULES: python-sphinx/python3-sphinx
LLVM_INSTALL_DIR: /usr/llvm
__GL_SYNC_TO_VBLANK: 3
SAL_USE_VCLPLUGIN: kde4
ZPOOL_VDEV_NAME_PATH: YES
_JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
MAIL: /var/spool/mail/illucent
QTLIB: /usr/lib64/qt5/lib
QT_PLUGIN_PATH: /home/illucent/.kde4/lib/kde4/plugins/:/usr/lib64/kde4/plugins/
VIRTUALENVWRAPPER_SCRIPT: /usr/bin/virtualenvwrapper-3.sh
SHELL: /bin/bash
TERM: qterminal
XDG_SESSION_CLASS: user
XDG_SEAT_PATH: /org/freedesktop/DisplayManager/Seat0
FREETYPE_PROPERTIES: truetype:interpreter-version=38
QT_IM_MODULE: xim
XMODIFIERS: @im=none
ModuleTable_Sz: 2
XDG_CURRENT_DESKTOP: X-LXQt
MOZ_GMP_PATH: /usr/lib64/mozilla/plugins/gmp-gmpopenh264/system-installed
XDG_SEAT: seat0
SHLVL: 1
MANPATH: /usr/share/lmod/lmod/share/man:
GOOGLE_DEFAULT_CLIENT_ID: 654327048601-0c519i2kqdi8ph6jr6370uv5mkrkis4v.apps.googleusercontent.com
PLASMA_USE_QT_SCALING: 1
MODULEPATH: /etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core
XDG_CACHE_HOME: /home/illucent/.cache
LOGNAME: illucent
DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/2222/bus
QT_LOGGING_RULES: *=false
XDG_RUNTIME_DIR: /run/user/2222
XAUTHORITY: /home/illucent/.Xauthority
XDG_DATA_HOME: /home/illucent/.local/share
MODULEPATH_ROOT: /usr/share/modulefiles
XDG_SESSION_PATH: /org/freedesktop/DisplayManager/Session1
QT_AUTO_SCREEN_SCALE_FACTOR: 0
XDG_CONFIG_DIRS: /etc/xdg
GOOGLE_API_KEY: AIzaSyDAR0jRw3sbQz8J73pYUh_dYIDIziArqZY
PATH: /usr/libexec/python3-sphinx:/usr/lib64/qt5/bin:/usr/lib/qtchooser:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/bin
LMFILES: /usr/share/modulefiles/python-sphinx/python3-sphinx
GUESTFISH_OUTPUT: \e[0m
MODULESHOME: /usr/share/lmod/lmod
LMOD_SETTARG_FULL_SUPPORT: no
MANWIDTH: 79
HISTSIZE: 1000
LMOD_PKG: /usr/share/lmod/lmod
GOOGLE_DEFAULT_CLIENT_SECRET: ptt9LDLQeXU94MsmRgDQwNmf
LMOD_CMD: /usr/share/lmod/lmod/libexec/lmod
LESSOPEN: ||/usr/bin/lesspipe.sh %s
GTK_IM_MODULE: gtk-im-context-simple
LMOD_DIR: /usr/share/lmod/lmod/libexec
BASH_FUNC_man%%:

() {  env LESS_TERMCAP_mb=$(printf "\\e[1;31m") LESS_TERMCAP_md=$(printf "\\e[1;31m") LESS_TERMCAP_me=$(printf "\\e[0m") LESS_TERMCAP_se=$(printf "\\e[0m") LESS_TERMCAP_so=$(printf "\\e[1;44;33m") LESS_TERMCAP_ue=$(printf "\\e[0m") LESS_TERMCAP_us=$(printf "\\e[1;32m") man "$@"
}

BASH_FUNC_mansearch%%:

() {  man "${1}" | grep -iC2 "${2}" | less
}

BASH_FUNC_module%%:

() {  eval $($LMOD_CMD bash "$@") && eval $(${LMOD_SETTARG_CMD:-:} -s sh)
}

BASH_FUNC_ml%%:

() {  eval $($LMOD_DIR/ml_cmd "$@")
}

LXQT_SESSION_CONFIG: session
GTK_CSD: 0
GTK_OVERLAY_SCROLLING: 0

@pbek

This comment has been minimized.

Owner

pbek commented Oct 13, 2018

Thank you for the more detailed report. If I close QOwnNotes the cursor position AND and the scrollbar position are restored when I start QOwnNotes again. This also works for you as I can see in the video. But you want that the position of every note that you viewed is restored, correct?

@illucent

This comment has been minimized.

illucent commented Oct 13, 2018

yes

@pbek pbek added enhancement and removed question labels Oct 14, 2018

@pbek pbek changed the title from Default position at the top of the note page to Remembering position in notes not only for the last note after restart Oct 14, 2018

pbek added a commit that referenced this issue Oct 15, 2018

pbek added a commit that referenced this issue Oct 18, 2018

pbek added a commit that referenced this issue Oct 18, 2018

@pbek

This comment has been minimized.

Owner

pbek commented Oct 18, 2018

18.10.3

  • the last 200 entries of the note history will now be stored when you switch
    note folders or quit the application and will be restored accordingly
    • please visit QOwnNotes shortcuts
      for a list of all shortcuts to navigate the note history
    • if you have enabled the setting Restore cursor position when opening a note
      in the General settings your position in notes will be restored if
      you restart the application or switch between note folders

@pbek pbek added this to the 18.10.3 milestone Oct 18, 2018

@pbek

This comment has been minimized.

Owner

pbek commented Oct 18, 2018

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

@pbek pbek closed this Oct 24, 2018

@illucent

This comment has been minimized.

illucent commented Oct 27, 2018

Works. Thanks a lot.
QOwnNotes - version 18.10.5 - OBS - build 486

@pbek

This comment has been minimized.

Owner

pbek commented Oct 27, 2018

Great, thank you for testing! It was a lot of work but I love the feature ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment