Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
deeb14326 (dev), bf62cf89b (6.9)
Description
In https://codereview.qt-project.org/c/qt/qtdeclarative/+/554020/25/src/quicktemplates/qquickcontextmenu.cpp#121 I was trying to defer a property of an attached type. It doesn't work because componentComplete is not called for types created from C++. Fabian said:
Tor Arne actually also had a use case for hooking into the QQmlFinalizerHook logic from an attached property; but we avoided that so far. I'd like to avoid adding that API, but if you really have that use case, we can add it
Attachments
Issue Links
- is required for
-
QTBUG-132265 Defer creation of Menu until it's shown
- Closed
- relates to
-
QTBUG-67331 Make it possible to react to context menu events
- Closed
- resulted in
-
QTBUG-132827 Improve QQmlParserStatus support for attached properties
- Reported
For Gerrit Dashboard: QTBUG-131917 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
609646,19 | ObjectCreator: Handle QQmlParserStatus for attached objects | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
617566,2 | ObjectCreator: Handle QQmlParserStatus for attached objects | 6.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |