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

Creating a border pixel from a 3×3/4×4 pixel PNG where the center pixel/pixels is transparent gives a very strange result when put in a resizable "large" rectangle.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.1.0
    • None
    • Windows 7/Windows 8, Qt 5.1 Angle, NVidia GeForce GTX 650

    Description

      Creating a border pixel from a 3×3/4×4 pixel PNG where the center pixel/pixels is transparent gives a very strange result when put in a resizable "large" rectangle.

      The border only fills up the top part of the rectangle and there are severe performance decrease when resizing.
      Changing the border size to 2 instead of 1 fixes the problem though, however the border still looks a bit strange during resizing.

      Attachments

        1. borderImage.png
          borderImage.png
          0.2 kB
        2. BorderImage-BUG-screenshot.jpg
          BorderImage-BUG-screenshot.jpg
          14 kB
        3. main.qml
          0.3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sletta Gunnar Sletta
            zeiko Karl-Gustav Johansson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes