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

Colemak layout bug #396

Open
notPrivate-care opened this issue Feb 4, 2025 · 8 comments
Open

Colemak layout bug #396

notPrivate-care opened this issue Feb 4, 2025 · 8 comments

Comments

@notPrivate-care
Copy link

I am using Arch Linux with Sway window manager. I also use the Colemak keyboard layout instead of qwerty.
In the Colemak layout, the CapsLock key also acts as the backspace key.
So for example, after typing something, if I press and hold the backspace key, it deletes the characters continuously, like it should.
But the problem: If I press and hold the CapsLock key, (which acts as a backspace key) it only erases one character.
Hint: All other applications/software behave normally (meaning when holding Capslock, it erases continuously, rather than just one character), except Mullvad browser and Keepassxc. So there is something common these two pieces of software are either missing or doing something wrong.

At keepassxc, they say its a qt problem

At qt, no further response.

Is there anything that can be done?

Thank you!

@Thorin-Oakenpants
Copy link

Does it work in Firefox?

@notPrivate-care
Copy link
Author

Does it work in Firefox?

Yes, it works in Firefox and Librewolf.
It also works in other applications, just not in Mullvad browser and KeepassXC.

@Thorin-Oakenpants
Copy link

I wanted to confirm that it wasn't an issue upstream (mozilla). The next step (which I think we can rule out due to you using Librewolf) is to check if it's RFP (which does do some keyboard stuff if you're using en-US, but I wouldn't expect this) or not. hint - I'm asking if you have RFP enabled in your Librewolf.

I'm not an expert on Linux stuff, but I can and have mapped my keyboard to colemak on windows - to fingerprint it :) Again, IANAE .. but what type of mullvad browser do you have - i.e where did you get it from, how was it "installed"

Other than that, it's going to take an actual expert like @PieroV to dig into it

@PieroV
Copy link
Collaborator

PieroV commented Feb 5, 2025

IIRC Firefox has some keyboard mappings in RFP, but I don't know how to look for them in the code.
I'll ask Tom whether he knows out of his mind, but testing with RFP Firefox seems also a good idea.

@Thorin-Oakenpants
Copy link

which does do some keyboard stuff if you're using en-US, but I wouldn't expect this

<thorin>    1222285 & 1433592 - spoof keyboard events and suppress keyboard modifier events (FF59)
<thorin>       Spoofing mimics the content language of the document. Currently it only supports en-US.
<thorin>       Modifier events suppressed are SHIFT and both ALT keys. Chrome is not affected.

@notPrivate-care
Copy link
Author

I wanted to confirm that it wasn't an issue upstream (mozilla). The next step (which I think we can rule out due to you using Librewolf) is to check if it's RFP (which does do some keyboard stuff if you're using en-US, but I wouldn't expect this) or not. hint - I'm asking if you have RFP enabled in your Librewolf.

I'm not an expert on Linux stuff, but I can and have mapped my keyboard to colemak on windows - to fingerprint it :) Again, IANAE .. but what type of mullvad browser do you have - i.e where did you get it from, how was it "installed"

Other than that, it's going to take an actual expert like @PieroV to dig into it

Thanks for trying to help me!
I have installed firefox from the package manager, and I have installed Librewolf and Mullvad from AUR (AUR directly takes from source like github.)
I have not changed any settings in any of the browser. So everything is default.
Maybe it is a qt problem like someone at KeepassXC suspects?

@PieroV
Copy link
Collaborator

PieroV commented Feb 5, 2025

which does do some keyboard stuff if you're using en-US, but I wouldn't expect this

<thorin>    1222285 & 1433592 - spoof keyboard events and suppress keyboard modifier events (FF59)
<thorin>       Spoofing mimics the content language of the document. Currently it only supports en-US.
<thorin>       Modifier events suppressed are SHIFT and both ALT keys. Chrome is not affected.

Bug 1222285 is 8933d9d and 98af9c6.
The former contains stuff about spoofing key codes, but I'd have to study it more to understand its actual effects.

1433592 is 9f50791, but doesn't seem relevant to this issue.

@Thorin-Oakenpants
Copy link

Thorin-Oakenpants commented Feb 6, 2025

OK, I may not be an expert .. but I do find interesting things .... maybe this is of relevance, freshly patched and solved - 1784438 KeyboardEvent.repeat is always false under Wayland (although you said it works in FF)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

3 participants