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

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • QDS 4.8
    • 2D View, Content Library
    • None

    Description

      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
              } 

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes