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

If you change the some effect source image on property view UrlChooser and save the project, the effect doesn't show the image anymore on 2D view

    XMLWordPrintable

Details

    • 2
    • 0a9723332 (qds/dev)
    • QDS Oulu - 2024 Week 9/10

    Description

      Steps:

      • Create effect with image, e.g. lava
      • Add effect to e.g. a Rectangle component -> effect shows correctly on 2D view
      • Import a 2D image to the project
      • Select Lava effect in navigator
      • Set Lava "Image" property on property view to the imported image -> New image is correctly utilized in effect on 2D view
      • Save project -> New image is no longer utilized for effect in 2D view

      Resetting puppet doesn't fix the issue. If you close QDS and restart, effect is still not utilizing the image correctly in 2D view. If you run the project, effect works correctly.

      Trace shows it's trying to load the image with incorrect path, it appears the relative path is not resolved correctly in puppet. The path is resolved as if it is relative to the component when it should be relative to the main qml file where the property is actually set.

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          504 kB
        2. image-2024-03-01-10-41-35-016.png
          image-2024-03-01-10-41-35-016.png
          75 kB
        3. Test.zip
          245 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            e0348803 Miikka Heikkinen
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes