-
Bug
-
Resolution: Fixed
-
P4: Low
-
6.6.3, 6.7.3, 6.8.1, 6.8.2
-
None
-
73eac57ab (dev), 42f5dc1b5 (dev), f0b4b3db4 (6.8), c72a3dc83 (dev), e3631c332 (dev), 28e617228 (6.8), 9f96523b8 (6.8), d7021af1b (dev), 526e3ffe4 (6.8), fdb32106a (dev), 5f1b2885b (6.9), 13dabbb09 (tqtc/lts-6.8)
The code attached demonstrates the issue. In the three functions, the reported number of items equals the count of what I pass into the methods. But the methods don't get anything but the first items in every case.
The code prints the following:
drawPoints: points = PySide6.QtCore.QPoint(1, 2) pointCount = 2 drawPolygon: points = PySide6.QtCore.QPoint(1, 2) pointCount = 2 mode = <PolygonDrawMode.PolylineMode: 3> drawPolygon: points = PySide6.QtCore.QPoint(1, 2) pointCount = 2 mode = <PolygonDrawMode.PolylineMode: 3> drawPolygon: points = PySide6.QtCore.QPoint(1, 2) pointCount = 2 mode = <PolygonDrawMode.OddEvenMode: 0> drawPolygon: points = PySide6.QtCore.QPoint(1, 2) pointCount = 2 mode = <PolygonDrawMode.OddEvenMode: 0> drawRects: rects = PySide6.QtCore.QRect(1, 1, 1, 1) rectCount = 2
Whatever I pass to the functions, the result is essentially the same. The first item I provide is drawn, the others vanish. So, do I miss anything?
- is duplicated by
-
PYSIDE-891 Cannot implement QPaintEngine.drawPolygon drawLines, drawPoints or drawRects in Python
-
- Closed
-
- relates to
-
PYSIDE-2602 TypeError: WebEnginePage.javaScriptPrompt() takes 4 positional arguments but 5 were given
-
- Closed
-