Bug 356773 - Keyboard: Modifier keys does not work with Space (AltGr, Shift and Shift + AltGr)
Summary: Keyboard: Modifier keys does not work with Space (AltGr, Shift and Shift + Al...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2015-12-16 11:38 UTC by Martin Ludwag
Modified: 2017-01-27 02:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/