Bug 394204

Summary: Kirigami showPassiveNotification with action button hijacks touch events after timeout
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Murillo Bernardes <mfbernardes>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED WORKSFORME    
Severity: normal CC: postix
Priority: NOR    
Version First Reported In: 5.46.0   
Target Milestone: Not decided   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Murillo Bernardes 2018-05-13 13:38:18 UTC
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 {
Comment 1 postix 2020-01-24 19:11:44 UTC
Is this still the case? Can anyone confirm?
Comment 2 Bug Janitor Service 2020-02-08 04:33:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2020-02-23 04:33:11 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!