Bug 127457 - FILEOPEN PPTX Vertical text rotation overwrites textbox rotation
Summary: FILEOPEN PPTX Vertical text rotation overwrites textbox rotation
Status: RESOLVED DUPLICATE of bug 149551
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.1 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pptx
Depends on:
Blocks: PPTX-Textbox
  Show dependency treegraph
 
Reported: 2019-09-09 21:37 UTC by Regina Henschel
Modified: 2022-09-16 18:13 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
TextBoxRotation20°_plus_VerticalText270°.pxx demonstrates the error (73.93 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2019-09-09 21:37 UTC, Regina Henschel
Details
Screenshot of the original document side by side in PP and Impress (191.71 KB, image/png)
2021-01-28 11:22 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2019-09-09 21:37:31 UTC
Created attachment 154064 [details]
TextBoxRotation20°_plus_VerticalText270°.pxx demonstrates the error

Open attached document. It has on the left side a shape with text. The text is vertical by the option "Rotate all text 270°". The textbox itseslf has a rotation of 20°. The red rectangle indicates the position of the textbox. On the right side is a screenshot of how it looks in PowerPoint.

Error: The textbox is not rotated.
The reason is in https://opengrok.libreoffice.org/xref/core/oox/source/drawingml/textbodypropertiescontext.cxx?r=e7c0bc48#110 where the value is simple assigned to moRotation instead of being added, and so overwrites the textbox rotation from #97.

[There are a lot of errors in that area, therefore I will not fix it immediately but together with the other problems.]
Comment 1 Xisco Faulí 2019-09-18 09:44:07 UTC
Also reproduced in

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 2 NISZ LibreOffice Team 2021-01-28 11:22:47 UTC
Created attachment 169227 [details]
Screenshot of the original document side by side in PP and Impress

Still a problem in:

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 7eb289c49cc7245ef3001a39be0c15d06bbe875b
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL

The 20 degrees rotation is imported but has no effect on the text.
Comment 3 Regina Henschel 2022-09-16 18:13:53 UTC
Problem is fixed with commits for bug 149551.

*** This bug has been marked as a duplicate of bug 149551 ***