Bug 129530 - Vertical flip, which is contained in draw:transform, does not flip a legacy arc
Summary: Vertical flip, which is contained in draw:transform, does not flip a legacy arc
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shapes
  Show dependency treegraph
 
Reported: 2019-12-20 20:30 UTC by Regina Henschel
Modified: 2024-12-14 18:21 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
legacy arc with vertical flip via draw:transform attribute (15.62 KB, application/vnd.oasis.opendocument.presentation)
2019-12-20 20:30 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2019-12-20 20:30:30 UTC
Created attachment 156705 [details]
legacy arc with vertical flip via draw:transform attribute

The attached file has two slides. Each slide has a legacy arc in blue without transformation and the same arc in red with transformation.
Unpack the file to see the draw:transform attribute.
The transformations in attribute value translate(-5.75cm -5.25cm) scale(1 -1) translate(5.75cm 5.25cm) are used from left to right.

The draw:transform attribute should result in a vertical flip in both cases. Instead the shape gets a 180°-rotation.

If you vertically flip an arc with the tool from the UI, the transformation is replaced by a horizontal flip and a 180°-rotation. That is mathematically equivalent. The horizontal flip of a legacy arc is done by calculating new start and end angles. That is missing here.

The problem is not only in Impress, but in other modules too.
Comment 1 Xisco Faulí 2019-12-26 15:49:01 UTC
Reproduced in

Version: 6.5.0.0.alpha0+
Build ID: 1abfc8e2f677024ea058e96f3133e503ba89ea02
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 2 QA Administrators 2021-12-26 04:21:12 UTC Comment hidden (obsolete)
Comment 3 Regina Henschel 2021-12-26 14:06:05 UTC
It is still wrong in Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4ac9032163cf55c160145373e7c41741c9c339ca
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL
Comment 4 QA Administrators 2023-12-27 03:09:45 UTC Comment hidden (obsolete)
Comment 5 Regina Henschel 2023-12-27 14:18:56 UTC
The problem still exists in Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 43967453e15e1d054972a7586cfef8f8e0866270
CPU threads: 32; OS: Windows 10.0 Build 22631; UI render: default; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded