Summary: | Question: Are CTRL+ALT and FOUR_LEVEL_X correct? | ||
---|---|---|---|
Product: | xkeyboard-config | Reporter: | Hanno Zulla <kontakt> |
Component: | General | Assignee: | xkb |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | trivial | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Hanno Zulla
2014-05-01 00:24:51 UTC
Yes it is desired. In this context Alt and AltGr as identical. But Alt and AltGr are not identical on my German keyboard layout. If I use the type "CTRL+ALT" on a German layout, the result is that Level3 is AltGr (or: the key on the right side) and Level5 is Ctrl + Alt (or: the two keys on the left side). Sorry, that doesn't make sense. If Alt and AltGR are identical in the context that CTRL+ALT being used for right now, then this: type "CTRL+ALT" { modifiers = Control+Alt+Shift; map[None] = Level1; map[Shift] = Level2; map[Alt] = Level3; map[Shift+Alt] = Level4; map[Control+Alt] = Level5; preserve[Shift] = Shift; preserve[Shift+Alt] = Shift; level_name[Level1] = "Base"; level_name[Level2] = "Shift"; level_name[Level3] = "Alt Base"; level_name[Level4] = "Shift Alt"; level_name[Level5] = "Ctrl+Alt"; }; would still work in the as before in the old context *and* it would also work as expected for my new use case. Or am I missing something? Ok, let me expand. Look at CTRL+ALT definition. The switch to Level3 happens on LevelThree modifier - and AltGr (in German layout) is assigned to LevelThree modifier. So here you get AltGr + UP = LevelThree modifier to UP. The switch to Level5 happens on combination of Control and Alt modifiers. So you have Ctrl+Alt keys, provoding those modifiers (Alt key is bound to Alt modifier). My understanding is that there was no intention to use "same" alt for level 3 and level 5. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/134. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.