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

[REG 6.6 -> 6.7] Top-level QWidget minimum/maximum size API promise is broken on Wayland

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 6.7
    • QPA: Wayland
    • None
    • Linux/Wayland

    Description

      https://doc.qt.io/qt-5/qwidget.html#minimumSize-prop

      The widget cannot be resized to a smaller size than the minimum widget size. The widget's size is forced to the minimum size if the current size is smaller.

      https://doc.qt.io/qt-5/qwidget.html#maximumSize-prop

      The widget cannot be resized to a larger size than the maximum widget size.

      https://codereview.qt-project.org/c/qt/qtwayland/+/524982 breaks this API promise because buffer size couldn't be overridden by the compositor but the xdg-shell hints could be ignored just fine and that's something compositors like sway do in the wild.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              ilya-fedin Ilya Fedin
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes