Bug Hunting Session
Bug 76456 - FILEOPEN custom shape itself and text in custom shape have wrong rotation
Summary: FILEOPEN custom shape itself and text in custom shape have wrong rotation
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
(earliest affected)
3.3.4 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: OOXML-Shapes Shapes-Custom
  Show dependency treegraph
Reported: 2014-03-21 14:49 UTC by Regina Henschel
Modified: 2019-03-10 20:16 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

custom shape rotated, text rotated (26.72 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2014-03-21 14:49 UTC, Regina Henschel
3.3.4 (1.11 MB, image/bmp)
2016-11-02 00:57 UTC, Richard
5.2.2 (1.12 MB, image/bmp)
2016-11-02 00:58 UTC, Richard

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2014-03-21 14:49:31 UTC
Created attachment 96171 [details]
custom shape rotated, text rotated

The attached document contains three custom shapes. The left example has the default settings. The middle example is rotated by 90°, the text remains in the default orientation. The right example is rotated by 90° and in addition the whole text is rotated by 270°, which is one of the settings in Excel. All angle values are those from the UI. I have not looked, whether they are different in file format.
The file contains in addition a screenshot from the view in Excel 2010.

Open the file. Notice, that the rotated shapes are wrong.

Notice, that for a draw:custom-shape the draw:enhanced-geometry has an attribute draw:text-rotate-angle, which would be responsible for the text rotation. The shape rotation is done by a transformation.
Comment 1 Buovjaga 2014-11-08 14:43:43 UTC
I confirm the wrongness.

Win 7 64-bit Version:
Build ID: c989f5e0e11e295b11ffc921b0d105869e037e47
TinderBox: Win-x86@42, Branch:master, Time: 2014-11-07_22:50:48
Comment 2 Xisco Faulí 2015-09-09 15:12:21 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2016-09-20 10:29:57 UTC Comment hidden (obsolete)
Comment 4 Richard 2016-11-02 00:54:54 UTC
CONFIRMED to be still present on Ubuntu 16.04 and LibreOffice 5.2.2. 

Shape and text orientation is wrong for second and third shape. 

Bug also present in LibreOffice 3.3.4. The orientation is fine except for the third shape where the text orientation is wrong.
Comment 5 Richard 2016-11-02 00:57:21 UTC
Created attachment 128420 [details]
Comment 6 Richard 2016-11-02 00:58:04 UTC
Created attachment 128421 [details]
Comment 7 QA Administrators 2017-11-03 08:05:15 UTC Comment hidden (obsolete)
Comment 8 Regina Henschel 2017-11-06 00:02:15 UTC
The error is still in Version:
Build ID: 6c68f38bc28bb55a4f0d53b8f38957516d3935d1
CPU threads: 4; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2017-09-04_22:05:26
Locale: de-DE (de_DE); Calc: group
Comment 9 Regina Henschel 2018-11-06 15:03:34 UTC
The error is still in Version: (x64)
Build ID: f825e6d4082c0d0beb1c95b881f6a2ee9bfc9161
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-05_00:20:26
Locale: de-DE (en_US); Calc: CL