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

Inconsistent behavior when using &caps_word #2316

Closed
swisscows opened this issue May 30, 2024 · 4 comments
Closed

Inconsistent behavior when using &caps_word #2316

swisscows opened this issue May 30, 2024 · 4 comments

Comments

@swisscows
Copy link

swisscows commented May 30, 2024

Hi all,

I am getting strange behavior when using the &caps_word behavior behind a combo. I will get seemingly random lowercase characters thrown into my string of uppercase chars.

image

All of the above instances were obtained by hitting my combo for caps_word, typing h e l l o and then hitting space and reactivating caps_word.

The relevant parts of my config are below.

Board: Corne
Shield: nice!nano v2
OS: Fedora 39 and Windows 10

&caps_word {
    continue-list = <UNDERSCORE MINUS DOT COMMA BSPC DEL LSHIFT RSHIFT LCTRL RCTRL LALT RALT LMETA RMETA>;
};

#define BASE  0
#define COMBO_TERM_VERY_SLOW 60
#define COMBO_PRIOR_IDLE 100

 #define COMBO(NAME, BINDINGS, KEYPOS, LAYERS, MS) \
    combo_##NAME { \
        timeout-ms = <MS>; \
        require-prior-idle-ms = <COMBO_PRIOR_IDLE>; \
        key-positions = <KEYPOS>; \
        layers = <LAYERS>; \
        bindings = <BINDINGS>; \
    };

COMBO(caps,          &caps_word, 31 34, BASE, COMBO_TERM_VERY_SLOW)

As a list of things I have ruled out.

  • The software I am typing in, this issue occurs across multiple different unrelated software and even on different machines.
  • The board itself, I have reseated the microcontrollers and it will happen across random keys and I don't have any issues with any keys when caps_word is not active.
  • Anything somehow deactivating caps_word by mistake as I will continue to get capitalized characters after getting lowercase ones. I can even type, then backspace a char repeatedly and sometimes it will be uppercase and sometimes lowercase while caps_word is active.

If anyone has any insight about what may be going on I would appreciate the help. Thank you.

@caksoylar
Copy link
Contributor

Sounds like it is related to #759. Fedora 39 should have Gnome 45 which in theory doesn't have this issue because it has the fixed Mutter. It might still be worth checking the version.

@swisscows
Copy link
Author

swisscows commented May 30, 2024

Interesting, I am actually on the KDE spin with xorg using kwin version 5.27.11. When I connect to windows 10 I connect directly, not via RDP.

@swisscows
Copy link
Author

Actually, after looking at #2288 the ibus package seems to be at fault here. Killing it resolves the issue and restarting it brings it back.

@swisscows
Copy link
Author

Closing, as "not a zmk issue".

@swisscows swisscows closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants