We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent d1aff82 commit cf83352Copy full SHA for cf83352
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