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

2D view does not show the image first, when dropped from Content library - Textures to Image item

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • QDS 4.8.0
    • 2D View, Content Library
    • None
    • 1
    • 95017d948 (qds/dev)
    • QDS Oulu - 2025 Week 33/34, QDS Oulu - 2025 Week 35/36

      Steps to reproduce:

      • Create an empty project
      • Add Image item to 2D view
      • Drag and drop a texture from Content Library - Textures to image in Navigator
      • -> Image is not shown in 2D View
      • -> source path for the image seen in Code view, shows the whole path, e.g. 
              Image {
                  id: image
                  x: 589
                  y: 380
                  width: 100
                  height: 100
                  source: "C:/Users/taremes/Documents/UntitledProject23/UntitledProject23Content/images/4KStar.png"
                  fillMode: Image.PreserveAspectFit 
      • Select image in Navigator
      • Open Properties view
      • Re-select the image from Source dropdown menu
      • -> Now image shows correctly in 2D View
      • -> path is now shorter:
              Image {
                  id: image
                  x: 589
                  y: 380
                  width: 100
                  height: 100
                  source: "images/4KStar.png"
                  fillMode: Image.PreserveAspectFit
              } 

        For Gerrit Dashboard: QDS-15633
        # Subject Branch Project Status CR V

            shgabr Shrief Gabr
            tanja_remes Tanja Remes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes