Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-1478

QSafeBitmapResourceReader does not check if the bitmap is already loaded

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Cannot Reproduce
    • Affects Version/s: QSR 1.2, QSR 2.0
    • Fix Version/s: QSR 2.0 RC1
    • Component/s: Runtime
    • Labels:
      None
    • Sprint:
      Sprint 24 Week 21, Sprint 25 Week 22

      Description

      There is no check in the resource reader if the bitmap is already loaded or not.
      The file reader class has the proper checking. The data overhead is not big because the resource reader does not load the data but just sets the pointer to the data section where the bitmap data is located.
      The end result is that Constraints::MAX_AMOUNT_OF_BITMAPS get overrun when you are having the case where that same bitmap files and used in the several item transitions).

        TestRail: Results

          Attachments

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

            Activity

              People

              Assignee:
              teemu.holappa Teemu Holappa
              Reporter:
              teemu.holappa Teemu Holappa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes

                    TestRail: Runs

                      TestRail: Cases