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

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes