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

AnimatedImage - status changed to Image.Ready but sourceSize, paintedWidth, and paintedHeight not yet set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.15.1
    • None
    • Linux/Wayland, Linux/X11

    Description

      I load an AnimatedImage and listen to its status changes. When the status changes to Image.Ready I check the paintedWidth and sourceSize yet both are still zero at this point.

      If I create a Timer with interval=0 that I start when the status changes to Image.Ready then I get the proper values for paintedWidth, paintedHeight, and sourceSize.

      Attachments

        Issue Links

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

          Activity

            People

              studiosus Vladimir Belyavsky
              luspi Lukas Spies
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes