We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f10a9d commit 4953558Copy full SHA for 4953558
src/core/composer/qgscomposermousehandles.cpp
@@ -194,7 +194,12 @@ void QgsComposerMouseHandles::drawSelectedItemBounds( QPainter* painter )
194
//not resizing or moving, so just map from scene bounds
195
itemBounds = mapRectFromItem(( *itemIter ), ( *itemIter )->rectWithFrame() );
196
}
197
- painter->drawPolygon( itemBounds );
+
198
+ // drawPolygon causes issues on windows - corners of path may be missing resulting in triangles being drawn
199
+ // instead of rectangles! (Same cause as #13343)
200
+ QPainterPath path;
201
+ path.addPolygon( itemBounds );
202
+ painter->drawPath( path );
203
204
painter->restore();
205
0 commit comments