diff --git a/src/scriptengines/qml/plasmoid/appletinterface.cpp b/src/scriptengines/qml/plasmoid/appletinterface.cpp index f24bc5152..a3f966765 100644 --- a/src/scriptengines/qml/plasmoid/appletinterface.cpp +++ b/src/scriptengines/qml/plasmoid/appletinterface.cpp @@ -150,8 +150,11 @@ void AppletInterface::init() bool activate = !( isExpanded() && isActivationTogglesExpanded() ); setExpanded(activate); - if (QQuickItem *i = qobject_cast(fullRepresentationItem())) { - i->setFocus(activate, Qt::ShortcutFocusReason); + if (activate) { + if (QQuickItem *i = qobject_cast(fullRepresentationItem())) { + // Bug 372476: never pull focus away from it, only setFocus(true) + i->setFocus(true, Qt::ShortcutFocusReason); + } } });