https://bugs.kde.org/show_bug.cgi?id=464735

Bernd Steinhauser <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|kwin emits no or wrong key  |kwin emits no or wrong key
                   |events when binding extra   |events when binding extra
                   |mouse buttons on Wayland    |mouse buttons on Wayland
                   |                            |and using Neo 2 layout
                   |                            |variants

--- Comment #2 from Bernd Steinhauser <[email protected]> ---
Ok, I think I just figured out why this is happening for me, but most likely
not for others.
First, I think there are actually two bugs here. The first is that I can
configure Extra buttons 2 and 3 in the kcm separately, but kwin will always
emit the same signal for both (that that was set for extra button 2). Should I
open another bug report for this?

The second bug is happening because I'm a user of the de layout in the variant
'neo'. As you can see here
https://www.neo-layout.org/
this layout shuffles around a lot of keys and I think kwin is getting confused
by that. I found the following
Layout (Variant)
German (Default): correct
English (Default): correct
English (Dvorak): correct
German (Dvorak): correct
German (Neo 2): Ctrl+PgUp -> Ctrl+x, Ctrl+PgDn -> Ctrl+w
German (Bone): Ctrl+PgUp -> Ctrl+x, Ctrl+PgDn -> Ctrl+j
German (Neo 2, QWERTZ): Ctrl+PgUp -> Ctrl+t, Ctrl+PgDn -> Ctrl+q
German (Neo 2, QWERTY): Ctrl+PgUp -> Ctrl+t, Ctrl+PgDn -> Ctrl+q
German (Aus der Neo Welt): Ctrl+PgUp -> Ctrl+adiaeresis, Ctrl+PgDn ->
Ctrl+adiaeresis  ???

So it's not just the keys that are moved around, but especially there seems to
be some problem with Neo 2 and related layouts (Bone and "Aus der Neo Welt" are
layouts that were done by people working previously on Neo 2).
Note that in none of these layouts, the Ctrl, PgUp and PgDn keys are changed to
something else.

So the proper steps to reproduce would be:
1. Add German (Neo2, QWERTY) to layout switcher (suggest this one, as it leaves
the normal key layout as is, in case you need to type
2. Set up an extra mouse button in kcm_mouse
3. Use wev to verify that the correct key combination is emitted
4. Switch to German (Neo 2, QWERTY)
5. Use wev again to check the key combination

??? This is what wev is telling me for "Aus der Neo Welt":
[14:     wl_keyboard] key: serial: 24630; time: 6488324; key: 37; state: 1
(pressed)
                      sym: Control_L    (65507), utf8: ''
[14:     wl_keyboard] modifiers: serial: 1; group: 0
                      depressed: 00000004: Control 
                      latched: 00000000
                      locked: 00000000
[14:     wl_keyboard] key: serial: 24632; time: 6488324; key: 28; state: 1
(pressed)
                      sym: adiaeresis   (228), utf8: ''

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to