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

QScrollArea contents not clipped properly when resized in a QGraphicsView using DeviceCoordinateCache

    XMLWordPrintable

Details

    Description

      When resizing the graphics proxy widget containing the scroll area, the scroll area's contents are rendered outside of the rect of the scroll area.
      It has been reproduced on WinXP, but cannot be reproduced on linux (both tested against Qt 4.7.0 beta2).

      I've attached a screenshot that shows it, as well as a code sample that demonstrates the behavior.

      Attachments

        1. main.cpp
          1 kB
          Tom Batkiewicz
        2. scroll_area.jpg
          20 kB
          Tom Batkiewicz
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bjnilsen Bjørn Erik Nilsen
            tomp5 Tom Batkiewicz
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes