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

QQuickWidget not respecting QScrollArea borders and painting over another QQuickWidget's canvas

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • 5.5.0
    • 5.3.2, 5.4.0
    • Quick: Widget
    • None
    • Windows 7 x64, Qt 5.4 MSVC opengl, Intel i7 2600k integrated video driver.

    Description

      If a QQuickWidget is inserted into QScrollArea and its width is more than QScrollArea's visible viewport, the contents of this QQuickWidget will paint over any other QQuickWidget 's canvas that "overlaps" the "invisible" part of the original widget.

      Test case attached. The "blue" part of the window should only be painted inside qscrollarea's viewport, yet it overlaps to the right if the splitter is high enough so that 2 qquickwidgets canvases intersect.

      Attachments

        Issue Links

          Activity

            People

              tvete Paul Olav Tvete
              zekses Nikolai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: