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

Details

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

    Description

      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 ()

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes