Modifying code in qgesturemanager.cpp function deliverEvents allows the gesture event to be delivered.
The new code is invoked if existing methods produce a NULL target widget. The search only operates on gestures that have a hot spot. The search looks at all widgets for the best target widget that contains the hot spot.
After that modification a target widget is found in deliverEvents and the gesture events that previously were not being delivered are processed.
Not ideal to search all widgets, but its better than leaving the target widget null and eating a perfectly good gesture event.
↧