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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical 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.

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes