Bug 116658 - Data validation issue with Duration text control in Animation Panel
Summary: Data validation issue with Duration text control in Animation Panel
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.0.2.1 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
: 116659 (view as bug list)
Depends on:
Blocks: Sidebar-Animation
  Show dependency treegraph
 
Reported: 2018-03-27 13:47 UTC by Joel Graff
Modified: 2024-02-23 03:14 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Result when entering "0.25" and ".25" in the animation duration text box (upper and lower images, respectively) (107.16 KB, image/jpeg)
2018-03-27 13:47 UTC, Joel Graff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Graff 2018-03-27 13:47:09 UTC
Created attachment 140912 [details]
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.
Comment 1 Buovjaga 2018-03-28 18:45:30 UTC
*** Bug 116659 has been marked as a duplicate of this bug. ***
Comment 2 Buovjaga 2018-03-29 14:41:57 UTC
Yep, looks like this started when the inputs were moved to the sidebar.

Arch Linux 64-bit
Version: 6.1.0.0.alpha0+
Build ID: 9c459fd919cb8199a69fc2d630742930e533285b
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on March 29th 2018
Comment 3 QA Administrators 2019-03-30 06:13:28 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2021-03-30 03:39:39 UTC Comment hidden (obsolete)
Comment 5 ericmurp 2022-02-21 23:30:21 UTC
This is still an issue with the latest version 7.3.0.3 x64

21/02/2022 resize the sidebar to below minimum(current) width causes jumping back and forth(stuck in loop) between previous position(width) and new position(width).

Should be straight forward to fix.
Comment 6 ericmurp 2022-02-21 23:31:48 UTC
This is still an issue with the latest version 7.3.0.3 x64

21/02/2022 resize the sidebar to below minimum(current) width causes jumping back and forth(stuck in loop) between previous position(width) and new position(width).

This results in an error state of back and forthing leaving the program unresponsive.

Should be straight forward to fix.
Comment 7 QA Administrators 2024-02-23 03:14:47 UTC
Dear Joel Graff,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug