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

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes