Skip to content

Weird edge cases when combining the "Stop on error" option and the funbox mode "nospace" #8037

@elfi-ox

Description

@elfi-ox

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 open and closed 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

Elfi_Ox

Account config

{"theme":"catppuccin","themeLight":"serika","themeDark":"serika_dark","autoSwitchTheme":false,"customTheme":false,"customThemeColors":["#323437","#e2b714","#e2b714","#646669","#2c2e31","#d1d0c5","#ca4754","#7e2a33","#ca4754","#7e2a33"],"favThemes":[],"showKeyTips":true,"smoothCaret":"medium","codeUnindentOnBackspace":false,"quickRestart":"off","punctuation":false,"numbers":false,"words":25,"time":30,"mode":"custom","quoteLength":[1],"language":"french_10k","fontSize":5,"freedomMode":true,"difficulty":"normal","blindMode":false,"quickEnd":false,"caretStyle":"default","paceCaretStyle":"default","flipTestColors":false,"layout":"default","funbox":["nospace"],"confidenceMode":"off","indicateTypos":"both","compositionDisplay":"replace","timerStyle":"mini","liveSpeedStyle":"off","liveAccStyle":"off","liveBurstStyle":"off","colorfulMode":false,"randomTheme":"off","timerColor":"main","timerOpacity":"1","stopOnError":"word","showAllLines":false,"keymapMode":"react","keymapStyle":"staggered","keymapLegendStyle":"lowercase","keymapLayout":"optimot","keymapShowTopRow":"layout","keymapSize":1.7,"fontFamily":"Lexend_Deca","smoothLineScroll":true,"alwaysShowDecimalPlaces":false,"alwaysShowWordsHistory":false,"singleListCommandLine":"on","capsLockWarning":false,"playSoundOnError":"off","playSoundOnClick":"off","soundVolume":0.5,"startGraphsAtZero":true,"showOutOfFocusWarning":true,"paceCaret":"off","paceCaretCustomSpeed":100,"repeatedPace":true,"accountChart":["on","on","on","on"],"minWpm":"off","minWpmCustomSpeed":100,"highlightMode":"letter","typedEffect":"keep","typingSpeedUnit":"wpm","ads":"result","hideExtraLetters":false,"strictSpace":false,"minAcc":"off","minAccCustom":90,"monkey":false,"repeatQuotes":"off","resultSaving":true,"oppositeShiftMode":"off","customBackground":"","customBackgroundSize":"cover","customBackgroundFilter":[0,1,1,1],"customLayoutfluid":["optimot","azerty"],"customPolyglot":["english_10k","french_10k"],"monkeyPowerLevel":"off","minBurst":"off","minBurstCustomSpeed":100,"burstHeatmap":false,"britishEnglish":false,"lazyMode":false,"showAverage":"off","showPb":false,"tapeMode":"letter","tapeMargin":20,"maxLineWidth":0,"playTimeWarning":"off"}

Current Behavior

My setup is the following : I have a custom text with several 1 character words, I'm using the stop on error option and the nospace funbox mode. It's a way to train the position of several special character. For the sake of simplicity, I will now abreviate "stop on error" as "SOE".

with this setup, SOE won't work. Actually I don't exactly know what is the intended design of theses options so I'll just point out the multiple behaviors responsible for this issue :

  • Ending a words with a mistake with the SOE (letter) option enabled will accept the letter and skip to the next word, instead of blocking the letter.
  • When using The nospace funbox mode and SOE (letter) option, despite the absence of spaces, Every "words" are still considered as individual words and ending a word with a mistake won't be blocked. Of course, if every words are 1 letter then it just never block anything despite the text one long word and the SOE (letter) option as no effect at all.
  • When using The nospace funbox mode and SOE (word) option, the absence of space is actually taken into consideration and the whole word created by the nospace mode is considered as one word. In consequence, the SOE (word) option as no effect at all.

Expected Behavior

As I understand, the root cause of this issue is that the SOE (letter) option don't prevent from ending a word with a mistake. In that case :

  • Expected Behavior - the SOE (letter) option block mistake even at the last letter of a word.

Although, it's seems weird to me that this exist in the first place, so it leads me to believe that it is an intended behavior. If that is the case, then the solution would probably be to fix the inconstancy between the usage of SOE (letter) and SOE (word) when paired with the nospace mode. To me, it makes sense for SOE (word) to consider several words with no space as one word, in this case :

  • Expected Behavior - the SOE (letter) option consider multiple word as one word when paired with the nospace mode.

Steps To Reproduce

  1. Go to the settings page
  2. set the "Stop on error" option to "letter"
  3. do a test and mistake at the end of a word
  • Instead of blocking the mistake, it will skip to the next word
  1. Go to the settings page
  2. enable "nospace" from the funbox
  3. do a test and make mistake
  • It will still skip to the next letter where there was supposed to be a space

Environment

  • OS: Windows 11
  • Browser: Zen
  • Browser Version: Firefox 151.0.2

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions