Bug 430693

Summary: deadkeys cannot be set as keyboard shortcuts
Product: [Applications] krita Reporter: Manga Tengu <mangatengu>
Component: Shortcuts and Canvas Input SettingsAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: ghevan, griffinvalley, halla
Priority: NOR    
Version: 4.4.1   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Manga Tengu 2020-12-22 03:01:05 UTC
I have a few keys that can't be assigned. 
I'm on a MacBook pro 2018 15' with a french - france azerty keyboard.
The keys not assignable are `, ^, ¨, the common factor is all those keys expect another key to put an accent on it so they are only generated after you type the next letter. for example â is written by hitting ^ first (which will wait) and then a so the os understands to put the accent on the a.

STEPS TO REPRODUCE
1. customize a shortcut with an accent key working in 2 steps

OBSERVED RESULT
None is still the value affected

EXPECTED RESULT
something cool

SOFTWARE/OS VERSIONS
macOS: big sur
Comment 1 vanyossi 2020-12-24 21:38:22 UTC
I can confirm this is an issue on any deadkey.
Comment 2 Halla Rempt 2020-12-24 22:52:17 UTC
I'm not sure it's actually possible to implement support for this, unless we go a whole lot lower down the stack. Qt doesn't send a keypress event until the dead key has been combined with another letter, as far as I can tell.
Comment 3 vanyossi 2020-12-25 02:57:37 UTC
I think this is a bug the user can find a good quickaround by choosing another key, OR changing keyboard layouts for krita (I do this with some applications, as this is a common problem).

Shall we close it?
Comment 4 wolthera 2021-09-08 09:02:42 UTC
I can reproduce this issue, but I am also going to set it to wishlist, as it would require a massive undertaking to implement this at all. For me, altgr+key does work, but '``' does not, and kde's shortcut handler can't even register the keystrokes reliably.