All Categories

Number field bug aka bad feature

Number field bug aka bad feature

Search
Jan 20, 2019, 23:0501/20/19
06/14/17
90

Number field bug aka bad feature

After last update there was introduced a bug to the inputs for numbers. They vary from place to place.


How it ("should") work:


1. When input get focus, number already present should be highlighted. This way one can simply enter a new number without deleting the one present. Default "1".

2. Backspace should eventually empty input box. As in: it should be completely blank if one backspace over entire input. It should _not_ reset to value "1".


As it is now it is assumed one want a number either starting or ending with 1, which usually is not the case.

One often end up with:

  1. Focus on input
  2. Enter number, for example 2, resulting in "12" or "21"
  3. Moving cursor in front of "1"
  4. Backspace

Really inconvenient. And this is something one do a lot in this game.


A couple of examples:



#1. Worst case example: "Items"



  • The value in input is not highlighted on focus.
  • If one "Shift+ArrowKey" selected text is not highlighted
  • Backspace result in "1" as value not empty input field

Example:

1. Here "123" has been entered:


2. Here shift has been held down, and arrow-left pressed twice. (No highlighting)



3. Here "4" has been pressed, and one can see "23" was actually selected in previous point.






#2. Cumbersome and bad: "Apply RSS", "Apply boosts", "Add energy" to hero/sha, …




Here highlighting works, but:

  • Default value is not highlighted on focus
  • Backspace from end, deleting all input, result in "1", not empty field

Example of highlighted text:


Note: Selecting with pointer, which I do not use, but perhaps others, result in field being reset to "1"




As with last example. Say you are going to apply 5000 items … or 300, 250, 6000, 20000 - the default "1" has to be forcibly removed with multiple keystrokes.


Thanks for fixing this.
Views
1k
Comments
3
Comments
Jan 21, 2019, 09:5301/21/19
Jan 21, 2019, 10:01(edited)
03/03/17
32

1 by default is really annoying;

Plarium, please, don't put anything back as before.

Feb 5, 2019, 03:5602/05/19
06/14/17
90
Thanks for fixing
Mar 14, 2019, 22:3303/14/19
Mar 19, 2019, 19:53(edited)
06/14/17
90

Back after last upgrade.


Do you not use version control and bug trackers in your system?