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

Windows: Only initial QScreen values are available if screen geometry changes between QApplication and before first window is open

XMLWordPrintable

    • Windows
    • fa0b2ef81c (qt/qtbase/dev) fa0b2ef81c (qt/tqtc-qtbase/dev) 7a3aa146a5 (qt/qtbase/6.4) 07ee9f9774 (qt/qtbase/6.3) 07ee9f9774 (qt/tqtc-qtbase/6.3)

      To reproduce:

      • modify attached example with valid resolutions for your display (2 functions)
      • run the example

      Ideally it should show valid resolution when in "low" resolution step, but instead it shows the initial resolution.

      Seems like screen changes come through window events and since there is no window yet, Qt does not get one either. Perhaps this could be fixed by querying screen properties again when first window is shown.

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

            vestbo Tor Arne Vestbø
            poikelin Joni Poikelin
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes