Comment 2 for bug 1365471

Revision history for this message
Zsombor Egri (zsombi) wrote :

Ah, just realised that the bug refers to any component. Actually the problem is, that this is due to the way a MouseArea works. All components you listed here are derived from AbstractButton, and that component also has pressAndHold() signal. Now, that signal is a forwarded signal from the MouseArea the component uses. And here comes the problem: MouseArea does NOT emit clicked event if the pressAndHold signal is connected/implemented. And we have that. So a release after a long press actually causes a pressAndHold to be emitted, and clicked signal to be suppressed. This is a behaviour we cannot really change.