Commit 76d9233b authored by Konrad Materka's avatar Konrad Materka
Browse files

[Touchpad applet] Close query dialog on focus loss

Popup asking whether touchpad should be disabled stays open and can be covered by others, for example volume slider.
It is inconsistent since other elements of tray close themselves after switching away.

Depends on: D24825

BUG: 401016

Test Plan:
1. Disconnect all mouses
2. Click the touchpad icon
3. Try to dismiss it like every other tray plasmoid, for example by clicking on some other window.
4. Popup should consider itself dismissed

Reviewers: #plasma_workspaces, #plasma, davidedmundson

Reviewed By: #plasma_workspaces, #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent f2d8a2f5
......@@ -146,6 +146,7 @@ Item {
PlasmaComponents.QueryDialog {
id: confirmDialog
visualParent: plasmoid.compactRepresentationItem
hideOnWindowDeactivate: true
titleText: i18n("Touchpad")
titleIcon: "dialog-warning"
message: i18n("No mouse was detected.\nAre you sure you want to disable the touchpad?")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment