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

Effect breaks when moved from one item to the other

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • Some future release
    • QDS 2.0
    • Navigator
    • None
    • macOS

    Description

      How to reproduce the problem:

      1) create 2 rectangles, rectangle1 and rectangle2

      2) drag&drop innerShadow

      the effect is now as expected:

       

      Rectangle { 
          id: rectangle1 
          ...
          layer.enabled: true 
          layer.effect: InnerShadowEffect { 
              id: innerShadow 
          } 
      } 
      Rectangle { 
          id: rectangle2 
          ...
      }
      

      3) in Navigator window drag&drop the innerShadow effect from rectangle1 to rectangle2

      the effect is applied wrongly as a child of the rectangle2 instead of beeing a layer.effect parameter, layer.enabled: true is still a parameter of the rectangle1:

       

      Rectangle {
              id: rectangle1
              x: 285
              y: 134
              width: 200
              height: 200
              color: "#ffffff"
              layer.enabled: true // still here!
          }
          
          Rectangle {
              id: rectangle2
              x: 750
              y: 134
              width: 200
              height: 200
              color: "#ffffff"
              
              InnerShadowEffect {
                  id: innerShadow
                  x: -465
                  y: 0
              }
          }
      

      The effect is not visible.

       

       

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            matskoczylasqt Mateusz Skoczylas
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes