[Bug] One-shot layer stuck on held with nested one-shot layer
#22 927 ouverte le 19 janv. 2024
Métriques du dépôt
- Stars
- (20 368 stars)
- Métriques de merge PR
- (Merge moyen 20j 9h) (27 PRs mergées en 30 j)
Description
Describe the Bug
Lets say that you have a keymap where Layer 0 has a OSL(1) key and Layer 1 has a OSL(2) key. When tapping the OSL on L0 the and then tapping the OSL on L1 this works as expected, L2 is activated and L1 is deactivated. Similar tapping on L0 and holding on L1 causes L2 to be the only active layer while the key is held. But the bug is when holding the OSL key on L0 and tapping the OSL on L1, this causes L2 to be activated during the OSL timeout but releasing the OSL key from layer 0 does not deactivate L1, leaving it toggled on even as L2 is deactivated.
Keyboard Used
splitkb/aurora/lily58/rev1
Link to product page (if applicable)
No response
Operating System
Windows
qmk doctor Output
Ψ QMK Doctor is checking your environment.
Ψ CLI version: 1.1.2
Ψ QMK home: D:/qmk_firmware
Ψ Detected Windows 10 (10.0.19045).
Ψ QMK MSYS version: 1.8.0
Ψ Userspace enabled: False
Ψ Git branch: master
Ψ Repo version: 0.23.5
Ψ - Latest master: 2024-01-18 20:15:48 +0000 (c38fdfec9c) -- Bump tj-actions/changed-files from 41 to 42 (#22915)
Ψ - Latest upstream/master: 2024-01-18 20:15:48 +0000 (c38fdfec9c) -- Bump tj-actions/changed-files from 41 to 42 (#22915)
Ψ - Latest upstream/develop: 2023-11-15 16:24:54 +1100 (4938210711) -- CLI refactoring for common build target APIs (#22221)
Ψ - Common ancestor with upstream/master: 2024-01-18 20:15:48 +0000 (c38fdfec9c) -- Bump tj-actions/changed-files from 41 to 42 (#22915)
Ψ - Common ancestor with upstream/develop: 2023-11-15 16:24:54 +1100 (4938210711) -- CLI refactoring for common build target APIs (#22221)
Ψ All dependencies are installed.
Ψ Found arm-none-eabi-gcc version 12.2.0
Ψ Found avr-gcc version 12.2.0
⚠ We do not recommend avr-gcc newer than 8. Downgrading to 8.x is recommended.
Ψ Found avrdude version 7.0
Ψ Found dfu-programmer version 1.1.0
Ψ Found dfu-util version 0.11
Ψ Submodules are up to date.
Ψ Submodule status:
Ψ - lib/chibios: 2023-04-15 13:48:04 +0000 -- (11edb1610)
Ψ - lib/chibios-contrib: 2023-07-17 11:39:05 +0200 -- (da78eb37)
Ψ - lib/googletest: 2021-06-11 06:37:43 -0700 -- (e2239ee6)
Ψ - lib/lufa: 2022-08-26 12:09:55 +1000 -- (549b97320)
Ψ - lib/vusb: 2022-06-13 09:18:17 +1000 -- (819dbc1)
Ψ - lib/printf: 2022-06-29 23:59:58 +0300 -- (c2e3b4e)
Ψ - lib/pico-sdk: 2023-02-12 20:19:37 +0100 -- (a3398d8)
Ψ - lib/lvgl: 2022-04-11 04:44:53 -0600 -- (e19410f8)
Ψ QMK is ready to go, but minor problems were found
Is AutoHotKey / Karabiner installed
- AutoHotKey (Windows)
- Karabiner (macOS)
Other keyboard-related software installed
No response
Additional Context
No response