Typing accented letters timing issue in linux
Did you clear cache before opening an issue?
- [x] I have cleared my cache
Is there an existing issue for this?
- [x] I have searched the existing issues
Does the issue happen when logged in?
N/A
Does the issue happen when logged out?
Yes
Does the issue happen in incognito mode when logged in?
N/A
Does the issue happen in incognito mode when logged out?
Yes
Account name
No response
Account config
No response
Current Behavior
Typing in greek there are accents of characters like the word "έναρξη" (start). Typing accents is a 2 step process. You first hit the accent key (exactly to the right of the L key) and then the base character that gets accented (in this case the E key). On Windows, monkeytype works correctly. On linux, if you're fast enough in the 2 step process it doesn't work. On Windows when hitting the accent key nothing is presented visually. When you also hit the base key then you are presented with the accented character. On linux, when you hit the accent key you are presented with a "hanging" accent. Once you hit the base key the accent visual gets replaced with the accented character. The replacement visually looks like the "hanging" accent gets deleted and then a new character is inputted. I don't know if that is how it is actually implemented behind the scenes.
With monkeytype if you type the 2 keys fast enough it will register an error as if you had typed only the unaccented character aka it will register "ε" instead of "έ". If you intentionally pause between hitting the 2 keys monkeytype registers the accented character as it should.
Expected Behavior
No response
Steps To Reproduce
No response
Environment
- OS: EndeavourOS (arch based)
- Browser: Firefox
- Browser Version: 141.0
- DE: KDE Plasma on wayland
Anything else?
No response
I'm having the same problem with Spanish. OS: Arch Browser: Zen (based on Firefox) DE: Hyprland
Exactly same problem with Portuguese OS: Arch Browser: Firefox DE: Hyprland
Is it any better here? https://monkey-type--preview-uae8wx67.web.app
the provided preview url yields no significant difference to me in the matter of accents. Most accents still don't register. Thanks!
OS: Debian testing browser: firefox 141.0.3 DE: KDE plasma 6.3 on wayland
So, if you pause in between the keypresses it works, but if you press them quickly you get an error? Can you reproduce it in zen mode? (test on live page this time)
Could you screen record?
speed definitely has to do with it. Typing slowly will yield really good results. Hope this helps: https://github.com/user-attachments/assets/ce0830e6-015c-48e1-a289-bfebf3e50ff7
Can you also screen record on the preview page? It also does this weird flashing?
here: https://github.com/user-attachments/assets/51f90f10-249b-4efa-b18b-8ab98e06c6e2
here: https://github.com/user-attachments/assets/51f90f10-249b-4efa-b18b-8ab98e06c6e2
Hm, thats extremely weird.
https://monkey-type--preview-uae8wx67.web.app
Heres a new link. Can you:
- open it and go to zen mode
- open the browser console and clear it
- try to reproduce the issue
- as soon as one accented letter fails, stop
- send me console output and a screen recording
Its really awkward trying to debug an issue that i dont experience so we gonna do it the hard way.
On zen mode: https://github.com/user-attachments/assets/7c7eb9f8-1db9-474e-bac6-905abacb11fd
As it seems to give no useful output, I also did same test on "quotes" mode: https://github.com/user-attachments/assets/df7683be-9b66-423c-b72f-04393c0dd88c Couldn't help but notice that the console itself does gives a correct "ã" output character, but the string output doesn't seems to
is there any way to give you a more detailed console output?
Also, if it helps, I know that linux and windows treat special characters in different ways. While windows doesn't instantly output anything until you type a valid subsequent character (like a vowel for Portuguese) based on your input language, Linux doesn't care and lets you accent any letter based exclusively on your keyboard layout (e.g. ŕ ś ṕ)
On my machine the results are the same as @holytwotwo's, though I could also upload a screen capture if requested.
@holytwotwo @Cabanur
Sorry guys, i forgot about one step:
- after you open the browser console, paste in
toggleDebugLogs(), make sure those are enabled. then you will get way more output
New link: https://monkey-type--preview-uae8wx67.web.app
@Miodec that link seems to be broken
New link, should last a bit longer: https://monkey-type--preview-uae8wx67.web.app
Is this an issue that only appeared recently? Was this working fine for you all before? (couple months ago)
here: console-export-2025-9-4_15-26-21.log
https://github.com/user-attachments/assets/f4167e22-c52e-4e4e-8eb6-867afa937247
oh, and about if it was an issue previously, I don't really use the site that often. Last time I used it was around June, and I don't remember having any issues.
Could you join the discord server and mesage me in #development channel? discord.gg/monkeytype?
@Cabanur Can you ouput the console to a file insted? So i can see everything at once
Issue should now be fully fixed. Please give it a test and let me know if you run into any issues.