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

Details

    • 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)

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes