[BUG] Test ending after typing one character.
Closed this issue ยท 17 comments
Describe the bug ๐
This bug starts occurring after doing the first test at startup. The test ends after typing a character.
To Reproduce ๐ฃ
- Start smassh.
- Do a test.
- Do a test again.
Expected behavior ๐ค
No response
Screenshots ๐ง
smassh.webm
Your operating system name
Arco Linux
Your operating system version
6.7.3-arch1-2
Additional context ๐
No response
I just Installed this after seeing a post on reddit, Can confirm I am getting this same issue.
Need to close the app and restart again to be able to type again.
Hmm... strange.
How did you install?
I installed using pipx. Wanted to install through AUR but it was giving me some error.
Edit: The AUR version also has the same bug.
I installed using pipx
Can you check the version using smassh --version
I'm not able to reproduce with the latest build
Can you check the version using smassh --version
3.0.4
Need to close the app and restart again to be able to type again.
According to @SwayKh, he's able to type if he restarts the app. Is that the case for you as well?
Is that the case for you as well?
Yep
Ok one last thing, can you delete the config file and restart the app?
python -c "import appdirs; print(appdirs.user_data_dir('smassh'))"
Should be ~/.config/smassh/smassh.json for you
There are three settings (first three ones) which will end the typing if certain conditions are not met (speed/accuracy)
Maybe you turned on those :)
There are three settings (first three ones) which will end the typing if certain conditions are not met (speed/accuracy)
Maybe you turned on those :)
Right on target.
This was my config:
{"difficulty": "normal", "blind_mode": false, "min_speed": 2, "min_accuracy": 0, "min_burst": 0, "force_correct": false, "confidence_mode": "off", "capitalization_mode": "off", "cursor_buddy_speed": 0, "tab_reset": false, "language": "english", "numbers": false, "punctuations": false, "mode": "words", "words_count": 30, "time_count": 30, "caret_style": "block", "writing mode": "words", "theme": "catppuccin"}
Fresh config after deleting:
{"difficulty": "normal", "blind_mode": false, "min_speed": 0, "min_accuracy": 0, "min_burst": 0, "force_correct": false, "confidence_mode": "off", "capitalization_mode": "off", "cursor_buddy_speed": 0, "tab_reset": false, "language": "english", "numbers": false, "punctuations": false, "mode": "words", "words_count": 30, "time_count": 30, "caret_style": "block", "writing mode": "words", "theme": "nord"}
min_speed was the culprit.
Thanks a lot, @kraanzu!
Awesome!
Thing is you have to do a quick start on this one otherwise the calculation done is quite low
Maybe I should add a timeout or something or maybe at least show on result screen that the test ended due to the setting :)
Yup, The min speed setting was set to 1, Changing that to 0 corrected the behaviour.
Seems weird that the setting was enabled by default, Tried both AUR and pipx.
Glad the issue was solved so quickly.
Great App BTW, Love it.
Seems weird that the setting was enabled by default,
Nope! Maybe you accidently pressed tab
key on settings screen :)
Anyways, I'll close this issue now then
Thanks for giving smassh a try ๐ โค๏ธ
Nope! Maybe you accidently pressed tab key on settings screen :)
Oops, I apologize, It seems I might have done that when testing the settings and keys
No problemo! I'll fix this so it doesn't end the test that quick :)