Details
-
Bug
-
Resolution: Fixed
-
P4: Low
-
6.7.2
-
-
0cba61156 (dev), 93e8e2dc4 (6.8)
Description
in Attached example pathToRect returns different rects. Only one rect is valid even though both path are equal and are only created in a different way.
When you run you will get this output:
First path is rect true | bouding rect QRectF(47,0 27x88) | RESULT QRectF(74,88 -27x-88)
Second path is rect true | bouding rect QRectF(47,0 27x88) | RESULT QRectF(47,0 27x88)
This only works if shape points are given in a defined order.
Attachments
For Gerrit Dashboard: QTBUG-128488 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
600286,2 | QGraphicsView: Fix clipping bug for rectangular custom items | dev | qt/qtbase | Status: MERGED | +2 | +1 |
600617,2 | QGraphicsView: Fix clipping bug for rectangular custom items | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |