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

After restoring the settings from Qt 4.8.4 the position of a dialog doesn't get restored correctly with a Dell notebook with dual monitor

    XMLWordPrintable

Details

    Description

      The example attached can be used to reproduce the issue. Note! This has been tested on Windows 7 with two monitors, but it seems to reproduce only on Dell notebook with attached monitor

      Primary steps:
      1) Two displays connected, configuration "extend desktop"
      2) The left display has been assigned "display number 2" by the windows 7 system.
      (can be checked with "identify" button in screen resolution dialog)
      3) The left display (the one with the assigned number 2 !) is the primary screen.

      Steps to reproduce:

      • compile the application with Qt 4.8.4 and run it
      • move the application to the top right corner of the first monitor
      • press 'save dialog' and close the application
      • clean the application and compile it for Qt 5.2.0 and run it
      • press 'load dialog'

      Expected result:
      The application window should "jump" to the position (and monitor) where the settings were stored

      Actual result:
      No matter on which display the Qt 4.8.2 application saves its geometry, the Qt 5.2 application will appear on the other display after loading the settings.

      If "display 1" is the primary screen, everything works as expected.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              qtcomsupport Qt Support
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes