Issue 53734 - Circle pie convert to polygon problem
Summary: Circle pie convert to polygon problem
Alias: None
Product: Draw
Classification: Application
Component: editing (show other issues)
Version: 680m122
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2005-08-24 15:00 UTC by unraveler
Modified: 2013-02-07 22:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

An example of seperated pie filling and contour (8.04 KB, application/
2005-08-24 15:00 UTC, unraveler
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description unraveler 2005-08-24 15:00:21 UTC
Strange behavious occurs when circle pie objects are converted to polygon.  They
are broken in two objects : the filling and the surrounding line.

To reproduce in draw :

- Select Circle Pie icon from the Basic Shape menu in the drawing bar
- Draw a circle pie in the draw area
- Right click and select Convert -> To polygon

Now there is strange behaviour : if you view points (click the Point icon on the
drawing bar), the polygon point don't appear immediately.  If you deselect the
pie and then double click on it, you will see the polygon points, and you can
drag the filling out of the surrounding contour line.  The contour and filling
still seems to be linked somehow because when the filling is selected by single
clicking, the contour is also selected.

Because of this, pies cannot be merged with other shapes since if I understand
correctly, objects are converted to polygons to be merged.
Comment 1 unraveler 2005-08-24 15:00:50 UTC
Created attachment 29028 [details]
An example of seperated pie filling and contour
Comment 2 wolframgarten 2005-08-24 15:07:23 UTC
When the pie is converted the outline and the filling belong to the same group,
thats why both are marked when one is selected.
The late appearance of the polygon points is reproducible.
Comment 3 unraveler 2005-08-24 19:15:26 UTC
Since this is a group, workaround to merge a circle pie with another shape :
1- Convert the pie to polygon
2- Ungroup the new resulting pie
3- Select and delete the contour
4- Format->Line-> Set Style to continous

Merge then works correctly.

This highlights that there is also a bug when merging two shapes that are
exaclty superimposed.  I have opened Issue 53750 on the subject.
Comment 4 Armin Le Grand 2005-10-25 11:38:08 UTC
AW: First, i could noit reproduce. I then found out that You are talking about
the AutoShape 'CirclePie'.
For info: There are two different pie shapes ATM, one built-in which You need to
add to some toolbar to access it, and the AutoShape CirclePie.
Indeed, the AutoShape CirclePie is converted to a group. This should not happen
since AutoShape breakup checks if outline and fill shape are the same and merges
them if possible. So this bug points to outline and filling of AutoShape
CirclePie being different and thus make problems at breakup.
Comment 5 Armin Le Grand 2005-10-25 11:53:34 UTC
AW->SJ: SortFilledObjectsToBackByDefault returns true, which forces
EnhancedCustomShape2d::CreateSubPath (called by
EnhancedCustomShape2d::CreatePathObj) to really create a filled and a outline
shape. I think that is not necessary for AutoShape 'CirclePie'.