https://bugzilla.wikimedia.org/show_bug.cgi?id=70861

--- Comment #10 from Moriel Schottlender <[email protected]> ---
(In reply to Rummana Yasmeen from comment #9)
> Right now, it is not doing what you are suggesting here,the widget just does
> not let you type anything when you try to input 0 and "not" making it
> "default"

It's making it default, which erases the visible values. Technically it does
what I explained; practically it does what you say. It's the same thing, but
different user experiences.

I am not sure if it's right to change the current behavior on that, though.

> But, this is what it is doing right now.It is changing the value
> automatically to default when user inputs non-numeric character.So, I
> suggested to have similar behavior for both cases.

I see what you're saying, but my point is that there's a difference
conceptually between the two cases, so I think it's okay that the two behaviors
are different two.

When a user inserts "0" value, they likely meant for the image to have no
dimensions, which effectively means it is defaulted.

When a user inserts a non-numeric letter like "a" or "-" it is very likely that
it's an error and even if it's not, we have no way of knowing what the user
meant. Hence, we don't assume anything and instead we mark the values as
"invalid".

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to