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

QWidget does not correctly set the geometry on multi-screen environments if called from showEvent

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.8.0, 6.8.1, 6.8.2, 6.9.0 FF, 6.9.0 Beta1, 6.9.0 Beta2
    • None
    • linux x11
    • Linux/X11

    Description

      In a multi-screen setup on Linux X11, when attempting to set the geometry of a QWidget window on each screen using widget->setGeometry(screen->geometry()), the windows on all screens except the primary screen are displayed with the default size of 640x480, instead of the expected geometry.

      Attachments

        1. 11.png
          11.png
          392 kB
        2. testlockgeometry.zip
          26 kB
        For Gerrit Dashboard: QTBUG-134017
        # Subject Branch Project Status CR V

        Activity

          People

            liaqi Liang Qi
            zhaoyingzhen zhao yingzhen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change