1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-08 22:48:28 -04:00

popout: guard against bad state and reset input method on close

port 1.5

(cherry picked from commit 3951cd6b18)
This commit is contained in:
bbedward
2026-07-16 10:19:44 -04:00
committed by dms-ci[bot]
parent 7ab1f6a956
commit 59164cbd30
3 changed files with 24 additions and 2 deletions
@@ -630,6 +630,13 @@ Item {
color: "transparent"
readonly property bool closeVisualActive: root.shouldBeVisible || root.isClosing
onVisibleChanged: {
if (visible || !Qt.inputMethod)
return;
Qt.inputMethod.hide();
Qt.inputMethod.reset();
}
PopoutHoverDismiss {
id: hoverDismissController
anchors.fill: parent