Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653366 - x11-misc/easystroke uses wrong keyboard layout
Summary: x11-misc/easystroke uses wrong keyboard layout
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-17 09:00 UTC by Bodo Graumann
Modified: 2018-04-17 12:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of xev -event keyboard (easystroke-xev.output,4.04 KB, text/plain)
2018-04-17 09:00 UTC, Bodo Graumann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bodo Graumann 2018-04-17 09:00:12 UTC
Created attachment 527666 [details]
output of xev -event keyboard

Easystroke, though seemingly abandoned upstream, still works quite well. Unfortunately it does not handle non-standard keyboard layouts properly.
I use the following configuration:

>    Option         "XkbLayout" "de,de"
>    Option         "XkbVariant" "neo,nodeadkeys"
>    Option         "XkbOptions" "grp:menu_toggle,grp_led:num"

Assume I have a key-gesture bound to Ctrl+W. "W" is on de-neo where "T" is on QWERTY. Then the following happens:

0. keyboard layout is "de-neo"
1. Input Ctrl+W gesture
   Ctrl+T is send to application
   Now keyboard layout is shown by wm as "us"
2. Input Ctrl+W gesture
   Ctrl+W is send to application
   Keyboard layout is still shown as "us"
3. Press some key
   Key from de-neo layout is send
   we are back at (0.)

The same happens when first switching to "de-nodeadkeys", but in (3.) the layout will still be switched to "de-neo".
Leaving out (2.) will not change what happens in (3.).

The tests where done with `xev -event keyboard`. I'll attach the output for the above sequence.

A similar bug report can be found here:
https://bugs.launchpad.net/ubuntu/+source/easystroke/+bug/908222
Also, there is a related commit here:
https://github.com/thjaeger/easystroke/commit/a616ab25ff3cf4f0bcf69d07cdb7a5909dfbcb03