Skip to content
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

Strange keyboard/cursor issues on MacOS #2201

Closed
grantdobbe opened this issue Aug 10, 2021 · 5 comments
Closed

Strange keyboard/cursor issues on MacOS #2201

grantdobbe opened this issue Aug 10, 2021 · 5 comments

Comments

@grantdobbe
Copy link

Expected behaviour

When I enter a period (.) or comma (,), press the spacebar once, and continue typing, I expect a single space to appear and remain where I placed it.

Actual behaviour

When I enter a period (.) or comma (,), press the spacebar once, and continue typing, the space disappears and juts the texts together.

Steps to reproduce

  1. Open QOwnNotes on MacOS.
  2. Open a new note or edit an existing note.
  3. Type something, enter a space or period, hit space, and continue typing. The space will disappear.

Output from the debug section in the settings dialog

Expand

QOwnNotes Debug Information

General Info

Current Date: Tue Aug 10 13:48:36 2021
Version: 21.8.2
Build date: Aug 7 2021
Build number: 866
Platform: macosx
Operating System: macOS 11.5
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: /Users/gdobbe/Library/Preferences/com.pbe.QOwnNotes.plist
Application database path: /Users/gdobbe/Library/Application Support/PBE/QOwnNotes/QOwnNotes.sqlite
Application arguments: /Applications/QOwnNotes.app/Contents/MacOS/QOwnNotes
Qt Debug: 0
Locale (system): en_US
Locale (interface): empty
Primary screen resolution: 2560x1440
Screen resolution(s): 2560x1440, 2560x1440
Icon theme: breeze-qownnotes
Notes in current note folder: 24
Calendar items: 0
Enabled scripts: 0

Server Info

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

Spellchecking

Enabled: false
Selected language: empty
Language codes: empty
Language names: empty
Application dictionaries path: /Users/gdobbe/Library/Application Support/PBE/QOwnNotes/dicts

Note folders

currentNoteFolderId: 2

Note folder default

id: 2
isCurrent: yes
activeTagId: -1
localPath: /Users/gdobbe/Brain/Notes
remotePath: Notes
cloudConnectionId: 1
isShowSubfolders: yes
isUseGit: no
activeNoteSubFolder name: Projects
database file: /Users/gdobbe/Brain/Notes/notes.sqlite

Cloud connections

Cloud connection ``

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

Enabled scripts

Settings

AKLastEmailListRequestDateKey (QDateTime): 2021-08-10T07:34:34.289
AKLastIDMSEnvironment (qlonglong): 0
ActiveNoteHistoryItem (NoteHistoryItem): <binary data>
Country (QString): US
Debug/fakeOldVersionNumber (bool): false
Debug/fileLogging (bool): false
DistractionFreeMode/editorWidthMode (qlonglong): 2
Editor/CurrentSchemaKey (QString): EditorColorSchema-6033d61b-cb96-46d5-a3a8-20d5172017eb
Editor/autoBracketClosing (bool): true
Editor/autoBracketRemoval (bool): true
Editor/centerCursor (bool): false
Editor/disableCursorBlinking (bool): false
Editor/editorWidthInDFMOnly (bool): true
Editor/highlightCurrentLine (bool): true
Editor/indentSize (qlonglong): 4
Editor/removeTrailingSpaces (bool): false
Editor/showLineNumbers (bool): true
Editor/useTabIndent (bool): false
Editor/vimMode (bool): false
LastUpdateCheck (QDateTime): 2021-08-10T13:31:36.700
LinkDialog/geometry (QByteArray): <binary data>
MainWindow/geometry (QByteArray): <binary data>
MainWindow/mainToolBar.iconSize (qlonglong): 32
MainWindow/menuBarGeometry (QByteArray): <binary data>
MainWindow/noteSubFolderTreeWidgetExpandState-2 (QStringList): Projects
MainWindow/noteTextEdit.code.font (QString): .AppleSystemUIFontMonospaced,10,-1,5,50,0,0,0,0,0
MainWindow/noteTextEdit.font (QString): .AppleSystemUIFont,13,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.code.font (QString): .AppleSystemUIFontMonospaced,10,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.font (QString): .AppleSystemUIFont,13,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.ignoreCodeFontSize (bool): true
MainWindow/noteTextView.rtl (bool): false
MainWindow/noteTextView.underline (bool): true
MainWindow/noteTextView.useEditorStyles (bool): true
MainWindow/noteTextView.useInternalExportStyling (bool): true
MainWindow/showNotesFromAllNoteSubFolders (bool): false
MultipleSessionEnabled (bool): true
NoteDiffDialog/geometry (QByteArray): <binary data>
NoteFolder-2/NoteTabNameList (QStringList): OutdoorPrep
NoteFolder-2/NoteTabStickinessList (QStringList): empty
NoteFolder-2/NoteTabSubFolderPathDataList (QStringList): Projects
NoteFolder-2/allowDifferentNoteFileName (bool): false
NoteHistory-2 (QVariantList): <variant list with 22 item(s)>
NoteHistoryCurrentIndex-2 (qlonglong): 21
PKSecureElementAvailableFlagsByHostSome (qlonglong): 3
PiwikClientId (QString): <hidden>
ScriptRepositoryDialog/geometry (QByteArray): <binary data>
ScriptRepositoryDialog/mainSplitterState (QByteArray): <binary data>
SearchEngineId (qlonglong): 2
SettingsDialog/geometry (QByteArray): <binary data>
SettingsDialog/mainSplitterState (QByteArray): <binary data>
ShowSystemTray (bool): false
StartHidden (bool): false
UpdateDialog/geometry (QByteArray): <binary data>
WebAutomaticSpellingCorrectionEnabled (bool): true
acceptAllExternalModifications (bool): false
allowNoteEditing (bool): true
allowOnlyOneAppInstance (bool): false
appMetrics/disableAppHeartbeat (bool): true
appMetrics/disableTracking (bool): false
appMetrics/notificationShown (bool): true
automaticNoteFolderDatabaseClosing (bool): false
checkSpelling (bool): false
closeTodoListAfterSave (bool): false
cryptoKey (qlonglong): <hidden>
currentNoteFolderId (qlonglong): 2
currentWorkspace (QString): dc4558cf-4e84-4e56-be44-798f11e4bcf7
cursorWidth (qlonglong): 1
customNoteFileExtensionList (QStringList): empty
darkMode (bool): false
darkModeColors (bool): false
darkModeIconTheme (bool): false
darkModeTrayIcon (bool): false
defaultNoteFileExtension (QString): md
disableAutomaticUpdateDialog (bool): false
disableSavedSearchesAutoCompletion (bool): false
dockWasInitializedOnce (bool): true
enableNoteTree (bool): false
enableSocketServer (bool): false
enableWebAppSupport (bool): false
externalEditorPath (QString): empty
fullyHighlightedBlockquotes (bool): true
gitCommitInterval (qlonglong): 30
gitExecutablePath (QString): empty
gitLogCommand (QString): empty
guiFirstRunInit (bool): true
ignoreAllExternalModifications (bool): true
ignoreAllExternalNoteFolderChanges (bool): false
ignoreNoteSubFolders (QString): ^\.
imageScaleDown (bool): false
imageScaleDownMaximumHeight (qlonglong): 1024
imageScaleDownMaximumWidth (qlonglong): 1024
insertTimeFormat (QString): empty
interfaceFontSize (qlonglong): 11
interfaceLanguage (QString): empty
internalIconTheme (bool): false
itemHeight (qlonglong): 18
legacyLinking (bool): false
localTrash/autoCleanupDays (qlonglong): 30
localTrash/autoCleanupEnabled (bool): true
localTrash/supportEnabled (bool): true
markdownHighlightingEnabled (bool): true
navigationPanelHideSearch (bool): false
networking/ignoreSSLErrors (bool): false
networking/proxyType (qlonglong): 2
newNoteAskHeadline (bool): true
noteEditIsCentralWidget (bool): true
noteListPreview (bool): false
noteSaveIntervalTime (qlonglong): 10
noteSubfoldersPanelDisplayAsFullTree (bool): true
noteSubfoldersPanelHideSearch (bool): false
noteSubfoldersPanelOrder (qlonglong): 0
noteSubfoldersPanelShowFullPath (bool): false
noteSubfoldersPanelShowNotesRecursively (bool): false
noteSubfoldersPanelShowRootFolderName (bool): true
noteSubfoldersPanelSort (qlonglong): 0
notesPanelOrder (qlonglong): 0
notesPanelSort (qlonglong): 1
notesPath (QString): /Users/gdobbe/Brain/Notes
notifyAllExternalModifications (bool): false
overrideInterfaceFontSize (bool): false
ownCloud/supportEnabled (bool): false
ownCloud/todoCalendarBackend (qlonglong): 3
ownCloud/todoCalendarCalDAVPassword (QString): <hidden>
ownCloud/todoCalendarCalDAVServerUrl (QString): empty
ownCloud/todoCalendarCalDAVUsername (QString): empty
ownCloud/todoCalendarCloudConnectionId (qlonglong): 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): a6523895-c792-46b8-aa32-c24da0fc33a4
recentNoteFolders (QStringList): /Users/gdobbe/Brain
restoreCursorPosition (bool): true
restoreLastNoteAtStartup (bool): true
restoreNoteTabs (bool): true
savedSearches/noteFolder-2 (QStringList): Note 2021-08-10T13.34.01, Note 2021-08-03T12.42.04, Note 2021-07-19T14.11.14, Note 2021-07-19T12.26.20, CitrixSpike, Note 2021-07-07T16.17.02, Note 2021-07-07T10.46.16
showMatches (bool): true
showMenuBar (bool): false
showStatusBar (bool): false
systemIconTheme (bool): false
taggingShowNotesRecursively (bool): false
tagsPanelHideNoteCount (bool): true
tagsPanelHideSearch (bool): true
tagsPanelOrder (qlonglong): 0
tagsPanelSort (qlonglong): 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 (qlonglong): 6
useNoteFolderButtons (bool): false
useUNIXNewline (bool): true
webAppClientService/serverUrl (QString): wss://app.qownnotes.org
webAppClientService/token (QString): <hidden>
webSocketServerService/bookmarksNoteName (QString): Bookmarks
webSocketServerService/bookmarksTag (QString): bookmarks
webSocketServerService/port (qlonglong): 22222
workspace-a6523895-c792-46b8-aa32-c24da0fc33a4/name (QString): minimal
workspace-a6523895-c792-46b8-aa32-c24da0fc33a4/noteSubFolderDockWidgetVisible (bool): true
workspace-a6523895-c792-46b8-aa32-c24da0fc33a4/windowState (QByteArray): <binary data>
workspace-dc4558cf-4e84-4e56-be44-798f11e4bcf7/name (QString): full
workspace-dc4558cf-4e84-4e56-be44-798f11e4bcf7/noteSubFolderDockWidgetVisible (bool): true
workspace-dc4558cf-4e84-4e56-be44-798f11e4bcf7/windowState (QByteArray): <binary data>
workspace-initial/noteSubFolderDockWidgetVisible (bool): true
workspace-initial/windowState (QByteArray): <binary data>
workspaces (QStringList): dc4558cf-4e84-4e56-be44-798f11e4bcf7, a6523895-c792-46b8-aa32-c24da0fc33a4

System environment

PWD: /var/folders/jy/_jlq1xdx5l5209m_cxdhglpw7s_6fw/T/tmp.D3iHKQGu
USER: gdobbe
NVM_DIR: /Users/gdobbe/.nvm
COMMAND_MODE: unix2003
__CFBundleIdentifier: com.PBE.QOwnNotes
LANG: en_US.UTF-8
LOGNAME: gdobbe
TERM: xterm-256color
PATH: /Users/gdobbe/.nvm/versions/node/v16.4.1/bin:/Users/gdobbe/Code/audit-tools:/Users/gdobbe/Code/chads_tools/bin:/Users/gdobbe/Code/my_tools:/Users/gdobbe/.local/bin:/Users/gdobbe/Code/audit-cs-automation:/Users/gdobbe/Code/audit-build/scripts:/Users/gdobbe/Code/nessus-test-scan:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin
SHLVL: 2
TERM_PROGRAM_VERSION: 440
PAGER: less
NVM_CD_FLAGS: -q
ZSH: /Users/gdobbe/.oh-my-zsh
SSH_AUTH_SOCK: /private/tmp/com.apple.launchd.nnzvdUmIj8/Listeners
TERM_SESSION_ID: 708179E1-DC6E-455D-A380-9BD6D9A04B26
_: /usr/bin/open
HOME: /Users/gdobbe
LESS: -R
SHELL: /bin/zsh
QT_LOGGING_RULES: qt.network.ssl.warning=false
OLDPWD: /Users/gdobbe
NVM_BIN: /Users/gdobbe/.nvm/versions/node/v16.4.1/bin
__CF_USER_TEXT_ENCODING: 0xF9519DC:0x0:0x0
TMPDIR: /var/folders/jy/_jlq1xdx5l5209m_cxdhglpw7s_6fw/T/
LSCOLORS: Gxfxcxdxbxegedabagacad
TERM_PROGRAM: Apple_Terminal
NVM_INC: /Users/gdobbe/.nvm/versions/node/v16.4.1/include/node
XPC_SERVICE_NAME: application.com.PBE.QOwnNotes.8938178.8938345
XPC_FLAGS: 0x0

Relevant log output in the Log panel

Expand
@pbek
Copy link
Owner

pbek commented Aug 11, 2021

I can't reproduce that on macOS 10.15. All characters appear like they should.
Is this maybe some external input helper?
And 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).

@grantdobbe
Copy link
Author

I don't have any external input helpers installed, at least not to my knowledge. :)

There's not really anything useful in the log panel. I've attached the debugging log.
QOwnNotes.log

@grantdobbe
Copy link
Author

One interesting thing to note: if I enter a period and space, then type a character, the space disappears. If I then delete the character, the space reappears.

@grantdobbe
Copy link
Author

This appears to be related to #1972

@pbek
Copy link
Owner

pbek commented Aug 12, 2021

Ah, yes, that's it 😁

@pbek pbek added the Duplicate label Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants