Bug 97161 - Size of Dimension line objects in small scales are buggy
Summary: Size of Dimension line objects in small scales are buggy
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.1.0.2 rc
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 98916 135431 141382 (view as bug list)
Depends on:
Blocks: Shapes
  Show dependency treegraph
 
Reported: 2016-01-15 23:38 UTC by Rolle
Modified: 2023-08-19 04:14 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
Different values of size and wrong size dimesion line (71.40 KB, image/jpeg)
2016-08-11 12:47 UTC, Thomas Krumbein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rolle 2016-01-15 23:38:09 UTC
The size changing of the 'dimension line' in 'Draw' by using the 'Position and size' dialog works only correct, if the size of the object is so wide, that the unit is capable to be 'insight' the limiting borders. If this object get so small, that the unit is to be drawn 'outside' of the limiting borders, the behaviour of the dialog 'Position and size' is faulty.

a) the inward workflow seems maybe correct: type a too small width for the object in the 'Position and size' dialog results that the object can't be that small size and it is drawn at a smallest(?) possible size and the dialog corrects the width value to the currently width.

b) but the backward workflow is definitely faulty: type from a already small object a greater width in the dialog it needs some iterations to type a greater value to get the correct result.

My conclusion: the behaviour of the small state (unit is outside of the limiting border) isn't correctly computed if the 'Position and size' dialog is used.

Steps to reproduce:
1. start "Draw" component of LibreOffice
2. draw a horizontal "dimension line", for instance half the size of the sheet
3. open the "Position and size" dialog (short cut 'F4')
4. change the width value so that the size of the dimension line gets so small that the unit is drawn outside of the limiting border.
5. From this time each iteration to change the width by using the 'Position and size' dialog is faulty.
6. change the width by using 'Position and size' to a wide value, that it could the unit drawn inside the limiting borders. That didn't occur on the first try. So that is a bug. Only after several iterations to type a wide with in the dialog it works correctly.

7. If you set the size to Zero, so you can't change the width with the 'Position and size' dialog anymore. Only the position changes that is incorrect.

PS: In the property dialog of 'dimension line' exist a angle to directly adjust. That is great. And now I miss an additional property to type directly the length of the 'dimension line'. I mean the representation of the measured length, not to be confused with the width/height of the draw-object itself.

Thank you and good luck to hunt the bug.
Rolle
Comment 1 Buovjaga 2016-01-21 14:21:21 UTC
Reproduced.

Note for testers and devs: "the unit is drawn outside of the limiting border" means typing something like 0,00000001 cm into the input field.

Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+
Build ID: 6b65a0e83c4798f117be61af91dbaebdc85e94b7
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-01-21_03:41:08
Locale: fi-FI (fi_FI)
Comment 2 Thomas Krumbein 2016-08-11 12:46:08 UTC
Reproduced in LibO 5.2.0

Additional Information: Using the Dialog "Position and Size" it is possible to enter correct size - but when reopen, size is extended by 10mm.

Another Point:

Sidebar dimensions should be equal to dimensions in Dialog "Size and Position" -
actual it is not (see attached screenshot)
Comment 3 Thomas Krumbein 2016-08-11 12:47:24 UTC
Created attachment 126758 [details]
Different values of size and wrong size dimesion line
Comment 4 QA Administrators 2017-09-01 11:15:32 UTC Comment hidden (obsolete)
Comment 5 Regina Henschel 2018-08-12 22:25:33 UTC
I think, that it is the same problem as in bug 98916. The Position&Size dialog does not show the length of the dimension line, but it only handles the size and position of the bounding box of the shape. A tool to change the length of the dimension line by entering a value is missing.

The problem is still present in LO 6.1
Comment 6 Buovjaga 2018-08-16 18:33:01 UTC
*** Bug 98916 has been marked as a duplicate of this bug. ***
Comment 7 QA Administrators 2019-08-19 06:55:02 UTC Comment hidden (obsolete)
Comment 8 Regina Henschel 2023-06-07 18:52:31 UTC
*** Bug 135431 has been marked as a duplicate of this bug. ***
Comment 9 Regina Henschel 2023-06-07 18:57:49 UTC
*** Bug 141382 has been marked as a duplicate of this bug. ***
Comment 10 Regina Henschel 2023-06-07 19:00:10 UTC
An option is missing to set the two reference points of the dimension line is missing.

Bug 145969 contains a proposal how to change and extend the "Position and Size" dialog to allow setting object specific values.