Bug 145271 - after convert to metafile, rotating a shape doesn't rotate the fill gradient any more
Summary: after convert to metafile, rotating a shape doesn't rotate the fill gradient ...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86 (IA32) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevAdvice
Depends on:
Blocks: Object-Fill-Gradient
  Show dependency treegraph
 
Reported: 2021-10-22 09:04 UTC by Joachim Kreutzer
Modified: 2022-11-11 08:28 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
When the drawing is printed, the shape will be rotated. (80.67 KB, application/vnd.oasis.opendocument.graphics)
2021-10-22 09:15 UTC, Joachim Kreutzer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joachim Kreutzer 2021-10-22 09:04:17 UTC
Description:
If rotate any shape, the fill gradient doesn't affect the rotation. This is ok.

But, the rotation of the fill gradient can be forced when the shape is 'convertet to Meta'.

Since Version 7.0, this isn't working anymore.
But however, if you export the shape with pdf, or if you print it, the Rotation of the fill gradient is still be done.

Steps to Reproduce:
1. Draw an Rectangle
2. Choose fillstyle: axial, 0°
3. Convert to metafile
4. Rotate it, for example 30°



Actual Results:
Problem: the axial fillstyle stays at 0°.

This behavior ist new since Version 7.0

Expected Results:
The axial fillstyle should rotate by 30°.




Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
If you choose pdf-export, the fill style is rotated correctly by 30°!
Comment 1 Joachim Kreutzer 2021-10-22 09:15:47 UTC
Created attachment 175873 [details]
When the drawing is printed, the shape will be rotated.
Comment 2 Buovjaga 2022-11-09 15:55:48 UTC
This does not seem to be a regression as it behaves the same way in 3.3.0, 6.4 and the oldest of 7.0 bibisect repo (tested on Windows). Also seen on Linux. But I don't know if this is a limitation of the metafile format. Some developer could look into this.

Arch Linux 64-bit
Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b57307e8f3553fcb292c9c11fcf58bcef3a6cb3c
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 8 November 2022
Comment 3 Stéphane Guillou (stragu) 2022-11-11 08:28:47 UTC
A commit that might be relevant:

https://git.libreoffice.org/core/+/fc91501f9f0a24ccfa69c2b4baf070aac9e2d0f0%5E%21