diff --git a/src/private/DragController.cpp b/src/private/DragController.cpp index 9ca0901d..04b1cb70 100644 --- a/src/private/DragController.cpp +++ b/src/private/DragController.cpp @@ -389,6 +389,12 @@ void StateInternalMDIDragging::onEntry() { qCDebug(state) << "StateInternalMDIDragging entered. draggable=" << q->m_draggable->asWidget(); + + // Raise the dock widget being dragged + if (auto tb = qobject_cast(q->m_draggable->asWidget())) { + if (Frame *f = tb->frame()) + f->raise(); + } } bool StateInternalMDIDragging::handleMouseButtonRelease(QPoint)