Bug 154277

Summary: "Circle Pie" shape has uncommon fill behavior
Product: LibreOffice Reporter: Regina Henschel <rb.henschel>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal CC: heiko.tietze
Priority: medium    
Version: 7.6.0.0 alpha0+   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Circle Pie and Block Arc with same image fill

Description Regina Henschel 2023-03-19 15:37:02 UTC
Created attachment 186074 [details]
Circle Pie and Block Arc with same image fill

Open attached file. Reduce the sector in the shape "Circle Pie" and reduce the sector in the shape "Block Arc". Notice that the background image in "Circle Pie" keeps its position whereas the center of the background image in "Block Arc" moves to the center of the new bounding box.

This does not only happen with image fill but with gradient fill as well.

The behavior that the background fill is relative to the bounding box of the actual rendered lines was introduced sometime between LO 6.0.0.0 and LO 6.1.5.2. Using the bounding box is the correct behavior. Error is, that "Circle Pie" still uses the wrong position of the fill.

However the kind of positioning "Circle Pie" uses might be wished by users. But then it needs to be implemented as new option which can be used for all kind of shapes.
Comment 1 Heiko Tietze 2023-03-21 06:34:10 UTC
In the example at https://wiki.documentfoundation.org/User:Regina/Compatibility_of_Gradients the LibreOffice implementation looks better than MSO. Having options is good in general, we just need an argument why the two shapes behave differently.