Bug 114597 - LibreOffice Draw dimension lines can't be edited
Summary: LibreOffice Draw dimension lines can't be edited
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.0.3.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shapes-Line
  Show dependency treegraph
 
Reported: 2017-12-20 17:37 UTC by itdept
Modified: 2021-12-30 17:22 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description itdept 2017-12-20 17:37:12 UTC
Description:
Version: 5.0.3.2
1. No problem drawing dimension lines, but when attempting to edit the Position and Size of a dimension line, Draw often goes berserk. e.g. editing the Width of a horizontal line will cause the Vertical (position) to go off the page somewhere.  Further attempts to correct the values cause increasing chaos.
2. Metric values are converted to an approximation in inches - resulting in small inaccuracies that add up across a modestly complex drawing.
The whole purpose of dimension lines is to have the EXACT dimension displayed.

Steps to Reproduce:
1. Set dimensions to mm, default scale to 1:20, page size to A4.
2. Draw a horizontal dimension line (several hundred mm)
3. Over-type the Width value with slightly different, whole number, value.


Actual Results:  
An apparently random number appears in Width, and either or both Position values go berserk (way off the page) and the only cure is to delete the object and start again.
This problem seems to be confined to dimension lines. It doesn't affect straight lines, or rectangles which can be edited using the method described.

Expected Results:
Only the value being edited should have changed (to that typed)


Reproducible: Always


User Profile Reset: No



Additional Info:
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile 
OpenGL core profile version string: 3.1 (Core Profile) Mesa 10.1.3
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.1.3
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:



User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 Buovjaga 2017-12-26 16:50:21 UTC
Please try with version 5.4.4. A quick way to test is an AppImage: http://libreoffice.soluzioniopen.com/

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.
Comment 2 Cor Nouws 2017-12-27 20:57:00 UTC
(In reply to itdept from comment #0)

> Actual Results:  
> An apparently random number appears in Width, and either or both Position
> values go berserk (way off the page) and the only cure is to delete the
> object and start again.

I do see this too in Version: 6.1.0.0.alpha0+
Build ID: a9b202a6b7000e7af34f2a639ca207122a3968bf
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-12-26_23:09:36
Locale: nl-NL (nl_NL.UTF-8); Calc: group threaded
Comment 3 itdept 2017-12-29 13:28:59 UTC
This bug also applies to any dimension line drawn in a Writer document. Seems to be confined to dimension lines ONLY. Never had a problem with lines ending with various arrows. Difficult to determine the precise circumstances. Reloading the file will fix the problem for a while. But then strikes again. Once triggered seems to afflict all dimension lines in the document.
Comment 4 Cor Nouws 2017-12-29 14:30:51 UTC
It is most visible with the Side Bar.
Tried it in LibreOffice 3.4.4. too. There when you change the width in the dialog, if often also changes to some other value. Then after putting the same wanted value again, it is applied..
So it looks as an old problem.
Comment 5 QA Administrators 2019-12-08 03:45:32 UTC Comment hidden (obsolete)
Comment 6 Ezinne 2021-12-30 15:57:15 UTC
This bug is no longer reproducible in:

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 9e8c1da64fa8a520730ce0aea0f7199cd75c892f
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 7 Buovjaga 2021-12-30 17:22:41 UTC
Not sure why you set it back to NEW, but I can't repro with kf5 and gen either. Tested with sidebar and dialog

Arch Linux 64-bit
Version: 7.2.4.1 / LibreOffice Community
Build ID: 20(Build:1)
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
7.2.4-2
Calc: threaded