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: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2018-04-17 09:00 UTC by Bodo Graumann
Modified: 2022-07-02 13:12 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
Comment 1 Larry the Git Cow gentoo-dev 2022-07-02 13:11:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd262b739de4af21888d873c99e45e53cf7ba0f

commit efd262b739de4af21888d873c99e45e53cf7ba0f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-02 13:11:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-02 13:11:41 +0000

    x11-misc/easystroke: treeclean
    
    Bug: https://bugs.gentoo.org/832953
    Bug: https://bugs.gentoo.org/653366
    Bug: https://bugs.gentoo.org/831011
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask                              |  5 --
 x11-misc/easystroke/Manifest                       |  1 -
 x11-misc/easystroke/easystroke-0.6.0-r3.ebuild     | 69 ----------------------
 .../easystroke/files/easystroke-0.6.0-abs.patch    | 45 --------------
 .../easystroke-0.6.0-buttons-scroll-send.patch     | 43 --------------
 .../files/easystroke-0.6.0-cellrendertextish.patch | 20 -------
 .../easystroke/files/easystroke-0.6.0-cxx11.patch  | 17 ------
 .../files/easystroke-0.6.0-desktop.patch           | 11 ----
 .../easystroke/files/easystroke-0.6.0-gentoo.patch | 41 -------------
 ...asystroke-0.6.0-reinstate-signal-handlers.patch | 42 -------------
 x11-misc/easystroke/metadata.xml                   |  8 ---
 11 files changed, 302 deletions(-)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-02 13:12:13 UTC
Removed.