Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-11723

Deleting an Effect file from the assets view has no effect on the project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • QDS 4.4
    • QDS 4.4
    • Effect Composer
    • None
    • OS: Windows 11 Pro, Version 22H2, OS build 22621.2861.
      64-bit operating system, x64-based processor
    • Windows
    • 1
    • 6fb7f464a (qds/dev)
    • QDS Oulu - 2024 Week 3/4

    Description

      How to reproduce:

      1. Create a New Effect file called MyEffect
      2. Add a noise node to MyEffect
      3. Save the MyEffect
        1. The directory and files are created under asset_imports/Effects/MyEffect
      4. Apply MyEffect to an Image QML component in Screen01.ui.qml
        1. QML code is automatically updated with the MyEffect applied to the image.
      5. Right click on the Effect file in the assets view
      6. 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

        Activity

          People

            e0348803 Miikka Heikkinen
            piotrtanski Piotr Tański
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes