Bug 119424 - Some shapes drift away after consecutive reopening in Draw (X position changes)
Summary: Some shapes drift away after consecutive reopening in Draw (X position changes)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shapes
  Show dependency treegraph
 
Reported: 2018-08-22 14:02 UTC by Epo Nym
Modified: 2023-07-20 18:26 UTC (History)
6 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 Epo Nym 2018-08-22 14:02:55 UTC
Description:
After consecutive saving and reopening of a drawing in Draw, some shapes, but not all, depending on their size and scale, especially flipped ones, drift away from their original position, even when their position was locked. Though this drift looks relatively small at first, it accumulates in drawings which are frequently edited or updated. This is a vicious bug for drawings where accuracy is required, like floorplans, maps, etc.

Steps to Reproduce:
1. Create a new drawing.
2. Set units to cm and scale to 1:40
3. Draw a coloured rectangle A:
	Position X: 100 cm
	Position Y: 200 cm
	Width: 19 cm
	Height: 50 cm
4. Copy and paste this rectangle, name it B, flip it horizontally and place it to the left of A, so they touch.
	Position X: 81 cm
5. Zoom in on the two rectangles.
6. Save and close the drawing.
7. Now repeat these steps a number of times (like 10):
	a. Reopen the drawing.
	b. Right-click on any rectangle, pick "Position and Size".
	c. Notice the red bullet on the diskette symbol, indicating you need to save changes.
	d. Cancel the dialog (make no changes).
	e. Save and close the drawing.

8. Watch how rectangle B is slightly drifting away from rectangle A...



Actual Results:
Some shapes (rectangle A) keep their original positions.
Some shapes (rectangle B) drift away.


Expected Results:
All shapes should keep their original positions intact.



Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Comment 1 Xisco Faulí 2018-08-28 10:54:52 UTC
Thank you for reporting the bug.
it seems you're using an old version of LibreOffice.
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 2 Epo Nym 2018-09-19 10:39:33 UTC
Tested with LibreOffice 6.1.1 on Ubuntu 18.04 with exact same result.
Comment 3 Buovjaga 2018-10-12 19:27:26 UTC
Repro. Don't have to do 10 times, just observe the X position of B.

Already seen in 3.3.0 (Win)

Arch Linux 64-bit
Version: 6.2.0.0.alpha0+
Build ID: b752a93acff31c824bcec4233a8dd9bee014ca7d
CPU threads: 8; OS: Linux 4.18; UI render: default; VCL: gtk3_kde5; 
Locale: fi-FI (fi_FI.UTF-8); Calc: threaded
Built on 12 October 2018
Comment 4 QA Administrators 2019-10-13 02:33:31 UTC Comment hidden (obsolete)
Comment 5 Regina Henschel 2020-02-01 00:29:55 UTC
The error still exists in Version: 6.5.0.0.alpha0+ (x64)
Build ID: 147af9e2cf7f937ed83ab00574b6a418a2cb629e
CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: default; VCL: win; 
Locale: de-DE (en_US); UI-Language: en-US
Calc: threaded
Comment 6 Epo Nym 2020-02-03 10:04:22 UTC
Tested with LibreOffice 6.4.0.3 on Ubuntu 18.04 with exact same result.
Comment 7 Epo Nym 2020-02-03 10:06:13 UTC
The error still exists in
Version: 6.4.0.3
Build ID: b0a288ab3d2d4774cb44b62f04d5d28733ac6df8
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 8 QA Administrators 2022-02-03 03:38:38 UTC Comment hidden (obsolete)
Comment 9 Epo Nym 2022-04-07 18:12:07 UTC
The bug still exists in

Version: 7.3.2.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.2~rc2-0ubuntu0.20.04.1~lo1
Calc: threaded
Comment 10 Epo Nym 2022-04-13 07:59:42 UTC
The QA Team asked me to confirm that this bug was already there in the earliest LO version (3.3), in other words, inherited from OOo. I did not check the 3.3 version but I went one step further in history to check the version shipped with Ubuntu 10.04.3. And yes, the bug was there:

OpenOffice.org 3.2.0
OOO320m12 (Build:9483)
ooo-build 3.2.0.10, Debian 1:3.2.0-7ubuntu4.2, Wed Jan 26 22:24:57 UTC 2011
Comment 11 Buovjaga 2022-04-13 09:14:53 UTC
(In reply to Epo Nym from comment #10)
> The QA Team asked me to confirm that this bug was already there in the
> earliest LO version (3.3), in other words, inherited from OOo. I did not
> check the 3.3 version but I went one step further in history to check the
> version shipped with Ubuntu 10.04.3. And yes, the bug was there:
> 
> OpenOffice.org 3.2.0
> OOO320m12 (Build:9483)
> ooo-build 3.2.0.10, Debian 1:3.2.0-7ubuntu4.2, Wed Jan 26 22:24:57 UTC 2011

Thanks for testing, but you can check from the Version field, if the automated request makes sense or not. In this case, I already tested with 3.3.0 in 2018 as seen in my comment 3.
Comment 12 Epo Nym 2022-04-13 09:45:43 UTC
(In reply to Buovjaga from comment #11)

Indeed, you already did. Sorry I forgot to mention that. Anyway, I wasn't aware of the request being automated and just assumed that QA needed another confirmation.