12.04.2023 10:14:58 Benno Schulenberg <bensb...@telfort.nl>:


Hello some of the implementers of Neo,

Looking at the 8-level types in xkeyboard-config, I noticed that
the behavior of Lock depends on whether just Lock is engaged, or
whether it is engaged together with the Level5-lock and this latter
lock is temporarily cancelled by holding down a level5 key ("Mod4").

To see what I mean, activate the Neo layout, engage CapsLock by
pressing both Shifts, then hold down a "Mod3" key and type the
first five keys in the QWERTY row: … _ [ ] ^

Now lock Ebene 4 (with Shift+Caps+Tab, for example), hold down both
a "Mod3" and "Mod4" key and type the same keys again: ξ   λ χ ω
(The second key produces nothing now.)

I would have expected the same characters as the first time, because
the lock for Ebene 4 is effectively cancelled by holding "Mod4".

The mistake is in the last lines of the definition for the type
"EIGHT_LEVEL_ALPHABETIC_WITH_LEVEL5_LOCK", where it says:

         map[Lock+NumLock+LevelFive+LevelThree]       = Level4;
         map[Lock+NumLock+LevelFive+LevelThree+Shift] = Level3;

whereas earlier it says:

         map[Lock+LevelThree]                         = Level3;
         map[Lock+LevelThree+Shift]                   = Level4;


If you have time, please comment on the relevant issue on Fdo's Gitlab:

https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/381


Regards,

Benno
_______________________________________________
Diskussion mailing list -- diskussion@neo-layout.org
To unsubscribe send an email to diskussion-le...@neo-layout.org

Antwort per Email an