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.
Attachments
For Gerrit Dashboard: QTBUG-125725 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
566071,3 | Make QQuickItemPrivate::setLastFocusChangeReason virtual | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |
568896,2 | Make QQuickItemPrivate::setLastFocusChangeReason virtual | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
569178,2 | Make QQuickItemPrivate::setLastFocusChangeReason virtual | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |