Bug 419846

Summary: PlasmaComponents3.ToolButton is not triggerable during the animation to change its icon
Product: [Frameworks and Libraries] libplasma Reporter: Lucia Mrenica <lucia.mrenica>
Component: componentsAssignee: Marco Martin <notmart>
Status: CONFIRMED ---    
Severity: minor CC: japp.debian, lucia.mrenica, nate, plasma-bugs-null
Priority: NOR Keywords: usability
Version First Reported In: 5.85.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Lucia Mrenica 2020-04-08 16:04:16 UTC
SUMMARY
So, if you double-click (or click quickly after another click) on the play/pause button, only the first click is registered.


SOFTWARE/OS VERSIONS
KDE Frameworks Version: 5.68
Qt Version: 5.15.0 Beta
Comment 1 Nate Graham 2020-04-15 03:07:15 UTC
Fixed in the 5.19 visual refresh!
Comment 2 Lucia Mrenica 2020-06-11 09:10:26 UTC
This still happens exactly as described, it's not fixed.
Comment 3 Nate Graham 2021-08-29 23:56:46 UTC
The button is not doing anything nonstandard, so the issue must be in PlasmaComponents.ToolButton itself.
Comment 4 Nate Graham 2021-10-14 23:36:05 UTC
*** Bug 443665 has been marked as a duplicate of this bug. ***
Comment 5 Jose 2021-10-15 07:35:41 UTC
I did a simple test and I changed onClicked event to onReleased event and was launched properly.

Also I reviewed the source code for PlasmaComponents.ToolButton and it seems fine.

So, I think that this bug would involved to the original Qt object. Would be just a different behaviour for the onClicked events when a double click arrives?
Comment 6 Nate Graham 2021-10-15 14:00:26 UTC
It's quite possible this is an upstream bug in how double-click events are handled. However this control doesn't have an onDoubleClicked: handler, so that would be inappropriate behavior to invoke.

Would you be interested in taking a look upstream in Qt?