Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sticky modifier doesn't work with the same key on a different layer. #1393

Open
NabiYang opened this issue Feb 22, 2024 · 2 comments
Open

Sticky modifier doesn't work with the same key on a different layer. #1393

NabiYang opened this issue Feb 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@NabiYang
Copy link

Describe the bug
If a sticky modifier is activated from a layer, then that layer is released, pressing the same key doesn't work.

To Reproduce

  1. Place Ctrl on a shifted layer on the same key that types 'A', for example. Make it Sticky.
  2. Save that layout to the board.
  3. In a text editor where Ctrl+A would select all text, type some text.
  4. Hold the layer and tap the sticky Ctrl.
  5. Release the layer and tap 'A'--the same key that had the sticky Ctrl.
  6. ---> It doesn't select all text.

Expected behavior
I expect that the sticky Ctrl would apply to A. The sticky modifier does apply correctly so long as the key isn't the same. I tested this with Ctrl and Win.

Environment (please complete the following information):

  • OS: Windows
  • Version 11
  • Device Atreus, Model 100

Additional context
This was reported in Discord here: https://discord.com/channels/492408953041321984/761681781447196693/1210253884824625202

@NabiYang NabiYang added the bug Something isn't working label Feb 22, 2024
@obra
Copy link
Member

obra commented Feb 23, 2024 via email

@riantsoa
Copy link

Hm. I can intuit why that might be happening. For an "active" key, Kaleidoscope needs to track it by where on the keyboard it is, which means that once that sticky Ctrl is active, we don't have a slot to stick the A into.

On Thu, Feb 22, 2024 at 11:19 AM NabiYang @.> wrote: Describe the bug If a sticky modifier is activated from a layer, then that layer is released, pressing the same key doesn't work. To Reproduce 1. Place Ctrl on a shifted layer on the same key that types 'A', for example. Make it Sticky. 2. Save that layout to the board. 3. In a text editor where Ctrl+A would select all text, type some text. 4. Hold the layer and tap the sticky Ctrl. 5. Release the layer and tap 'A'--the same key that had the sticky Ctrl. 6. ---> It doesn't select all text. Expected behavior I expect that the sticky Ctrl would apply to A. The sticky modifier does apply correctly so long as the key isn't the same. I tested this with Ctrl and Win. Environment (please complete the following information): - OS: Windows - Version 11 - Device Atreus, Model 100 Additional context This was reported in Discord here: https://discord.com/channels/492408953041321984/761681781447196693/1210253884824625202 — Reply to this email directly, view it on GitHub <#1393>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALC2HIIKQ6QSD343F37X3YU6K4LAVCNFSM6AAAAABDVQUUXKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2DSNZXHEZTQOA . You are receiving this because you are subscribed to this thread.Message ID: @.>

On QMK and ZMK it is working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants