Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2.10
-
None
Description
Setting the Qt::WA_NativeWindow attribute can sometimes prevent QSpinBoxes from receiving mouse release events, which causes the spinbox to continue spinning indefinitely.
I've attached a simple example application with a dialog containing a QSpinBox within a container widget. I believe this sort of nesting is required to reproduce the bug.
This has something to do with the focus frame on the spinbox, it's possible to prevent eternal spinning by setting Qt::WA_MacShowFocusRect to false on the spinbox, or by setting the application attribute Qt::AA_DontCreateNativeWidgetSiblings to true.