[Development] MouseArea: updating hover state when the area moves

Josh Faust jfaust at suitabletech.com
Tue Aug 20 06:15:53 CEST 2013


>From the MouseArea docs:

Warning: This property is not updated if the area moves under the mouse:
containsMouse will not change

I'm curious what the reasoning behind this is. Is it just a performance
optimization?

I ask as it makes a number of things not work properly when:
 * The window resizes (e.g. via keyboard)
 * A MouseArea (such as a button) moves out from under the mouse

Is there any interest in changing this? It's definitely not native behavior
(at least on Windows).

Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130819/3a59d047/attachment.html>


More information about the Development mailing list