Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.10, 5.13, 5.15.13
-
None
-
0b22140ac (dev), e681919df (6.9)
Description
import QtQuick 2.9 import QtQuick.Controls 2.3 ApplicationWindow { id: window visible: true Button { id: button focus: true // Works // Component.onCompleted: print(ApplicationWindow.window.activeFocusItem) // ".onActiveFocusItemChanged" is not available due to component versioning. ApplicationWindow.window.onActiveFocusItemChanged: print("activeFocusItem", activeFocusItem) // Works // ApplicationWindow.onActiveFocusControlChanged: print("activeFocusControl", activeFocusControl) } }
Attachments
Issue Links
- relates to
-
QTBUG-40043 Problem with accessing revisioned properties from QML
- Closed
- resulted from
-
QTBUG-33179 QML revisioning does not work for grouped properties
- Closed