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

QtWayland failure xdg_toplevel@21.resize

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.8, 6.9, 6.10
    • QPA: Wayland
    • None
    • Linux/Wayland

    Description

      Boot to Qt and QtWayland examples report failure with weston on MACHINE=qcs6490-rb3gen2-vision-kit: wl_display@1: error 1: invalid arguments for xdg_toplevel@21.resize

      It seems like Qt version of wayland-protocols is missing handling for some resize parameters. Noticed also that QWaylandXdgSurface::setSizeHints may calculate margins incorrectly if clientSideMargins is greater than windowContentMargins, then check for QWINDOWSIZE_MAX is no-op but that actually seems like another problem.

      As a workaround, remove "m_toplevel->set_max_size" in src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp

      Test versions:

      • meta-boot2qt-qcom-hwe 6c9ca22a4f8ec645fa7909d307e636037756de34
      • qtwayland 6.10.0
      • wayland 1.22.0 (poky)
      • wayland-protocols 1.33 (poky)
      • Qualcomm Linux qcom-6.6.58-QLI.1.3.2-Ver.1.0 (scarthgap)

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-134955
          # Subject Branch Project Status CR V

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              arpa Ari Parkkila
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change