QOwnNotes icon indicating copy to clipboard operation
QOwnNotes copied to clipboard

[I] Coming back to the distraction-free mode disables editing

Open panbogdan opened this issue 6 years ago • 8 comments

Expected behaviour

You should be able to type in whenever you go into the distraction-free mode.

Actual behaviour

You cannot type in, as the edit window is not under focus. You have to either press F4 or click by mouse somewhere inside in the edit area to bring the focus before you are able to type in.

Steps to reproduce

  1. Being in preview only mode, select a note in the Note panel list.
  2. Press Ctrl+Shift+D to go into the distraction-free mode.
  3. Type in any words (it works)
  4. Go out of the distraction-free mode
  5. Go again in the distraction-free mode
  6. Type in anything

Relevant log output in the Log panel

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

## General Info

**Current Date**: `Wed May 6 22:36:24 2020`
**Version**: `20.5.5`
**Build date**: `May  6 2020`
**Build number**: `713`
**Platform**: `linux`
**Operating System**: `Ubuntu 20.04 LTS`
**Build architecture**: `x86_64`
**Current architecture**: `x86_64`
**Release**: `Launchpad PPA`
**Qt Version (build)**: `5.12.8`
**Qt Version (runtime)**: `5.12.8`
**Portable mode**: `no`
**Settings path / key**: `/home/bogdan/.config/PBE/QOwnNotes.conf`
**Application database path**: `/home/bogdan/.local/share/PBE/QOwnNotes/QOwnNotes.sqlite`
**Application arguments**: `QOwnNotes`
**Qt Debug**: `0`
**Locale (system)**: `en_US`
**Locale (interface)**: *empty*
**Primary screen resolution**: `1600x900`
**Icon theme**: `Yaru`
**Notes in current note folder**: `188`
**Calendar items**: `0`
**Enabled scripts**: `0`

## Server Info

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

## Spellchecking

**Enabled**: `true`
**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/bogdan/.local/share/PBE/QOwnNotes/dicts`

## Note folders

**currentNoteFolderId**: `1`

### Note folder `My Wiki`

**id**: `1`
**isCurrent**: `yes`
**activeTagId**: `-1`
**localPath**: `/home/bogdan/Dropbox`
**remotePath**: `Notes`
**cloudConnectionId**: `1`
**isShowSubfolders**: `yes`
**isUseGit**: `no`
**activeNoteSubFolder name**: `Intentions`
**database file**: `/home/bogdan/Dropbox/notes.sqlite`

## Cloud connections

### Cloud connection `Default`

**id**: `1`
**isCurrent**: `yes`
**serverUrl**: *empty*
**username**: *empty*

## Enabled scripts

## Settings

**AboutDialog/geometry** (QByteArray): `<binary data>`
**ActionDialog/geometry** (QByteArray): `<binary data>`
**ActiveNoteHistoryItem** (NoteHistoryItem): `<binary data>`
**AttachmentDialog/geometry** (QByteArray): `<binary data>`
**Debug/fakeOldVersionNumber** (QString): `false`
**Debug/fileLogging** (QString): `false`
**DistractionFreeMode/editorWidthCustom** (QString): `85`
**DistractionFreeMode/editorWidthMode** (QString): `5`
**DistractionFreeMode/isEnabled** (bool): `false`
**DistractionFreeMode/menuBarGeometry** (QByteArray): `<binary data>`
**DistractionFreeMode/menuBarHeight** (int): `22`
**DistractionFreeMode/menuBarVisible** (bool): `true`
**DistractionFreeMode/windowState** (QByteArray): `<binary data>`
**Editor/CurrentSchemaKey** (QString): `EditorColorSchema-6033d61b-cb96-46d5-a3a8-20d5172017eb`
**Editor/autoBracketClosing** (QString): `true`
**Editor/autoBracketRemoval** (QString): `true`
**Editor/centerCursor** (QString): `false`
**Editor/disableCursorBlinking** (QString): `false`
**Editor/editorWidthInDFMOnly** (QString): `true`
**Editor/highlightCurrentLine** (QString): `true`
**Editor/indentSize** (QString): `4`
**Editor/useTabIndent** (QString): `false`
**Editor/vimMode** (QString): `false`
**FileDialog/LastPath** (QString): `/home/bogdan/Dropbox/Philosophy/Free Will`
**FileDialog/LastPath-InsertAttachment** (QString): `/home/bogdan/Dropbox/Philosophy/Free Will`
**IssueAssistantDialog/geometry** (QByteArray): `<binary data>`
**LastUpdateCheck** (QDateTime): `2020-05-06T22:13:17.072`
**LinkDialog/geometry** (QByteArray): `<binary data>`
**LinkDialog/lastSelectedFileUrl** (QString): `file:///home/bogdan/Dropbox/Intentions/DataSense/DataSense.xmind`
**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): `<binary data>`
**MainWindow/mainToolBar.iconSize** (QString): `24`
**MainWindow/menuBarGeometry** (QByteArray): `<binary data>`
**MainWindow/noteSubFolderTreeWidgetExpandState-1** (QStringList): `Drafts, Journals, Intentions`
**MainWindow/noteTextEdit.code.font** (QString): `monospace,13,-1,2,50,0,0,0,0,0`
**MainWindow/noteTextEdit.font** (QString): `Ubuntu,13,-1,5,50,0,0,0,0,0`
**MainWindow/noteTextView.code.font** (QString): `monospace,11,-1,2,50,0,0,0,0,0`
**MainWindow/noteTextView.font** (QString): `Ubuntu Mono,13,-1,5,50,0,0,0,0,0`
**MainWindow/noteTextView.ignoreCodeFontSize** (QString): `true`
**MainWindow/noteTextView.rtl** (QString): `false`
**MainWindow/noteTextView.underline** (QString): `true`
**MainWindow/noteTextView.useEditorStyles** (QString): `true`
**MainWindow/noteTextView.useInternalExportStyling** (QString): `true`
**MainWindow/showNotesFromAllNoteSubFolders** (bool): `false`
**MessageBoxOverride/readonly-mode-allow** (QString): `16384`
**NoteDialog/geometry** (QByteArray): `<binary data>`
**NoteDiffDialog/geometry** (QByteArray): `<binary data>`
**NoteFolder-1/NoteTabNameList** (QStringList): `Data Drivern Orgs`
**NoteFolder-1/NoteTabStickinessList** (QStringList): *empty*
**NoteFolder-1/NoteTabSubFolderPathDataList** (QStringList): `Intentions`
**NoteFolder-1/allowDifferentNoteFileName** (bool): `true`
**NoteHistory-1** (QVariantList): `<variant list with 137 item(s)>`
**NoteHistoryCurrentIndex-1** (int): `136`
**PiwikClientId** (QString): `<hidden>`
**ScriptRepositoryDialog/geometry** (QByteArray): `<binary data>`
**ScriptRepositoryDialog/mainSplitterState** (QByteArray): `<binary data>`
**SearchEngineId** (QString): `2`
**SettingsDialog/geometry** (QByteArray): `<binary data>`
**SettingsDialog/mainSplitterState** (QByteArray): `<binary data>`
**ShareDialog/geometry** (QByteArray): `<binary data>`
**Shortcuts/MainWindow-customAction_journalEntry** (QString): *empty*
**Shortcuts/MainWindow-customAction_journalEntryTomorrow** (QString): *empty*
**ShowSystemTray** (QString): `true`
**StartHidden** (QString): `false`
**UpdateDialog/geometry** (QByteArray): `<binary data>`
**WelcomeDialog/geometry** (QByteArray): `<binary data>`
**acceptAllExternalModifications** (QString): `false`
**allowNoteEditing** (bool): `true`
**allowOnlyOneAppInstance** (QString): `true`
**appMetrics/disableAppHeartbeat** (QString): `false`
**appMetrics/disableTracking** (QString): `false`
**appMetrics/notificationShown** (QString): `true`
**automaticNoteFolderDatabaseClosing** (QString): `false`
**checkSpelling** (bool): `true`
**closeTodoListAfterSave** (QString): `false`
**cryptoKey** (QString): `<hidden>`
**currentNoteFolderId** (QString): `1`
**currentWorkspace** (QString): `initial`
**cursorWidth** (QString): `1`
**customNoteFileExtensionList**: *empty*
**darkMode** (QString): `false`
**darkModeColors** (QString): `false`
**darkModeIconTheme** (QString): `false`
**darkModeTrayIcon** (QString): `false`
**defaultNoteFileExtension** (QString): `md`
**demoNotesCreated** (QString): `true`
**disableAutomaticUpdateDialog** (QString): `true`
**disableSavedSearchesAutoCompletion** (QString): `false`
**dockWasInitializedOnce** (QString): `true`
**enableNoteTree** (QString): `false`
**enableSocketServer** (QString): `true`
**externalEditorPath** (QString): *empty*
**fullyHighlightedBlockquotes** (QString): `true`
**gitCommitInterval** (QString): `30`
**gitExecutablePath** (QString): *empty*
**gitLogCommand** (QString): *empty*
**guiFirstRunInit** (bool): `true`
**ignoreAllExternalModifications** (QString): `false`
**ignoreAllExternalNoteFolderChanges** (QString): `false`
**ignoreNoteSubFolders** (QString): `^\.`
**imageScaleDown** (QString): `false`
**imageScaleDownMaximumHeight** (QString): `1024`
**imageScaleDownMaximumWidth** (QString): `1024`
**initialLayoutIdentifier** (QString): `preview-only`
**insertTimeFormat** (QString): *empty*
**interfaceFontSize** (QString): `11`
**interfaceLanguage** (QString): *empty*
**internalIconTheme** (QString): `false`
**itemHeight** (QString): `17`
**legacyLinking** (QString): `false`
**localTrash/autoCleanupDays** (QString): `30`
**localTrash/autoCleanupEnabled** (QString): `true`
**localTrash/supportEnabled** (QString): `false`
**markdownHighlightingEnabled** (QString): `true`
**navigationPanelHideSearch** (QString): `true`
**networking/ignoreSSLErrors** (QString): `true`
**networking/proxyType** (QString): `2`
**newNoteAskHeadline** (QString): `false`
**noteEditIsCentralWidget** (QString): `false`
**noteListPreview** (QString): `false`
**noteSaveIntervalTime** (QString): `10`
**noteSubfoldersPanelDisplayAsFullTree** (QString): `true`
**noteSubfoldersPanelHideSearch** (QString): `false`
**noteSubfoldersPanelOrder** (QString): `0`
**noteSubfoldersPanelShowFullPath** (QString): `false`
**noteSubfoldersPanelShowNotesRecursively** (QString): `false`
**noteSubfoldersPanelShowRootFolderName** (QString): `true`
**noteSubfoldersPanelSort** (QString): `0`
**notesPanelOrder** (QString): `0`
**notesPanelSort** (QString): `1`
**notesPath** (QString): `/home/bogdan/Dropbox`
**notifyAllExternalModifications** (QString): `true`
**overrideInterfaceFontSize** (QString): `false`
**ownCloud/supportEnabled** (QString): `false`
**ownCloud/todoCalendarBackend** (QString): `3`
**ownCloud/todoCalendarCalDAVPassword** (QString): `<hidden>`
**ownCloud/todoCalendarCalDAVServerUrl** (QString): *empty*
**ownCloud/todoCalendarCalDAVUsername** (QString): *empty*
**ownCloud/todoCalendarCloudConnectionId** (QString): `1`
**ownCloud/todoCalendarDisplayNameList**: *empty*
**ownCloud/todoCalendarEnabledList**: *empty*
**ownCloud/todoCalendarEnabledUrlList**: *empty*
**ownCloud/todoCalendarUrlList**: *empty*
**ownCloudInfo/appIsValid** (bool): `false`
**ownCloudInfo/connectionErrorMessage** (QString): *empty*
**ownCloudInfo/notesPathExistsText** (QString): *empty*
**ownCloudInfo/serverVersion** (QString): *empty*
**restoreCursorPosition** (QString): `true`
**restoreLastNoteAtStartup** (QString): `true`
**restoreNoteTabs** (QString): `true`
**savedSearches/noteFolder-1** (QStringList): `Note 2020-05-06T13.35.24, Croa, Note 2020-05-06T10.00.25, Data Driven Project Management 2020-05-06T09.57.27, Note 2020-05-06T09.54.47, Note 2020-05-06T09.49.21, diary, career, malta, Note 2020-05-05T16.35.09, Note 2020-05-05T16.34.57, Note 2020-05-05T16.20.55, Note 2020-05-05T16.20.38, эмоц, journa, Note a5a969e3-d326-4060-8465-2891bca444d7, Note 2020-05-05T12.50.26, Note a7df5a8b-29fa-4031-880e-46774a850f74, Note 2716dde9-0a98-4c9f-8af4-16d3ceb48056, Note 68a897ea-b674-4422-9148-3e3bd1a9ea49, Note 41298202-bd71-4f16-9f9f-7191e40561bf, Note 2020-05-04T16.55.45, thing, Note 2020-04-30T22.38.51, deep , Note 2020-04-29T13.09.22, Note 2020-04-29T13.08.47, german`
**showMatches** (QString): `true`
**showMenuBar** (bool): `true`
**showStatusBar** (bool): `true`
**spellCheckLanguage** (QString): `auto`
**systemIconTheme** (QString): `false`
**tagWasAddedToNote** (QString): `true`
**taggingShowNotesRecursively** (QString): `false`
**tagsPanelHideSearch** (QString): `false`
**tagsPanelOrder** (QString): `0`
**tagsPanelSort** (QString): `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, , 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** (QString): `action_Quit`
**toolbar/6/name** (QString): `quitToolbar`
**toolbar/6/title** (QString): `quit toolbar`
**toolbar/size** (QString): `6`
**useNoteFolderButtons** (QString): `true`
**useUNIXNewline** (QString): `false`
**webSocketServerService/bookmarksNoteName** (QString): `Bookmarks`
**webSocketServerService/bookmarksTag** (QString): `bookmarks`
**webSocketServerService/port** (QString): `22222`
**workspace-initial/name** (QString): `Preview only`
**workspace-initial/noteSubFolderDockWidgetVisible** (bool): `true`
**workspace-initial/windowState** (QByteArray): `<binary data>`
**workspaces** (QString): `initial`

## System environment

**GJS_DEBUG_TOPICS**: `JS ERROR;JS LOG`
**LANGUAGE**: `en`
**LC_TIME**: `en_GB.UTF-8`
**USER**: `bogdan`
**SSH_AGENT_PID**: `3088`
**XDG_SESSION_TYPE**: `x11`
**SHLVL**: `0`
**HOME**: `/home/bogdan`
**QT4_IM_MODULE**: `ibus`
**DESKTOP_SESSION**: `ubuntu`
**GIO_LAUNCHED_DESKTOP_FILE**: `/usr/share/applications/PBE.QOwnNotes.desktop`
**GTK_MODULES**: `gail:atk-bridge`
**GNOME_SHELL_SESSION_MODE**: `ubuntu`
**LC_MONETARY**: `en_GB.UTF-8`
**MANAGERPID**: `2696`
**DBUS_SESSION_BUS_ADDRESS**: `unix:path=/run/user/1000/bus`
**GIO_LAUNCHED_DESKTOP_FILE_PID**: `141437`
**IM_CONFIG_PHASE**: `1`
**MANDATORY_PATH**: `/usr/share/gconf/ubuntu.mandatory.path`
**LOGNAME**: `bogdan`
**GTK_IM_MODULE**: `ibus`
**_**: `/usr/bin/dbus-update-activation-environment`
**JOURNAL_STREAM**: `9:58991`
**DEFAULTS_PATH**: `/usr/share/gconf/ubuntu.default.path`
**XDG_SESSION_CLASS**: `user`
**USERNAME**: `bogdan`
**GNOME_DESKTOP_SESSION_ID**: `this-is-deprecated`
**WINDOWPATH**: `2`
**PATH**: `/home/bogdan/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin`
**PAPERSIZE**: `a4`
**SESSION_MANAGER**: `local/bogdan-ThinkPad-E480:@/tmp/.ICE-unix/3204,unix/bogdan-ThinkPad-E480:/tmp/.ICE-unix/3204`
**INVOCATION_ID**: `db61a944f472472499e1f4873c182b9c`
**LC_ADDRESS**: `en_GB.UTF-8`
**XDG_RUNTIME_DIR**: `/run/user/1000`
**XDG_MENU_PREFIX**: `gnome-`
**DISPLAY**: `:0`
**LANG**: `en_US.UTF-8`
**LC_TELEPHONE**: `en_GB.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_GB.UTF-8`
**SHELL**: `/bin/bash`
**QT_ACCESSIBILITY**: `1`
**GDMSESSION**: `ubuntu`
**LC_MEASUREMENT**: `en_GB.UTF-8`
**LC_IDENTIFICATION**: `en_GB.UTF-8`
**GPG_AGENT_INFO**: `/run/user/1000/gnupg/S.gpg-agent:0:1`
**GJS_DEBUG_OUTPUT**: `stderr`
**QT_IM_MODULE**: `ibus`
**PWD**: `/home/bogdan`
**XDG_DATA_DIRS**: `/usr/share/ubuntu:/home/bogdan/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop`
**CLUTTER_IM_MODULE**: `ibus`
**XDG_CONFIG_DIRS**: `/etc/xdg/xdg-ubuntu:/etc/xdg`
**LC_NUMERIC**: `en_GB.UTF-8`
**LC_PAPER**: `en_GB.UTF-8`

Information about the application, settings and environment

Expand

QOwnNotes Debug Information

General Info

Current Date: Wed May 6 22:36:44 2020 Version: 20.5.5 Build date: May 6 2020 Build number: 713 Platform: linux Operating System: Ubuntu 20.04 LTS Build architecture: x86_64 Current architecture: x86_64 Release: Launchpad PPA Qt Version (build): 5.12.8 Qt Version (runtime): 5.12.8 Portable mode: no Settings path / key: /home/bogdan/.config/PBE/QOwnNotes.conf Application database path: /home/bogdan/.local/share/PBE/QOwnNotes/QOwnNotes.sqlite Application arguments: QOwnNotes Qt Debug: 0 Locale (system): en_US Locale (interface): empty Primary screen resolution: 1600x900 Icon theme: Yaru Notes in current note folder: 188 Calendar items: 0 Enabled scripts: 0

Server Info

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

Spellchecking

Enabled: true 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/bogdan/.local/share/PBE/QOwnNotes/dicts

Note folders

currentNoteFolderId: 1

Note folder My Wiki

id: 1 isCurrent: yes activeTagId: -1 localPath: /home/bogdan/Dropbox remotePath: Notes cloudConnectionId: 1 isShowSubfolders: yes isUseGit: no activeNoteSubFolder name: Intentions database file: /home/bogdan/Dropbox/notes.sqlite

Cloud connections

Cloud connection Default

id: 1 isCurrent: yes serverUrl: empty username: empty

Enabled scripts

Settings

AboutDialog/geometry (QByteArray): <binary data> ActionDialog/geometry (QByteArray): <binary data> ActiveNoteHistoryItem (NoteHistoryItem): <binary data> AttachmentDialog/geometry (QByteArray): <binary data> Debug/fakeOldVersionNumber (QString): false Debug/fileLogging (QString): false DistractionFreeMode/editorWidthCustom (QString): 85 DistractionFreeMode/editorWidthMode (QString): 5 DistractionFreeMode/isEnabled (bool): false DistractionFreeMode/menuBarGeometry (QByteArray): <binary data> DistractionFreeMode/menuBarHeight (int): 22 DistractionFreeMode/menuBarVisible (bool): true DistractionFreeMode/windowState (QByteArray): <binary data> Editor/CurrentSchemaKey (QString): EditorColorSchema-6033d61b-cb96-46d5-a3a8-20d5172017eb Editor/autoBracketClosing (QString): true Editor/autoBracketRemoval (QString): true Editor/centerCursor (QString): false Editor/disableCursorBlinking (QString): false Editor/editorWidthInDFMOnly (QString): true Editor/highlightCurrentLine (QString): true Editor/indentSize (QString): 4 Editor/useTabIndent (QString): false Editor/vimMode (QString): false FileDialog/LastPath (QString): /home/bogdan/Dropbox/Philosophy/Free Will FileDialog/LastPath-InsertAttachment (QString): /home/bogdan/Dropbox/Philosophy/Free Will IssueAssistantDialog/geometry (QByteArray): <binary data> LastUpdateCheck (QDateTime): 2020-05-06T22:13:17.072 LinkDialog/geometry (QByteArray): <binary data> LinkDialog/lastSelectedFileUrl (QString): file:///home/bogdan/Dropbox/Intentions/DataSense/DataSense.xmind 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): <binary data> MainWindow/mainToolBar.iconSize (QString): 24 MainWindow/menuBarGeometry (QByteArray): <binary data> MainWindow/noteSubFolderTreeWidgetExpandState-1 (QStringList): Drafts, Journals, Intentions MainWindow/noteTextEdit.code.font (QString): monospace,13,-1,2,50,0,0,0,0,0 MainWindow/noteTextEdit.font (QString): Ubuntu,13,-1,5,50,0,0,0,0,0 MainWindow/noteTextView.code.font (QString): monospace,11,-1,2,50,0,0,0,0,0 MainWindow/noteTextView.font (QString): Ubuntu Mono,13,-1,5,50,0,0,0,0,0 MainWindow/noteTextView.ignoreCodeFontSize (QString): true MainWindow/noteTextView.rtl (QString): false MainWindow/noteTextView.underline (QString): true MainWindow/noteTextView.useEditorStyles (QString): true MainWindow/noteTextView.useInternalExportStyling (QString): true MainWindow/showNotesFromAllNoteSubFolders (bool): false MessageBoxOverride/readonly-mode-allow (QString): 16384 NoteDialog/geometry (QByteArray): <binary data> NoteDiffDialog/geometry (QByteArray): <binary data> NoteFolder-1/NoteTabNameList (QStringList): Data Drivern Orgs NoteFolder-1/NoteTabStickinessList (QStringList): empty NoteFolder-1/NoteTabSubFolderPathDataList (QStringList): Intentions NoteFolder-1/allowDifferentNoteFileName (bool): true NoteHistory-1 (QVariantList): <variant list with 137 item(s)> NoteHistoryCurrentIndex-1 (int): 136 PiwikClientId (QString): <hidden> ScriptRepositoryDialog/geometry (QByteArray): <binary data> ScriptRepositoryDialog/mainSplitterState (QByteArray): <binary data> SearchEngineId (QString): 2 SettingsDialog/geometry (QByteArray): <binary data> SettingsDialog/mainSplitterState (QByteArray): <binary data> ShareDialog/geometry (QByteArray): <binary data> Shortcuts/MainWindow-customAction_journalEntry (QString): empty Shortcuts/MainWindow-customAction_journalEntryTomorrow (QString): empty ShowSystemTray (QString): true StartHidden (QString): false UpdateDialog/geometry (QByteArray): <binary data> WelcomeDialog/geometry (QByteArray): <binary data> acceptAllExternalModifications (QString): false allowNoteEditing (bool): true allowOnlyOneAppInstance (QString): true appMetrics/disableAppHeartbeat (QString): false appMetrics/disableTracking (QString): false appMetrics/notificationShown (QString): true automaticNoteFolderDatabaseClosing (QString): false checkSpelling (bool): true closeTodoListAfterSave (QString): false cryptoKey (QString): <hidden> currentNoteFolderId (QString): 1 currentWorkspace (QString): initial cursorWidth (QString): 1 customNoteFileExtensionList: empty darkMode (QString): false darkModeColors (QString): false darkModeIconTheme (QString): false darkModeTrayIcon (QString): false defaultNoteFileExtension (QString): md demoNotesCreated (QString): true disableAutomaticUpdateDialog (QString): true disableSavedSearchesAutoCompletion (QString): false dockWasInitializedOnce (QString): true enableNoteTree (QString): false enableSocketServer (QString): true externalEditorPath (QString): empty fullyHighlightedBlockquotes (QString): true gitCommitInterval (QString): 30 gitExecutablePath (QString): empty gitLogCommand (QString): empty guiFirstRunInit (bool): true ignoreAllExternalModifications (QString): false ignoreAllExternalNoteFolderChanges (QString): false ignoreNoteSubFolders (QString): ^\. imageScaleDown (QString): false imageScaleDownMaximumHeight (QString): 1024 imageScaleDownMaximumWidth (QString): 1024 initialLayoutIdentifier (QString): preview-only insertTimeFormat (QString): empty interfaceFontSize (QString): 11 interfaceLanguage (QString): empty internalIconTheme (QString): false itemHeight (QString): 17 legacyLinking (QString): false localTrash/autoCleanupDays (QString): 30 localTrash/autoCleanupEnabled (QString): true localTrash/supportEnabled (QString): false markdownHighlightingEnabled (QString): true navigationPanelHideSearch (QString): true networking/ignoreSSLErrors (QString): true networking/proxyType (QString): 2 newNoteAskHeadline (QString): false noteEditIsCentralWidget (QString): false noteListPreview (QString): false noteSaveIntervalTime (QString): 10 noteSubfoldersPanelDisplayAsFullTree (QString): true noteSubfoldersPanelHideSearch (QString): false noteSubfoldersPanelOrder (QString): 0 noteSubfoldersPanelShowFullPath (QString): false noteSubfoldersPanelShowNotesRecursively (QString): false noteSubfoldersPanelShowRootFolderName (QString): true noteSubfoldersPanelSort (QString): 0 notesPanelOrder (QString): 0 notesPanelSort (QString): 1 notesPath (QString): /home/bogdan/Dropbox notifyAllExternalModifications (QString): true overrideInterfaceFontSize (QString): false ownCloud/supportEnabled (QString): false ownCloud/todoCalendarBackend (QString): 3 ownCloud/todoCalendarCalDAVPassword (QString): <hidden> ownCloud/todoCalendarCalDAVServerUrl (QString): empty ownCloud/todoCalendarCalDAVUsername (QString): empty ownCloud/todoCalendarCloudConnectionId (QString): 1 ownCloud/todoCalendarDisplayNameList: empty ownCloud/todoCalendarEnabledList: empty ownCloud/todoCalendarEnabledUrlList: empty ownCloud/todoCalendarUrlList: empty ownCloudInfo/appIsValid (bool): false ownCloudInfo/connectionErrorMessage (QString): empty ownCloudInfo/notesPathExistsText (QString): empty ownCloudInfo/serverVersion (QString): empty restoreCursorPosition (QString): true restoreLastNoteAtStartup (QString): true restoreNoteTabs (QString): true savedSearches/noteFolder-1 (QStringList): Note 2020-05-06T13.35.24, Croa, Note 2020-05-06T10.00.25, Data Driven Project Management 2020-05-06T09.57.27, Note 2020-05-06T09.54.47, Note 2020-05-06T09.49.21, diary, career, malta, Note 2020-05-05T16.35.09, Note 2020-05-05T16.34.57, Note 2020-05-05T16.20.55, Note 2020-05-05T16.20.38, эмоц, journa, Note a5a969e3-d326-4060-8465-2891bca444d7, Note 2020-05-05T12.50.26, Note a7df5a8b-29fa-4031-880e-46774a850f74, Note 2716dde9-0a98-4c9f-8af4-16d3ceb48056, Note 68a897ea-b674-4422-9148-3e3bd1a9ea49, Note 41298202-bd71-4f16-9f9f-7191e40561bf, Note 2020-05-04T16.55.45, thing, Note 2020-04-30T22.38.51, deep , Note 2020-04-29T13.09.22, Note 2020-04-29T13.08.47, german showMatches (QString): true showMenuBar (bool): true showStatusBar (bool): true spellCheckLanguage (QString): auto systemIconTheme (QString): false tagWasAddedToNote (QString): true taggingShowNotesRecursively (QString): false tagsPanelHideSearch (QString): false tagsPanelOrder (QString): 0 tagsPanelSort (QString): 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, , 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 (QString): action_Quit toolbar/6/name (QString): quitToolbar toolbar/6/title (QString): quit toolbar toolbar/size (QString): 6 useNoteFolderButtons (QString): true useUNIXNewline (QString): false webSocketServerService/bookmarksNoteName (QString): Bookmarks webSocketServerService/bookmarksTag (QString): bookmarks webSocketServerService/port (QString): 22222 workspace-initial/name (QString): Preview only workspace-initial/noteSubFolderDockWidgetVisible (bool): true workspace-initial/windowState (QByteArray): <binary data> workspaces (QString): initial

System environment

GJS_DEBUG_TOPICS: JS ERROR;JS LOG LANGUAGE: en LC_TIME: en_GB.UTF-8 USER: bogdan SSH_AGENT_PID: 3088 XDG_SESSION_TYPE: x11 SHLVL: 0 HOME: /home/bogdan QT4_IM_MODULE: ibus DESKTOP_SESSION: ubuntu GIO_LAUNCHED_DESKTOP_FILE: /usr/share/applications/PBE.QOwnNotes.desktop GTK_MODULES: gail:atk-bridge GNOME_SHELL_SESSION_MODE: ubuntu LC_MONETARY: en_GB.UTF-8 MANAGERPID: 2696 DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus GIO_LAUNCHED_DESKTOP_FILE_PID: 141437 IM_CONFIG_PHASE: 1 MANDATORY_PATH: /usr/share/gconf/ubuntu.mandatory.path LOGNAME: bogdan GTK_IM_MODULE: ibus _: /usr/bin/dbus-update-activation-environment JOURNAL_STREAM: 9:58991 DEFAULTS_PATH: /usr/share/gconf/ubuntu.default.path XDG_SESSION_CLASS: user USERNAME: bogdan GNOME_DESKTOP_SESSION_ID: this-is-deprecated WINDOWPATH: 2 PATH: /home/bogdan/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PAPERSIZE: a4 SESSION_MANAGER: local/bogdan-ThinkPad-E480:@/tmp/.ICE-unix/3204,unix/bogdan-ThinkPad-E480:/tmp/.ICE-unix/3204 INVOCATION_ID: db61a944f472472499e1f4873c182b9c LC_ADDRESS: en_GB.UTF-8 XDG_RUNTIME_DIR: /run/user/1000 XDG_MENU_PREFIX: gnome- DISPLAY: :0 LANG: en_US.UTF-8 LC_TELEPHONE: en_GB.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_GB.UTF-8 SHELL: /bin/bash QT_ACCESSIBILITY: 1 GDMSESSION: ubuntu LC_MEASUREMENT: en_GB.UTF-8 LC_IDENTIFICATION: en_GB.UTF-81. Being in preview only mode, select a note in the Note panel. 2. Press Ctrl+Shift+D to go into the distraction-free mode. 3. Type in any words (it works) 4. Go out of the distraction-free mode 5. Go again in the distraction-free mode 7. Type in anything GPG_AGENT_INFO: /run/user/1000/gnupg/S.gpg-agent:0:1 GJS_DEBUG_OUTPUT: stderr QT_IM_MODULE: ibus PWD: /home/bogdan XDG_DATA_DIRS: /usr/share/ubuntu:/home/bogdan/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop CLUTTER_IM_MODULE: ibus XDG_CONFIG_DIRS: /etc/xdg/xdg-ubuntu:/etc/xdg LC_NUMERIC: en_GB.UTF-8 LC_PAPER: en_GB.UTF-8

panbogdan avatar May 06 '20 19:05 panbogdan

I wasn't able to reproduce your issue, I can leave and enter the DFM as often as I want by pressing Ctrl+Shift+D and am always able to edit the note right away on KDE Neon. The focus never went away. How did you leave the DFM?

pbek avatar May 06 '20 20:05 pbek

@pbek , it seems not to matter. I tried with Ctrl+Shift+D and Esc. In both cases when I reentered the DFM I had to specifically click the edit area to get the focus back.

Btw, using Esc button to exit DFM, in fact, disabled note editing at all; so when I reentered the DFM not only had I click the edit area but also enable editing (Alt+Shift+E).

I'm not sure if the layout of panels makes any difference to reproduce the issue, but here is how it is set up for me: https://i.imgur.com/NCngghy.png

panbogdan avatar May 07 '20 16:05 panbogdan

Btw, using Esc button to exit DFM, in fact, disabled note editing at all;

Yes, Escape disables note editing, that why I was asking. :grin:

I'm not sure if the layout of panels makes any difference to reproduce the issue, but here is how it is set up for me: https://i.imgur.com/NCngghy.png

you've turned off the toolbar, but that didn't make your issue reproducible for me.. the only thing I can do is to set the focus distinctly to the edit panel after entering the dfm... that should fix your issue (even if I can't reproduce it)

pbek avatar May 07 '20 18:05 pbek

@pbek , thanks for your answer.

Yes, Escape disables note editing,

Is that by purpose? I find it inconvenient, to be honest. But even when I return back to DFM and enable editing by Alt+Shift+E, the edit area is not under focus, so I can't start typing in right away.

If you could fix that, it would be great!

Thanks very much for your work.

panbogdan avatar May 08 '20 08:05 panbogdan

20.5.6

  • leaving the distraction free mode with Escape now doesn't cause you to enter the read-only mode automatically, you have to press Escape a 2nd time to enter the read-only mode
  • fixed a possible focus problem when entering the distraction free mode

pbek avatar May 08 '20 13:05 pbek

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

pbek avatar May 08 '20 13:05 pbek

Just installed the new release and tested it. It works like a charm for me now! Entering DFM makes the edit area in focus, so I can type in immediately. Many thanks!

panbogdan avatar May 08 '20 16:05 panbogdan

Great, thank you for testing!

pbek avatar May 08 '20 19:05 pbek