@@ -68,6 +68,7 @@ StyledItem {
6868 stage.updateFocusedAppOrientationAnimated();
6969 }
7070 property bool hasMouse: false
71+ property bool hasKeyboard: false
7172
7273 // to be read from outside
7374 readonly property int mainAppWindowOrientationAngle: stage.mainAppWindowOrientationAngle
@@ -666,6 +667,7 @@ StyledItem {
666667 anchors.fill: parent
667668 z: overlay.z + 10
668669 usageScenario: shell.usageScenario
670+ hasKeyboard: shell.hasKeyboard
669671 onPowerOffClicked: {
670672 shutdownFadeOutRectangle.enabled = true;
671673 shutdownFadeOutRectangle.visible = true;
@@ -673,6 +675,15 @@ StyledItem {
673675 }
674676 }
675677
678+ MouseArea { // shell dialog prevents interacting with other contents
679+ anchors.fill: parent
680+ visible: dialogs.hasActiveDialog
681+ enabled: visible
682+ acceptedButtons: Qt.AllButtons
683+ hoverEnabled: true
684+ onWheel: wheel.accepted = true
685+ }
686+
676687 Connections {
677688 target: SessionBroadcast
678689 onShowHome: if (shell.mode !== "greeter") showHome()