https://bugs.kde.org/show_bug.cgi?id=394204

            Bug ID: 394204
           Summary: Kirigami showPassiveNotification with action button
                    hijacks touch events after timeout
           Product: frameworks-kirigami
           Version: 5.46.0
          Platform: Other
                OS: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: notm...@gmail.com
          Reporter: mfbernar...@gmail.com
  Target Milestone: Not decided

Calling showPassiveNotification with an actionText and callBack ends up
hijacking the bottom area of the screen.

Even with the actionButton invisible it still receives and handles all touch
events.

According to MouseArea documentation it does not propagate the enabled property
to children, so by binding background enabled to root's it works as expected,
although might not be the best approach.


-- src/controls/templates/private/PassiveNotification.qml.old   2018-05-13
15:24:26.000000000 +0200
+++ src/controls/templates/private/PassiveNotification.qml      2018-05-13
15:34:34.000000000 +0200
@@ -105,6 +105,7 @@

     Item {
         id: background
+        enabled: root.enabled
         width: backgroundRect.width + Units.gridUnit
         height: backgroundRect.height + Units.gridUnit
         Rectangle {

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to