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

QPixmap & QPixmapCache cache wrong data if subsecuently load several paths

    XMLWordPrintable

Details

    • 62d25e4d4f02a53da25b9f14cc9e0244d6655312

    Description

      Code snippet to reproduce:

      QPixmap pix1;
      pix1.load("path1");
      ...
      pix1.load("path2");

      QPixmap pix2;
      pix2.load("path1");//error - actually path2 is loaded

      Attached sample app, run, press button1, then press button2.

      Checked only on Mac.

      Attachments

        1. PixmapLoad.zip
          10 kB
          Sergei Nevdakh
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rodal Samuel Rødal
            sergei.nevdakh Sergei Nevdakh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes