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

Windows: Window maximizes to primary monitor when launched on secondary monitor (in multimonitor setup)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.4.2
    • 5.4.0
    • QPA: Windows
    • None
    • Windows, MSVS and MinGW
    • b3fc5e1ea3eb4fe838ac716aaca4efaa5de5a814 (qtbase/5.4, 6.2.2015, 5.4.2)

    Description

      I have problem with fullscreen on secondary monitor.
      In my test is the second monitor on left (-1280)

      This work well in 4.8.6 & 5.3.2

      When I used show() on secondary monitor, its show on defined point. But when I use switch to fullscreen window jump to primary.

      What happend :
      1) show() = secondary monitor
      2) switch by showFullScreen() = jump to primary
      3) swicth by showNormal() = jump to secondary
      4) switch by showFullScreen() = stay on secondary

      Test project attached.

      Attachments

        1. main.cpp
          0.2 kB
        2. mainwindow.cpp
          0.8 kB
        3. mainwindow.h
          0.4 kB
        4. qtbug44070.zip
          4 kB
        5. WFS_test.pro
          0.3 kB

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              ritchie Richard Patek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: