diff options
| author | Danilo M. <danix@danix.xyz> | 2026-08-03 14:08:59 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-08-04 12:53:17 +0200 |
| commit | 8708139212e4f411509e0c11ed9c04de5cf33a22 (patch) | |
| tree | f5d0404514ecc4daa7553b726a2c3047b5c690fb /LICENSE | |
| parent | f76d6c424ca9db357aefb07325a75f2315377c63 (diff) | |
| download | qtmaildir-8708139212e4f411509e0c11ed9c04de5cf33a22.tar.gz qtmaildir-8708139212e4f411509e0c11ed9c04de5cf33a22.zip | |
fix: bind shortcuts users can actually press
Typing a capital emits Shift+<key>, but QKeySequence::fromString() folds
the case of a bare letter away: "N" parsed to plain Key_N, a combination
no keystroke produces. The N, F and G defaults (toggle_unread, flag and
sync) therefore never fired, and neither would any hand-written capital
in [keys].
normalizeSequence() rewrites a bare capital to Shift+<letter> and is
shared by the defaults and the override pass. As a side effect "y" and
"Y" become distinct keys rather than a collision that dropped one.
Defaults move to modifier shortcuts throughout. A single letter cannot
be a QAction shortcut without stealing that letter from every text field
in the window, and the menus in the next commit need real accelerators.
defaultBindings() is now the one source of truth for them.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions
