Bug 356773

Summary: Keyboard: Modifier keys does not work with Space (AltGr, Shift and Shift + AltGr)
Product: [Plasma] plasmashell Reporter: Martin Ludwag <martin.ludwag>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED UPSTREAM    
Severity: normal CC: bshah, plasma-bugs-null
Priority: NOR Keywords: regression
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Martin Ludwag 2015-12-16 11:38:26 UTC
I use a keyboard layout (bépo, an ergonomic layout adapted to French) that uses modifier keys on Space key: AltGr + Space to type an underscore (Shift and Shift + AltGr are also used for special spaces).

But since my update to Plasma5, it does not work anymore: regardless the modifier keys, when I press the space bar, I always have a standard space.

Reproducible: Always

Steps to Reproduce:
1. Switch to a keyboard layout that uses modifier keys on Space key (like bépo)
2. Try to type an underscore (AltGr + Space)

Actual Results:  
The typed character is a standard space.

Expected Results:  
The typed character should be an underscore.

After searching a bit, I think this problem is that plasma manages the space bar differently. Anyway, I checked the configuration of the keyboard layout and it should work.

/usr/share/X11/xkb/symbols/fr:
[…]
xkb_symbols "bepo" {
    […]
    key <SPCE> { [space, nobreakspace, underscore, U202F ] }; //normal,   Shift,   AltGr,   Shit + AlgGr
    […]
};
[…]
Comment 1 Christoph Feck 2017-01-27 02:15:31 UTC
If this is still reproducible with a recent Qt version (5.6.2, 5.7.1, or 5.8.0), please report this issue directly to Qt developers via https://bugreports.qt.io/