[Libreoffice-bugs] [Bug 116658] New: Data validation issue with Duration text control in Animation Panel
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Mar 27 13:47:09 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=116658
Bug ID: 116658
Summary: Data validation issue with Duration text control in
Animation Panel
Product: LibreOffice
Version: 6.0.2.1 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: minor
Priority: medium
Component: Impress
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: monograff76 at gmail.com
Created attachment 140912
--> https://bugs.documentfoundation.org/attachment.cgi?id=140912&action=edit
Result when entering "0.25" and ".25" in the animation duration text box (upper
and lower images, respectively)
I've been using Impress heavily for the first time and I came across something
that is a bug, if only because it creates a counter-intuitive UI behavior.
For example, suppose I create an object on a slide, open the animation panel at
right, add an animation, and switch it to Entrance:Fly In.
I then decide I want to change the duration from 0.50 sec to 0.25 sec. If I
highlight the entire text in the text box, and directly enter "0.25", the
result is 0.26. (Upper image, below)
If I omit the zero and simply type ".25", "2.52" gets entered instead, forcing
the decimal point to the right and retaining part of the previous number.
(Lower image, below)
The third issue is that the text field can't be cleared, which, I presume is
either because of data format validation or validating the typed value against
the list of values in the dropdown.
Regardless, it's clear to me that the text box is validating the data as the
user is keying in the values which results in unexpected behaviors when the
user is focused on entering a number. All data validation should be postponed
until after the control loses focus.
![Result when entering "0.25" in the animation duration text
box](/upfiles/15221560109210051.png)
![Result when entering ".25" in the animation duration text
box](/upfiles/15221560435340945.jpg)
I'll happily file it as a bug, but thought I'd post here first in case this is
something that has been discussed and decided is expected or desired behavior.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180327/5874a23e/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list