keyboardio / Chrysalis

Graphical configurator for Kaleidoscope-powered keyboards
https://github.com/keyboardio/Chrysalis#chrysalis
GNU General Public License v3.0
493 stars 65 forks source link

On startup, Chrysalis fails to properly detect and unstick a sticky Shift key. #1299

Closed parke closed 4 months ago

parke commented 1 year ago

Describe the bug On startup, Chrysalis 0.13.2 fails to properly detect and unstick a sticky Shift key.

To Reproduce Steps to reproduce the behavior:

  1. Start Chrysalis.
  2. Set a key to be the left Shift key.
  3. In Modifiers, toggle Sticky on.
  4. Save the layout to your keyboard.
  5. Exit Chrysalis.
  6. Restart Chrysalis.
  7. Select the key.
  8. Open Modifiers.
  9. Note that Chrysalis displays the Sticky toggle as being off. (It should be on.)
  10. In Modifiers, toggle Sticky on.
  11. Note that the key has changed from "OSM / LSft" to "# 98083". (I believe that is the number. It is blurry on my 720p display.)

Expected behavior When the key is selected (numbers 7 through 9 above), Chrysalis should detect and display the Sticky toggle in the 'On' position.

Desktop

Additional context Keyboard is an Atreus with the 10.4 firmware.

edysli commented 9 months ago

I have the same issue with a Model 100 (firmware 0.91.1+74), Chrysalis 0.13.2 and Linux (kernel 6.2.0). The key code for "OSM/LSft" shows 49154 though (in the "custom key code" section on the right panel). The displayed key on the keymap is correct "OSM/LSft".

Having the "OSM/LSft" key selected, there is also a weird behaviour if I click any of the toggles under "Modifiers": the key displays the keycode instead, and this code changes every time I click one of the toggle switches. The toggled switch also never flips to its "enabled" state...

gsuzor91 commented 4 months ago

The same issue as the original post exists for me in the web-based version at https://chrysalis.keyboard.io/ with an Atreus. It was broken a few days ago and remains broken with the new version released today - 2024.0314.1919

obra commented 4 months ago

I think I've found and fixed the issue. The change should be live on chrysalis.keyboard.io

On Thu, Mar 14, 2024 at 2:32 PM gsuzor91 @.***> wrote:

The same issue as the original post exists for me in the web-based version at https://chrysalis.keyboard.io/ with an Atreus. It was broken a few days ago and remains broken with the new version released today - 2024.0314.1919

— Reply to this email directly, view it on GitHub https://github.com/keyboardio/Chrysalis/issues/1299#issuecomment-1998517361, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALC2ACBO5CO7OR3HIL3X3YYIJN3AVCNFSM6AAAAAA243SXFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJYGUYTOMZWGE . You are receiving this because you are subscribed to this thread.Message ID: @.***>