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

Widgets layout incorrectly when moved between screens

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.6.0, 5.6.1, 5.6.2, 5.7.0
    • None
    • Windows 10
      Multiple monitors

    Description

      On Windows 10 with two screens with different text size (DPI) a Qt Widget application will not be correctly layed out when it is moved from the default screen to the other screen.

      See attached screen dumps from a minimal test application. In my setup the default screen is set to 100% text size and the second screen is set to 125%. The application looks correct at 100% but layout/scaling is broken on 125%.

      I have attached the source code of the test application as well.

      I am not sure if I have selected the right Components for this bug. This is my first Qt bug report.

      Attachments

        1. BrokenLayout.png
          4 kB
          Daniel Hägg
        2. CorrectLayout.png
          4 kB
          Daniel Hägg
        3. DualScreenTest.zip
          5 kB
          Daniel Hägg
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            daniel7563 Daniel Hägg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes