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

[HiDPI] Size hints are not propagated when window changes the screen

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.9, 5.10, 5.11, 5.12, 5.13
    • Fix Version/s: 5.14.1, 5.15.0 Alpha
    • Component/s: GUI: Window management
    • Labels:
      None
    • Environment:
      Linux/X11
    • Platform/s:
      Linux/X11
    • Commits:
      f2a61f2ce2fa81acb526965d55e5f22d47673b2a (qt/qtbase/5.14)

      Description

      Moving the window to another screen might change its device pixel ratio. In this case we need to update windows size hints to scale hints like minimum and maximum window size.

      Steps to reproduce:

      • run the sample application from QTBUG-80323 on screen with DPR 2.0,
      • move the application to screen with DPR 1.0,
      • try to resize the window to its minimum or maximum.

      This bug is partially-dependent on QTBUG-80323.

        Attachments

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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zaps166 Błażej Szczygieł
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes