linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.56k stars 744 forks source link

Keyboard Neo Layout: No "0" in 4th layer #10303

Open propri opened 3 years ago

propri commented 3 years ago
 * Cinnamon version (cinnamon --version)
   - 5.0.5
 * Distribution - Mint 20.2
 * 64 bit

Issue

Using neo layout, the 4th layer provides numbers. After updating to Mint 20.2 (from 20.1, where it worked without problems) the space key no longer produces a "0" but a space. All other numbers work as expected.

Steps to reproduce Activating 4th layer (locked or with pressing the modifier key) and pressing space. -> " "

Expected behaviour A "0".

Other information

Configuration info, if applicable If this bug report is related to an Applet, Desklet or Extension, please paste (or use a pastebin service) the offending extension's settings, if it has any. You can obtain this by opening its configuration, clicking the 'hamburger' button in the upper-right corner of the window, and selecting "Export to a file". Please be sure to review the contents and remove any personal data it may contain.

xev output for pressing and releasing space key with 4th layer locked in:


KeyPress event, serial 38, synthetic NO, window 0xaa00001,
    root 0x7bc, subw 0x0, time 22564045, (-145,255), root:(1036,889),
    state 0x2010, keycode 65 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "
    XmbLookupString gives 1 bytes: (20) " "
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0xaa00001,
    root 0x7bc, subw 0x0, time 22564141, (-145,255), root:(1036,889),
    state 0x2010, keycode 65 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "
    XFilterEvent returns: False
propri commented 3 years ago

It works for a time after resuming from suspend. xev after suspend:

KeyPress event, serial 38, synthetic NO, window 0xb200001,
    root 0x7bc, subw 0x0, time 63133607, (694,139), root:(1875,773),
    state 0x10, keycode 65 (keysym 0xffb0, KP_0), same_screen YES,
    XKeysymToKeycode returns keycode: 90
    XLookupString gives 1 bytes: (30) "0"
    XmbLookupString gives 1 bytes: (30) "0"
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0xb200001,
    root 0x7bc, subw 0x0, time 63133767, (694,139), root:(1875,773),
    state 0x10, keycode 65 (keysym 0xffb0, KP_0), same_screen YES,
    XKeysymToKeycode returns keycode: 90
    XLookupString gives 1 bytes: (30) "0"
    XFilterEvent returns: False
propri commented 3 years ago

Removing the neo layout and readding it in the keyboard settings fixes it for a short time.

propri commented 3 years ago

The problem does not occur when a second keyboard layout (normal German layout) is permanently added.

But with the second layout the wrong layout is always selected on the lock screen, and it is not possible to switch.