Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
QDS 4.4
-
None
-
OS: Windows 11 Pro, Version 22H2, OS build 22621.2861.
64-bit operating system, x64-based processor
-
-
1
-
6fb7f464a (qds/dev)
-
QDS Oulu - 2024 Week 3/4
Description
How to reproduce:
- Create a New Effect file called MyEffect
- Add a noise node to MyEffect
- Save the MyEffect
- The directory and files are created under asset_imports/Effects/MyEffect
- Apply MyEffect to an Image QML component in Screen01.ui.qml
- QML code is automatically updated with the MyEffect applied to the image.
- Right click on the Effect file in the assets view
- Delete the file
Description
The effect file disappears from the effects list in the assets view, but the files from asset_imports/Effects/MyEffect are still there and the code still refers to the MyEffect component.
Expected behavior
Deleting the file should have some effects.
If the asset comes from the outside, the effect file should not be removed, but at least a user should be notified that the effect is still referred in the QML.
Preferably, the QML code should be automatically updated, so the designers, who don't have much expertise in writing the code, are able to proceed with their project.
Attachments
For Gerrit Dashboard: QDS-11723 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
533596,4 | QmlDesigner: Remove deleted effect usages from current document | qds/dev | qt-creator/qt-creator | Status: MERGED | -1 | 0 |