Bug 394204 - Kirigami showPassiveNotification with action button hijacks touch events after timeout
Summary: Kirigami showPassiveNotification with action button hijacks touch events afte...
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.46.0
Platform: Other Other
: NOR normal
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-13 13:38 UTC by Murillo Bernardes
Modified: 2020-02-23 04:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!