diff --git a/src/Mod/TechDraw/Gui/QGIView.cpp b/src/Mod/TechDraw/Gui/QGIView.cpp index 2f546f0e2d..0f3ca64fc1 100644 --- a/src/Mod/TechDraw/Gui/QGIView.cpp +++ b/src/Mod/TechDraw/Gui/QGIView.cpp @@ -799,6 +799,7 @@ QRectF QGIView::frameRect() const continue; } if ( + // we only want the area defined by the edges child->type() != UserType::QGIRichAnno && child->type() != UserType::QGEPath && child->type() != UserType::QGMText && @@ -834,7 +835,9 @@ QRectF QGIView::customChildrenBoundingRect() const child->type() != UserType::QGCustomBorder && child->type() != UserType::QGCustomLabel && child->type() != UserType::QGICaption && - child->type() != UserType::QGIVertex && + // we treat vertices as part of the boundingRect to allow loose vertices outside of the + // area defined by the edges as in frameRect() + // child->type() != UserType::QGIVertex && child->type() != UserType::QGICMark) { QRectF childRect = mapFromItem(child, child->boundingRect()).boundingRect(); result = result.united(childRect);