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

[Wayland] The usage of setFixedSize on a window is not properly scaled by QT_SCALE_FACTOR

    XMLWordPrintable

Details

    • Linux/Wayland
    • 6ed363e3665f17d935f8636d9c958154c898f5c5 (qt/qtwayland/dev) a825fb5f714fd79d16cc3ebbdd327e7961b07d0a (qt/qtwayland/5.15)

    Description

      When a window's size is set using setFixedSize() it's content will scale accordingly, but the window itself remains the same size regardless of the value of QT_SCALE_FACTOR. When the window's size is set using resize(), the window does scale itself correctly and it and it's contents are drawn at the correct size.
      It works on X11.

      The README in the example showing how to run the various commands to
      show the behavior we are seeing.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            karimpinter Karim Pinter
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes