Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-4166

Incorrect behavior of data input for Timeline combined with visibility for component and wrapped of component

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: Qt 3D Studio 2.6, Qt 3D Studio 2.7
    • Fix Version/s: Qt 3D Studio 2.8
    • Component/s: OpenGL Runtime
    • Labels:
      None
    • Commits:
      1fc6a3a5aaf1f7d6b258d4fc7fee8a30562ba59f

      Description

      ---------------------------------------------------------------------------------------------------------------

      Tests to reproduce (for TestApp.7z):

      Test 1.1
      Precondition:

      1. Run test application "TestApp"
      2. Press keys "1" -> "2" -> "0"  and make sure that upper rectangles change position
        (animated property position changes via data input on timeline)
      3. Pres key "0" for set position of upper rectangles corresponded to timeline = 0.0

      Steps:

      1. Press key "5" (changed visibility to false via data inputs for objects:
        "Component" (component without wrap object), "ParentComponent" and "ParentGroup" wraps "ChildComponet")
      1. Press key "2" 
      2. Press key "3"

      Expected Result:

      After step 3 "Component" , "ParentComponent" and "ParentGroup" should be visible
      and position for upper rectangles should be corresponded to timeline = 1.0

      Actual result:

      After step 3 "Component" , "ParentComponent" and "ParentGroup" are visible
      and position for upper rectangles corresponded to timeline = 0.0 (previous level)

      --------------------------------------------------------------------------------------------------------------- 

       

      Test 1.2
      Precondition:

      1. Run test application "TestApp"
      2. Press keys "1" -> "2" -> "0"  and make sure that upper rectangles change position
        (animated property position changes via data input on timeline)
      3. Pres key "0" for set position of upper rectangles corresponded to timeline = 0.0

      Steps:

      1. Press key "5" (changed visibility to false via data inputs for objects:
        "Component" (component without wrap object), "ParentComponent" and "ParentGroup" wraps "ChildComponet")
      1. Press key "2" 
      2. Press key "4"

      Expected Result:

      After step 3 "Component" , "ParentComponent" and "ParentGroup" should be visible
      and position for upper rectangles should be corresponded to timeline = 1.0

      Actual result:

      After step 3 "Component" , "ParentComponent" and "ParentGroup" are visible,
      position for upper rectangle from object "Component" corresponded to timeline = 1.0
      and upper rectangles from "ChildComponent" (wrapped "ParentComponent" and "ParentGroup") timeline = 0.0 (previous level)

      ---------------------------------------------------------------------------------------------------------------

       

      Tests to reproduce (for TestApp2.7z):

      Test 2.1
      Precondition:

      1. Run test application "TestApp2"
      2. Press keys "1" -> "2" -> "0"  and make sure that upper rectangles change position
        (animated property position changes via data input on timeline)
      3. Pres key "0" for set position of upper rectangles corresponded to timeline = 0.0

      Steps:

      1. Press key "5" (changed visibility to false via slide for objects:
        "Component" (component without wrap object), "ParentComponent" and "ParentGroup" wraps "ChildComponet")
      1. Press key "2" 
      2. Press key "3"

      Expected Result:

      After step 3 "Component" , "ParentComponent" and "ParentGroup" should be visible
      and position for upper rectangles should be corresponded to timeline = 1.0

      Actual result:

      After step 3 "Component" , "ParentComponent" and "ParentGroup" are visible
      and position for upper rectangles corresponded to timeline = 0.0 (previous level)

      ---------------------------------------------------------------------------------------------------------------

       

      Test 2.2
      Precondition:

      1. Run test application "TestApp2"
      2. Press keys "1" -> "2" -> "0"  and make sure that upper rectangles change position
        (animated property position changes via data input on timeline)
      3. Pres key "0" for set position of upper rectangles corresponded to timeline = 0.0

      Steps:

      1. Press key "5" (changed visibility to false via slide for objects:
        "Component" (component without wrap object), "ParentComponent" and "ParentGroup" wraps "ChildComponet")
      1. Press key "2" 
      2. Press key "4"

      Expected Result:

      After step 3 "Component" , "ParentComponent" and "ParentGroup" should be visible
      and position for upper rectangles should be corresponded to timeline = 1.0

      Actual result:

      After step 3 "Component" , "ParentComponent" and "ParentGroup" are visible
      and position for upper rectangles corresponded to timeline = 0.0 (previous level).
      This test 2.2 has different actual result from test 1.2

      ---------------------------------------------------------------------------------------------------------------

       

      Observed problems:

      1. data input for timeline do not applied inside target component
        for invisible target component  or wrapped of target Component.
      2. data input for timeline do not set immediately inside target component
        after change visibility (via data input or slide) for target component or wrapped of target component .

      Please refer to Window.h and main.uip, to better understand.

       

        Attachments

        1. TestApp.7z
          31 kB
        2. TestApp2.7z
          31 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            tonyl Tony Leinonen
            Reporter:
            valery_khryuchkin Valery Khryuchkin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes