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

Edge pixel translation/distorsion when rotating view.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.2, 6.2.0
    • Widgets: GraphicsView
    • None
    • macOS, Windows

    Description

      Win 10 (also tested in macOS, and reproducible)
      msvc 2019 x64
      Qt Creator 5.0.3
      Qt Version: 5.15.2 and 6.2.0

      Trying two have 2 different views of the same scene, it seems to be a bug under very uncertain conditions. When the image is rotated the edge pixels seem to be translated and painted all over the smaller view. 

      Example of bug (see attached picture). bug-paint-rotate.png

      If the smaller viewport is positioned in the first half the screen horizontally, everything works fine. For example if it is set top left corner, there is no issues. Current set-up is top right. 

      If you make the smaller viewport larger also the issue goes away.

      If you resize the mainwindow also affects the behavior of the bug, it is not always the same.

      That's why it is so difficult to track it down and to give a sample code to reproduce because it does not happen with all images, just with a few of them. 

      I was quite certain that this was the same bug (https://bugreports.qt.io/browse/QTBUG-93475) but trying with fixed versions 6.2.0 or 6.1.1 or 5.15.5 the bug remains. Do you have any guess vgt or allan.jensen

      Thanks in advance and sorry but it is my first bug report in here. Cheers! 

      Attachments

        Activity

          People

            bibr Andreas Aardal Hanssen
            arvs.bcn arvs.bcn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: