Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-15748

Strange property changes when doing a ParentChange

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.7.0, 4.7.1, 4.7.2
    • None
    • Ubuntu 10.10

    Description

      When running the attached example in qmlviewer and clicking on the screen, the output is as follows:

      ===== state: inHolder =====
      text: Dummy is in the holder
      text: Dummy fills the screen
      before ParentAnimation
      after ParentAnimation
      text: Dummy is in the holder
      

      The expected output is:

      ===== state: inHolder =====
      before ParentAnimation
      after ParentAnimation
      text: Dummy is in the holder
      

      The spurious changes to the target value and back to the original value, only to finally change to the target value as the end, are not expected. Also, they do not occur when commenting out the ParentChange (but the ParentAnimation is not necessary to trigger this issue).

      In my case I'm trying to set the source of an asynchronous Image element and these strange property changes are causing unnecessary reloading (which I actually wanted to avoid during the animation).

      Attachments

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

        Activity

          People

            brasser Michael Brasser (closed Nokia identity) (Inactive)
            lindeije Thorbjørn Lindeijer (closed Nokia identity) (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes