Description: LO seems to fail to properly handle Arc if 'bottom right' corner of the BBox is set to be above 'top left' one. Steps to Reproduce: Open attached EMF file Actual Results: Empty image is shown. Expected Results: It should show an arc. Reproducible: Always User Profile Reset: No Additional Info: This is not a recent regression (doesn't work in 6.2.8, 6.4.x, 7.0.5 and 7.2.master). It probably would fail the same way for "right" point placed on the left of the "left" point. Chord and Pie are likely to fail the same way too.
Created attachment 171981 [details] EMF sample with a single Arc entry
Created attachment 171982 [details] Screenshot of the sample EMF file opened in MS Paint
Fixing that will likely improve handling of the sample attached to 55007.
Created attachment 171984 [details] EMF sample with right point on the left of the left one LO fails to properly handling Xs > Xe too.
Created attachment 171985 [details] EMF with Chord instead of Arc
Created attachment 171986 [details] EMF with Pie instead of Arc
Created attachment 171987 [details] Screenshot with Chord and Pie
Created attachment 172148 [details] EMF sample with full arc (start/end angles are the same), right point left to the left point
Created attachment 172149 [details] EMF sample with full arc (start/end angles are the same), "normal" positions of points
Created attachment 172150 [details] Screenshot of fullarc sample Both normal and inverted arc sample should look like a circle.
Bartosz Kosiorek committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/39369c6e67dffe04acc4abb678c1a94526237fd8 tdf#55007 tdf#142263 tdf#142268 EMF Properly display ARC and CHORD It will be available in 7.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Created attachment 172151 [details] EMF sample of the full chord, normal placement of points
Created attachment 172152 [details] EMF sample of full pie, normal placement of points
Created attachment 172153 [details] Screenshot of full chord and full pie samples opened in MS Paint Pie has a line connecting its center with the outer
Bartosz Kosiorek committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/fb5247bf587518eaa01cf5d54dceddf73827d740 tdf#55007 tdf#142263 tdf#142268 EMF ARC, PIE, CHORD allow to draw circle It will be available in 7.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Bartosz Kosiorek committed a patch related to this issue. It has been pushed to "libreoffice-7-1": https://git.libreoffice.org/core/commit/71edc1d1af9691f7b5067579f22d3d8677c1608c tdf#55007 tdf#142263 tdf#142268 EMF Properly display ARC and CHORD It will be available in 7.1.5. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.