Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
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
- In Progress
- relates to
-
QTBUG-67331 Make it possible to react to context menu events
- In Progress
Gerrit Reviews
For Gerrit Dashboard: QTBUG-131917 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
609646,7 | WIP: Handle QQmlParserStatus for attached objects | dev | qt/qtdeclarative | Status: NEW | -2 | 0 |