QOwnNotes icon indicating copy to clipboard operation
QOwnNotes copied to clipboard

in MacOs: customized shortcuts apparently not being honored

Open siran opened this issue 6 years ago • 23 comments

Expected behaviour

Customized shortcuts would should be honored.

Actual behaviour

MacOs defaults are being used.

Steps to reproduce

Follow these steps In particular,

create a file called DefaultKeyBinding.dict in your ~/Library/KeyBindings folder (might need to create that folder too) with the following contents... and restart the mac:

{
  "\UF729"  = moveToBeginningOfParagraph:; // home
  "\UF72B"  = moveToEndOfParagraph:; // end
  "$\UF729" = moveToBeginningOfParagraphAndModifySelection:; // shift-home
  "$\UF72B" = moveToEndOfParagraphAndModifySelection:; // shift-end
  "^\UF729" = moveToBeginningOfDocument:; // ctrl-home
  "^\UF72B" = moveToEndOfDocument:; // ctrl-end
  "^$\UF729" = moveToBeginningOfDocumentAndModifySelection:; // ctrl-shift-home
  "^$\UF72B" = moveToEndOfDocumentAndModifySelection:; // ctrl-shift-end
}

Output from the debug section in the settings dialog

Expand

QOwnNotes Debug Information

General Info

Current Date: Thu Jan 16 13:09:50 2020 Version: 20.1.10 Build date: Jan 16 2020 Build number: 5245 Platform: macosx Operating System: macOS Mojave (10.14) Build architecture: x86_64 Current architecture: x86_64 Release: Travis CI Qt Version (build): 5.13.2 Qt Version (runtime): 5.13.2 Portable mode: no Settings path / key: /Users/anmichelr/Library/Preferences/com.pbe.QOwnNotes.plist Application database path: /Users/anmichelr/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: 1600x900 Icon theme: breeze-qownnotes Notes in current note folder: 19 Calendar items: 0 Enabled scripts: 1

Server Info

serverUrl: empty appIsValid: yes notesPathExists: empty serverVersion: empty appVersion: empty

Spellchecking

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

Note folders

currentNoteFolderId: 1

Note folder default

id: 1 isCurrent: yes activeTagId: 0 localPath: /Users/anmichelr/Dropbox/notes-qownnotes remotePath: Notes cloudConnectionId: 1 isShowSubfolders: yes isUseGit: no activeNoteSubFolder name: annalect database file: /Users/anmichelr/Dropbox/notes-qownnotes/notes.sqlite

Cloud connections

Cloud connection Default

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

Enabled scripts

Script Custom note preview styling

id: 1 path: /Users/anmichelr/Library/Application Support/PBE/QOwnNotes/scripts/preview-styling/preview-styling.qml variablesJson:

{
    "customStylesheet": "h2 {margin-left: 20px;}\nh3 {margin-left: 40px;}\nh4 {margin-left: 60px;}\npre {display:block !important; background-color:#edfced !important; width: 100% !important;}\ncode {display:block !important; background-color:#edfced !important; width: 100% !important;}"
}

identifier: preview-styling version: 0.0.4 minAppVersion: 17.05.7

Settings

AKLastCheckInAttemptDate (QDateTime): 2019-12-03T10:10:32.026 AKLastCheckInSuccessDate (QDateTime): 2019-12-03T10:10:32.581 AKLastEmailListRequestDateKey (QDateTime): 2019-12-03T10:10:32.653 AKLastIDMSEnvironment (qlonglong): 0 ASIX Elec/ AX88179 (QString): 1 AboutDialog/geometry (QByteArray): <binary data> ActiveNoteHistoryItem (NoteHistoryItem): <binary data> Country (QString): US Debug/fakeOldVersionNumber (bool): false Debug/fileLogging (bool): false Editor/ColorSchemes (QStringList): EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472 Editor/CurrentSchemaKey (QString): EditorColorSchema-6033d61b-cb96-46d5-a3a8-20d5172017eb Editor/autoBracketClosing (bool): true Editor/autoBracketRemoval (bool): true Editor/disableCursorBlinking (bool): false Editor/editorWidthInDFMOnly (bool): true Editor/highlightCurrentLine (bool): true Editor/indentSize (qlonglong): 4 Editor/useTabIndent (bool): false Editor/vimMode (bool): false EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_-1 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_0 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_1 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_1000 (bool): false EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_1001 (bool): false EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_1002 (bool): false EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_1003 (bool): false EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_1004 (bool): false EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_1005 (bool): false EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_11 (QString): false EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_12 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_13 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_14 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_15 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_16 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_17 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_18 (bool): false EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_19 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_2 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_21 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_22 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_23 (bool): false EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_25 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_28 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_3 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_4 (bool): false EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColorEnabled_8 (QString): false EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_-1 (QColor): #ffffff EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_0 (QColor): #fff8ef EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_1 (QColor): #fff2e4 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_1000 (QColor): #eaebea EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_1001 (QColor): #eaebea EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_1002 (QColor): #eaebea EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_1003 (QColor): #eaebea EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_1004 (QColor): #eaebea EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_1005 (QColor): #eaebea EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_11 (QColor): #aaf7ff EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_12 (QColor): #f1f1f4 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_13 (QColor): #f1f1f4 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_14 (QColor): #f1f1f4 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_15 (QColor): #f1f1f4 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_16 (QColor): #f1f1f4 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_17 (QColor): #f1f1f4 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_18 (QColor): #f52c3f EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_19 (QColor): #e2e7e2 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_2 (QColor): #fff2e4 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_21 (QColor): #ebebeb EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_22 (QColor): #f7f6ff EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_23 (QColor): #eaebea EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_25 (QColor): #fffae2 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_28 (QColor): #ebebeb EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_3 (QColor): #edffed EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_4 (QColor): #eaebea EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/BackgroundColor_8 (QColor): #dbf9e5 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/Bold_12 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/Bold_13 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/Bold_14 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/Bold_15 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/Bold_16 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/Bold_17 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/Bold_8 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/FontSizeAdaption_12 (QString): 200 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/FontSizeAdaption_13 (QString): 160 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/FontSizeAdaption_14 (QString): 130 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/FontSizeAdaption_15 (QString): 100 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/FontSizeAdaption_16 (QString): 90 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/FontSizeAdaption_17 (QString): 90 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/FontSizeAdaption_8 (QString): 100 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_-1 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_0 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_1 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_10 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_1000 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_1001 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_1002 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_1003 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_1004 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_1005 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_11 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_12 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_13 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_14 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_15 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_16 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_17 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_18 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_19 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_2 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_20 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_21 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_22 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_23 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_24 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_26 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_3 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_4 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_5 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_6 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_7 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_8 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColorEnabled_9 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_-1 (QColor): #000000 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_0 (QColor): #fc7e00 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_1 (QColor): #fc7e00 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_10 (QColor): #a3007b EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_1000 (QColor): #f92672 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_1001 (QColor): #3ba23f EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_1002 (QColor): #908b74 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_1003 (QColor): #636def EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_1004 (QColor): #b57c50 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_1005 (QColor): #ae81ff EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_11 (QColor): #ababab EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_12 (QColor): #00316e EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_13 (QColor): #00316e EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_14 (QColor): #00316e EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_15 (QColor): #00316e EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_16 (QColor): #00316e EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_17 (QColor): #00316e EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_18 (QColor): #aa0000 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_19 (QColor): #008000 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_2 (QColor): #fc7e00 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_20 (QColor): #3d3d3d EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_21 (QColor): #393939 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_22 (QColor): #4e18b9 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_23 (QColor): #008000 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_24 (QColor): #cccccc EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_26 (QColor): #ff5500 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_3 (QColor): #00bf00 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_4 (QColor): #008000 EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_5 (QColor): #3d3d3d EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_6 (QColor): #3d3d3d EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_7 (QColor): #0057ae EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_8 (QColor): #00428a EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/ForegroundColor_9 (QColor): #a3007b EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/Italic_7 (QString): true EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/Name (QString): Light-an EditorColorSchema-91e86dba-9529-4fe0-a5be-c5be2423e472/Underline_26 (QString): true FileDialog/LastPath (QString): /Users/anmichelr/basur FileDialog/LastPath-NotePDFExport (QString): /Users/anmichelr/basur FileDialog/LastPath-PreviewHTMLFileExport (QString): /Users/anmichelr/basur GN Netcom A·S Jabra EVOLVE 20 (QString): 1 InitialKeyRepeat (qlonglong): 25 KeyRepeat (qlonglong): 2 LGE Nexus 5 (QString): 1 LastUpdateCheck (QDateTime): 2020-01-16T13:04:40.570 MainWindow/geometry (QByteArray): <binary data> MainWindow/mainToolBar.iconSize (qlonglong): 32 MainWindow/menuBarGeometry (QByteArray): <binary data> MainWindow/noteTextEdit.code.font (QString): Monaco,10,-1,5,50,0,0,0,0,0 MainWindow/noteTextEdit.font (QString): .SF NS Text,13,-1,5,50,0,0,0,0,0 MainWindow/noteTextView.code.font (QString): Monaco,10,-1,5,50,0,0,0,0,0 MainWindow/noteTextView.font (QString): .SF NS Text,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 MessageBoxOverride/update-and-restart (qlonglong): 16384 NoteHistory-1 (QVariantList): <variant list with 36 item(s)> NoteHistoryCurrentIndex-1 (qlonglong): 35 PKSecureElementAvailableFlagsByHost (qlonglong): 3 PMPrintingExpandedStateForPrint2 (bool): true PiwikClientId (QString): <hidden> Printer/NotePDFExportOrientation (qlonglong): 0 Printer/NotePDFExportPageSize (qlonglong): 10 Realtek USB 10·100·1000 LAN (QString): 1 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> VIA Technologies Inc/ USB 2/0 BILLBOARD (QString): 1 WebAutomaticSpellingCorrectionEnabled (bool): true WelcomeDialog/geometry (QByteArray): <binary data> acceptAllExternalModifications (bool): false allowDifferentNoteFileName (bool): false allowNoteEditing (bool): true allowOnlyOneAppInstance (bool): false appMetrics/disableAppHeartbeat (bool): false appMetrics/disableTracking (bool): false appMetrics/notificationShown (bool): true automaticNoteFolderDatabaseClosing (bool): false checkSpelling (bool): false closeTodoListAfterSave (bool): false cryptoKey (qlonglong): <hidden> currentNoteFolderId (qlonglong): 1 currentWorkspace (QString): initial cursorWidth (qlonglong): 1 customNoteFileExtensionList (QStringList): empty darkMode (bool): false darkModeColors (bool): false darkModeIconTheme (bool): false darkModeTrayIcon (bool): false defaultNoteFileExtension (QString): md demoNotesCreated (bool): true disableAutomaticUpdateDialog (bool): false disableSavedSearchesAutoCompletion (bool): false dockWasInitializedOnce (bool): true enableNoteTree (bool): false enableSocketServer (bool): true externalEditorPath (QString): empty fullyHighlightedBlockquotes (bool): false gitCommitInterval (qlonglong): 30 gitExecutablePath (QString): empty gitLogCommand (QString): empty guiFirstRunInit (bool): true ignoreAllExternalModifications (bool): false ignoreAllExternalNoteFolderChanges (bool): false ignoreNoteSubFolders (QString): ^\. imageScaleDown (bool): false imageScaleDownMaximumHeight (qlonglong): 1024 imageScaleDownMaximumWidth (qlonglong): 1024 initialLayoutIdentifier (QString): minimal 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): true networking/proxyType (qlonglong): 2 newNoteAskHeadline (bool): false 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/anmichelr/Dropbox/notes-qownnotes 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): true ownCloudInfo/connectionErrorMessage (QString): empty ownCloudInfo/notesPathExistsText (QString): empty ownCloudInfo/serverVersion (QString): empty recentNoteFolders (QStringList): /Users/anmichelr/Nextcloud/Notes restoreCursorPosition (bool): false savedSearches/noteFolder-1 (QStringList): Note 2020-01-15T11.37.28, Note 2020-01-13T14.30.55, Note 2020-01-09T14.09.35, Note 2020-01-07T15.17.03, Note 2020-01-06T15.38.47, Note 2020-01-06T11.41.41, Note 2020-01-02T12.24.09, Note 2019-12-05T10.31.50 showMatches (bool): true showMenuBar (bool): false showStatusBar (bool): true systemIconTheme (bool): false taggingShowNotesRecursively (bool): false tagsPanelHideSearch (bool): false tagsPanelOrder (qlonglong): 0 tagsPanelSort (qlonglong): 0 todoCalendarSupport (bool): 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 (QStringList): action_Quit toolbar/6/name (QString): quitToolbar toolbar/6/title (QString): quit toolbar toolbar/size (qlonglong): 6 useUNIXNewline (bool): false webSocketServerService/bookmarksNoteName (QString): Bookmarks webSocketServerService/bookmarksTag (QString): bookmarks webSocketServerService/port (qlonglong): 22222 workspace-initial/name (QString): Minimal workspace-initial/noteSubFolderDockWidgetVisible (bool): true workspace-initial/windowState (QByteArray): <binary data> workspaces (QStringList): initial

System environment

TMPDIR: /var/folders/df/wr60nqnx0gsg7t3262ng6wmr0000gs/T/ __CF_USER_TEXT_ENCODING: 0x1F9:0x0:0x0 HOME: /Users/anmichelr SHELL: /bin/bash Apple_PubSub_Socket_Render: /private/tmp/com.apple.launchd.41gygcpAxX/Render SSH_AUTH_SOCK: /private/tmp/com.apple.launchd.osM1rdm50f/Listeners PATH: /usr/bin:/bin:/usr/sbin:/sbin LOGNAME: anmichelr XPC_SERVICE_NAME: com.PBE.QOwnNotes.23288 USER: anmichelr SECURITYSESSIONID: 186a8 XPC_FLAGS: 0x0 QT_LOGGING_RULES: qt.network.ssl.warning=false

Relevant log output in the Log panel

N/A

siran avatar Jan 16 '20 18:01 siran

Why / how should that be supported by QOwnNotes?

pbek avatar Jan 16 '20 20:01 pbek

why: many application set up their own shortcuts, while other's use system preferences. I don't know how/if QOwnNotes manages this, how: I don't know. I believe other application likes Firefox for Mac does honor system's shortcuts.

siran avatar Jan 19 '20 20:01 siran

I have no idea how that should work or if there is a way to implement that.

pbek avatar Jan 19 '20 21:01 pbek

ok

siran avatar Jan 19 '20 23:01 siran

System shortcuts are given preference over app shortcuts as far as I know. It can be that both are working, but it is so fast that you only notice one of them

Waqar144 avatar Jan 20 '20 05:01 Waqar144

Again, I've been annoyed lately by my mac and QON, with the home/end keys. In Windows home/end goes to beginning/end of a line, in QON when on Mac it goes beginning/end of document... super annoying... I found this post

https://www.qtcentre.org/threads/36905-Set-keyboard-shortcuts-for-home-and-end-key-on-mac#post_176933

do you think it's possible to implement on QON?

also, as I said before, I've done everything possible to configure my mac to use home/end keys like on Windows... all apps are behaving well (VS Code, Firefox, MS Word to name a few) but not QON and I believe it might be because of QT...

siran avatar Jan 28 '22 16:01 siran

Yes, I guess that's how the QPlainTextEdit is behaving...

pbek avatar Jan 28 '22 17:01 pbek

It's actually fairly easy to implement. One just needs to handle the home key in KeyPress event like we handle other things and modify the behaviour there

Waqar144 avatar Jan 28 '22 18:01 Waqar144

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Feb 28 '22 02:02 github-actions[bot]

@Waqar144 said:

It's actually fairly easy to implement. One just needs to handle the home key in KeyPress event like we handle other things and modify the behaviour there

I'm eagerly checking the updates' changelog to see if this was addressed.

Is it going to be addressed?

siran avatar Feb 28 '22 02:02 siran

Mac users don't have Home/End keys on their macs, so there's no impact for them. Only people with those keys will be benefited.

Is this on the horizon for or should I let it go?

It's really a pain...

siran avatar Mar 01 '22 14:03 siran

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Apr 01 '22 03:04 github-actions[bot]

It stale. Eagerly waiting. If I knew how I'd dobit myself 😅

On Thu, Mar 31, 2022 at 23:07 github-actions[bot] @.***> wrote:

This issue is stale because it has been open for 30 days with no activity.

— Reply to this email directly, view it on GitHub https://github.com/pbek/QOwnNotes/issues/1593#issuecomment-1085366633, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABL7IOOGG62V46P565AL4LVCZR5PANCNFSM4KHYNOKA . You are receiving this because you modified the open/close state.Message ID: @.***>

--

An R

siran avatar Apr 01 '22 15:04 siran

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar May 02 '22 02:05 github-actions[bot]

Not stale

On Sun, May 1, 2022 at 22:17 github-actions[bot] @.***> wrote:

This issue is stale because it has been open for 30 days with no activity.

— Reply to this email directly, view it on GitHub https://github.com/pbek/QOwnNotes/issues/1593#issuecomment-1114434128, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABL7IMUII5I4KB4VVVXBPTVH43MTANCNFSM4KHYNOKA . You are receiving this because you modified the open/close state.Message ID: @.***>

--

An R

siran avatar May 02 '22 11:05 siran

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Jun 02 '22 02:06 github-actions[bot]

Eagerly waiting. It's a hassle pressing the End key and jumping to the end of the document instead of to the end of the line.

Actually this only happens on QON. For example on VSCode, Gmail, MSWord, pressing the End key correctly jumps to the end of the line.

Will this behavior in QON eventually be changed?

On Wed, Jun 1, 2022 at 22:17 github-actions[bot] @.***> wrote:

This issue is stale because it has been open for 30 days with no activity.

— Reply to this email directly, view it on GitHub https://github.com/pbek/QOwnNotes/issues/1593#issuecomment-1144346053, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABL7IIIWE36RF42X6BPX5TVNAKSJANCNFSM4KHYNOKA . You are receiving this because you modified the open/close state.Message ID: @.***>

--

An R

siran avatar Jun 02 '22 12:06 siran

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Jul 03 '22 02:07 github-actions[bot]

What's the prognosis of this feature request?

On Sat, Jul 2, 2022 at 22:17 github-actions[bot] @.***> wrote:

This issue is stale because it has been open for 30 days with no activity.

— Reply to this email directly, view it on GitHub https://github.com/pbek/QOwnNotes/issues/1593#issuecomment-1172997760, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABL7IPUNIBOHEQNH2LIHPDVSDZ5DANCNFSM4KHYNOKA . You are receiving this because you modified the open/close state.Message ID: @.***>

--

An R

siran avatar Jul 03 '22 12:07 siran

how complicated is this request? (apparently fairly easy https://github.com/pbek/QOwnNotes/issues/1593#issuecomment-1024479867)

are there known workarounds? I've tried all I've found without avail.

I'm still having a very hard time not using home/end keys only in QON, since all other apps on my Mac behave as expected.

siran avatar Aug 30 '22 18:08 siran

It's also a question of "changing the expected behavior after many years", isn't it?

pbek avatar Aug 31 '22 12:08 pbek

  1. The usual behavior in Mac and Windows of home/end keys among almost all applications (gmail, vscode, word, etc) is to go to start/end of LINE not DOCUMENT.
  2. Mac's dont normally have home/end buttons (not my mac at least). I have because I'm using a "Windows keyboard" with a Mac.
  3. Does anyone used to the home/end keys expects to go to the start/end of document when pressing them?

siran avatar Aug 31 '22 12:08 siran

should have used cursive instead of U.C., for line and document. sorry about that

siran avatar Sep 02 '22 01:09 siran

since this ticket wont be addressed I must jump off QON ship... thank you all!

siran avatar Oct 24 '22 15:10 siran

I currently have to little access to a mac to even look at this (if I had the time to do so).

pbek avatar Oct 24 '22 15:10 pbek

But be free to work on it yourself an make a pull request (that's the nature of open source)!

pbek avatar Oct 24 '22 15:10 pbek

Nevermind. I think this was a fringe case anyway.

siran avatar Oct 24 '22 15:10 siran

I'll partly take care of this in #2643.

pbek avatar Nov 03 '22 08:11 pbek

The rest goes here...

22.11.4

  • in macOS you can now select text with Shift + Home and Shift + End to the beginning and end of the line (for #1593)
    • when also holding Ctrl you can select until the beginning or end of the document

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

pbek avatar Nov 05 '22 13:11 pbek

Duplicate of #1013

pbek avatar Jan 02 '23 12:01 pbek