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

Wayland: Sub-surfaces not properly moved out of the way when scrolling main view

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.6.1, 5.10.0
    • QPA: Wayland

      This is an upstream of KDE bug https://bugs.kde.org/show_bug.cgi?id=365864

      When one has e.g. a QQuickView embedded into a QWidget based application the embedded view is not adjusted correctly in the sub-surface protocol. To reproduce:
      1. Start a Wayland compositor (problem verified with Weston and KWin)
      2. Open systemsettings5 on platform wayland
      3. Go to "Display and Monitor"
      4. ensure there is a vertical scrollbar (e.g. resize window)
      5. scroll down

      Actual result: the quickview is not properly moved out of the way - in case of KWin it overlaps the top, in case of Weston it overlaps the widget area.

      Expected result: The embedded view is resized in ways that it does not overlap the areas (e.g. proper clipping).

      Attached are screenshots for X11 as reference on how it should look (kwin_screenshot_US3411.png), KWin (kwin_wayland.png), and Weston ()

        1. kwin_screenshot_US3411.png
          324 kB
          Martin Gräßlin
        2. kwin_wayland.png
          193 kB
          Martin Gräßlin
        3. weston.png
          84 kB
          Martin Gräßlin
        4. CMakeLists.txt
          0.2 kB
          Martin Gräßlin
        5. main.cpp
          0.8 kB
          Martin Gräßlin
        6. main.qml
          0.1 kB
          Martin Gräßlin
        7. qtbug54888.zip
          2 kB
          Friedemann Kleint
        For Gerrit Dashboard: QTBUG-54888
        # Subject Branch Project Status CR V

            davidedmundson David Edmundson
            mgraesslin Martin Gräßlin
            Votes:
            4 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes