Bug 98839 - Distorting and flipping shape, shape changes after closing/reopening file
Summary: Distorting and flipping shape, shape changes after closing/reopening file
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.0.5.2 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Regina Henschel
URL:
Whiteboard: target:7.0.0
Keywords:
Depends on:
Blocks: Shapes
  Show dependency treegraph
 
Reported: 2016-03-23 13:06 UTC by Volker
Modified: 2020-02-29 12:16 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
(1) inserting, distorting rectangle (2) duplicating and flipping (3) after closing and reopening (9.47 KB, image/jpeg)
2016-03-23 13:06 UTC, Volker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volker 2016-03-23 13:06:28 UTC
Created attachment 123792 [details]
(1) inserting, distorting rectangle (2) duplicating and flipping (3) after closing and reopening

Reproduction steps (see also attached pics)
- create new LO draw document (odg)
- insert rectangle
- distort rectangle vertically (by clicking on shape to make red handles appear and then dragging the centre handle on the right hand side)
- duplicate shape (with Ctrl+C, Ctrl+V)
- flip horizontally (by right-clicking on shape > flip> flip horizontally)
- save file
- close file
- reopen file

Result: After closing and reopening file, the flipped shape has changed its shape
Comment 1 raal 2016-03-24 10:28:01 UTC
I can confirm with Version: 5.2.0.0.alpha0+
Comment 2 QA Administrators 2017-05-22 13:20:05 UTC Comment hidden (obsolete)
Comment 3 Regina Henschel 2019-10-05 19:30:16 UTC
The sign of the shear angle is wrong. I see the error still in Version: 6.4.0.0.alpha0+ (x64)
Build ID: b2d8093b19642038631dfb8f1ab6745a380a652c
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-09-23_22:42:37
Locale: de-DE (en_US); UI-Language: en-US
Calc: threaded
Comment 4 Regina Henschel 2019-12-31 14:28:54 UTC
It is an export error. If I manually change the sign of the shear angle in file format, the shape is shown correctly on reopen.
Comment 5 Regina Henschel 2020-02-05 20:15:53 UTC
I'm going to fix it together with similar other bugs.
Comment 6 Commit Notification 2020-02-26 11:05:39 UTC
Regina Henschel committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/b4a6977e05d87fe0a79b266ec30e4f403404f1b4

tdf#129532 tdf#98839 fixes for mirror of custom shapes

It will be available in 7.0.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Regina Henschel 2020-02-29 12:16:44 UTC
Still no daily build for Windows for testing. But my work here is finished for now.