Bug 154277 - "Circle Pie" shape has uncommon fill behavior
Summary: "Circle Pie" shape has uncommon fill behavior
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-19 15:37 UTC by Regina Henschel
Modified: 2023-03-21 06:34 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Circle Pie and Block Arc with same image fill (81.77 KB, application/vnd.oasis.opendocument.presentation)
2023-03-19 15:37 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
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.