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

CAPS lock notification does not goes away when i have turn off CAPS LOCK #5987

Open
2 tasks done
love-to-code108 opened this issue Oct 27, 2024 · 6 comments
Open
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@love-to-code108
Copy link

Did you clear cache before opening an issue?

  • I have cleared my cache

Is there an existing issue for this?

  • I have searched the existing issues

Does the issue happen when logged in?

Yes

Does the issue happen when logged out?

Yes

Does the issue happen in incognito mode when logged in?

Yes

Does the issue happen in incognito mode when logged out?

Yes

Account name

biswa_108

Account config

No response

Current Behavior

when you press caps lock the notification for caps lock on is there but when you turn it off the notification stays .

Expected Behavior

When i turn on caps lock the notification should be there and when i turn capslock off the notification should be gone .

Steps To Reproduce

  1. Press caps lock ( to turn caps lock on )
  2. Press Caps lock ( to turn it off )
  3. the notification persists

Environment

  • OS: Ubuntu 22.04
  • Browser: Brave
  • Browser Version : Brave 1.71.118

Anything else?

image
After turning on CAPS lock
image
After turning off CAPS lock

@love-to-code108 love-to-code108 added the bug Something isn't working label Oct 27, 2024
@love-to-code108
Copy link
Author

I would like to solve this issue please assign it to me

@love-to-code108
Copy link
Author

Oh by the way i have already started working on it .

@fehmer
Copy link
Member

fehmer commented Oct 27, 2024

@love-to-code108 just create a PR if you have a working version.

@Miodec
Copy link
Member

Miodec commented Oct 28, 2024

@love-to-code108 feel free to attempt this but we've had multiple iterations of this and every time one OS/browser combo fails. As far as i remember there was some limitation in Linux that prevented us from detecting caps lock release until the next keypress (we should really document this somewhere).

@fehmer
Copy link
Member

fehmer commented Oct 28, 2024

Something else to notice is that the caps-lock detection works differently if the focus is on the test input (#words) or not. So far we couldn't figure out why.

This is my current best attempt if someone is interested https://github.com/fehmer/caps-lock-detection/blob/main/index.html#L14

@love-to-code108
Copy link
Author

@fehmer Thankyou for the reference i am sure it will be very helpful .

@Miodec yes i am using the flatpak version of brave , and there are some issues that keep occurring with this one , like i wasn't able to connect gnome extension with brave by any means ( most likely because this is a flatpak ) , but well i have used monkeytype for more than a year now and it has been a very big part of my typing journey so trust me its and honour to be of any help any way possible .

Oh and i will try to document what happens in this journey .

Thankyou :)

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