Details
-
Bug
-
Resolution: Out of scope
-
P1: Critical
-
None
-
5.2.0, 5.2.1, 5.3.0 Beta1
Description
Regression issue from Qt 5.1.1.
QPolygonF:united() returns errornous result when using more complex polygons. Please test attached polygon.zip. Mouse clicking change polygons between A, B and united (green).
Regression is caused because of qSort is changed to std::sort in QPathClipper.
Change-Id: I324ddf6129fe8884ecea97ef47abb7c071dfb34c
Reverting std::sort() to qSort() fixes the issue. Patch attached. But don't believe it's solution for longer term if qSort is deprecated. Please do correction to std:sort() usage. Be aware if there's other situations also that cause problems because of the qSort change.
Attachments
Issue Links
- relates to
-
QTBUG-34487 Wrong result using "QPolygonF united ( const QPolygonF & r ) const"
-
- Reported
-
-
QTBUG-100172 QPolygonF::united same polygons error
-
- Closed
-
-
QTBUG-3755 Regression with QPolygonF subtracted
-
- Closed
-