Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.0
-
None
-
d887758bf (dev), 0682af38c (6.8), faef2e404 (6.7)
Description
It's only issued when QQuickControl::setFocusReason is called which is not all cases. Normally, it will change as the focus changes through other means like a tab press or anything, which are taken care of by QQuickItemPrivate.
I'd produce a patch but it's unclear what the way forward is. I suggest we make focusReason a QQuickItem property. Alternatively, we can use one of the fancy new property objects from Qt 6 as QQuickItemPrivate is not a QObject and therefore cannot emit.