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

Windows: Screen change not detected when there is no window

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • 5.9.1, 5.10.0
    • None
    • Windows 7, 8.1, 10

      qtbug66202.zip Incorrect screen count detection when screen count changed by OS.

      Important moment: widget was created before screen count changed, but shown first time after screen count chaged.

      attached app:
      create widget (no show)
      widget wait 10 secs
      when timer (10 secs) is not timeout at "Display settings" change displays count.
      widget show
      widget print debug about screens

      debug info if display 2->1:

      widget created
      "numScreens: 2"
      "screen 0"
      "0:0 1920 x 1080"
      "screen 1"
      "1920:0 1920 x 1080"

      debug info if display 1->2:

      widget created
      "numScreens: 1"
      "screen 0"
      "0:0 1920 x 1080"

        1. image-2018-02-05-16-52-03-694.png
          image-2018-02-05-16-52-03-694.png
          33 kB
        2. image-2018-02-05-16-57-00-988.png
          image-2018-02-05-16-57-00-988.png
          26 kB
        3. image-2018-02-05-16-57-39-548.png
          image-2018-02-05-16-57-39-548.png
          24 kB
        4. main.cpp
          0.8 kB
        5. qtbug66202.zip
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            sergeymoskalenko Sergey Moskalenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes