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

[REG 5.9.4=>5.12.3/4] Widget geometry restored outside visible area



    • Platform/s:
    • Commits:
      85dc392135feb72eed449e6eaf47cdd023879394 (qt/qtbase/5.12)


      In a single screen environment the QWidget::restoreGeometry restores a Window to a position not visible. (See example and qtdiag.txt)

      ( Related to https://bugreports.qt.io/browse/QTBUG-76912 )

      Less relevant details:
      There seems to be a bug that some Widgets (sometimes) are moved incorrectly on screen change (when it goes to sleep or another computer starts using the screen). That is pretty bad, but what is even more annoying is that the dialog saves geometry and it will not be shown on next restore (unless the screen is attached, but it may not be - and if it just was a laptop that rarely is connected to a screen that is pretty bad).

      The attached example contains data from 5.12.4, and it does work on 5.9.4 though that may be due the version (as it bails out restore), but in 5.9.4 I haven't experienced similar problems where the dialog got hidden and was restored hidden.


        1. main.cpp
          0.9 kB
        2. main.pro
          0.0 kB
        3. qtbug76900_diag.diff
          4 kB
        4. qtbug76900_log.txt
          0.9 kB
        5. qtbug76900.zip
          1 kB
        6. qtdiag_with_both_screens.txt
          7 kB
        7. qtdiag.txt
          6 kB

          Issue Links

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



              • Assignee:
                kleint Friedemann Kleint
                tmartsum Thorbjørn Lund Martsum
              • Votes:
                0 Vote for this issue
                3 Start watching this issue


                • Created:

                  Gerrit Reviews

                  There are no open Gerrit changes