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

BorderImage not draws border with middle 1x1 px and consumes a lot of memory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P4: Low
    • None
    • 5.0.0 RC 1
    • Quick: SceneGraph
    • None

    Description

      When I use BorderImage with middle 1x1 px (for example, 5x5 image with borders 2 px) it does not draws the whole border (http://joxi.ru/MLbUM4L4). Note the amount of consumed memory. Also I've received high CPU load if I have many such images.
      When I set as a source 100x100 image it works correctly (http://joxi.ru/T5Pcc1A).

      Attachments

        1. bg_100x100.png
          bg_100x100.png
          0.3 kB
        2. bg_5x5.png
          bg_5x5.png
          0.1 kB
        3. main.qml
          0.4 kB

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              krnekit Nikita Krupenko
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes