Priority: P1: Critical
Affects Version/s: 5.9.0
Fix Version/s: 5.9.0
Build host: Ubuntu 64bit
After upgrading from Qt 5.8 to Qt 5.9 the onPressAndHold event is not working properly.
Affected item types are MouseArea, ItemDelegate, TextArea, and probably all others that implement this event.
The behavior of this event also depends on the window type:
1) When 'Window' is used, the event is:
1.a) not triggered at all when ItemDelegate is clicked first time, and triggered immediately (like as if it was the onClicked event) when ItemDelegate is clicked 2nd, 3rd, ... times.
1.b) triggered immediately on mouse click in MouseArea
2) When 'ApplicationWindow' is used, the event is:
2.a) for ItemDelegeate the behavior is same as as in 1.a)
2.b) not triggered at all when clicking inside MouseArea
In all cases, the following message is printed immediately after clicking the items:
GLib-GObject-WARNING **: g_object_get_valist: object class 'GtkSettings' has no property named 'gtk-long-press-time'
The bug could be related to