https://bz.apache.org/ooo/show_bug.cgi?id=126379

          Issue ID: 126379
        Issue Type: DEFECT
           Summary: Sidebar ‘Position and Size’ field validation can yield
                    incorrect values. Unit conversion and validation
                    occurring in the middle of keyboard entry –
                    Inconsistent behavior.
           Product: General
           Version: 4.1.1
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P5
         Component: ui
          Assignee: [email protected]
          Reporter: [email protected]

Tested using:
•    Windows 7 Home Premium 32-bit
•    Apache OpenOffice 4.1.1 - AOO411m6(Build:9775)-Rev.1617669 2014-08-13
09:06:54(Mi, 13 Aug 2014)

Steps to reproduce:
1.    Create an Empty Presentation.
2.    From ‘Drawing Toolbar’ select Rectangle.
3.    Draw a rectangle on the slide.
4.    From ‘View’ menu turn on the ‘Sidebar’.
5.    From Sidebar, expand ‘Position and Size’.
6.    Review to check if the units are in inches (“) for Horizontal, Vertical,
Width and Height fields.
7.    Select the entire text inside width. 
8.    Enter 4mm quickly without any delay between keystrokes.
9.    Observe unit conversion with the resulting value 0.16 “
10.    Re-Select the entire text inside width. 
11.    Enter 4mm with a small delay after the first m.
12.    Observe 99m.99 " (Bug)
The unit conversion has occurred on 4 meters, resulting in default maximum of
99.99” before the last keystroke. The last keystroke falls inside the 99.99”.
Value assigned on lost focus = 99.99 ".
13.    Re-Select the entire text inside width. 
14.    Enter 4mm with a small delay after  entering 4.
15.    Observe 4mm.00 " (Bug)

Validation has occurred on 4 inch, resulting in 4.00 " before the remaining 
keystrokes. The remaining  keystroke  falls inside the 4.00 ". Value assigned
on lost focus = 4.00 ".

This behavior is inconsistent with ‘Position and Size’ dialog box pop-up window
(triggered by the click of ‘more options’ icon on the sidebar next to ‘position
and size’ item. The field validation and unit conversion occurs only on lost
focus of the field in the pop-up window.  Please  make sidebar field’s behavior
consistent with the pop-up window dialog.

The bug causes user annoyance when the user try's to adjust the position and
size of the selected object. The incorrect value results in undesired shape/
position of the object, especially when the default maximum of the field is
got.

Please also rename ‘Position X’ label in the’ Position and Size’ pop-up window
dialog to Horizontal (Position X) and ‘Position Y’ label  to Vertical (Position
Y) to make these fields consistent with the sidebar fields.

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to