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

widget should position screen center when add/remove screen

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.11, 6.0, 6.3, 5.15, 6.2
    • QPA: X11/XCB
    • None
    • deepin,debian
    • Linux/X11

    Description

      When using two screens, plug and unplug the screen, monitor the QGuiApplication::screenAdded and QGuiApplication::screenRemoved signals, and set the current widget to center display

      Phenomenon: When there are two screens, the widget is not displayed in the center

      the geometry.zip can reproduce this bug.

      when run the demo, the widget show center see 1.png,

      when remove a screen and wait a scecond, the widget not show the center see 2.png

       

      note: under the debian10(Qt version is 5.15.3), this bug always exist

      Attachments

        1. geometry.zip
          3 kB
        2. 1.png
          1.png
          2.23 MB
        3. 2.png
          2.png
          2.28 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            liaqi Liang Qi
            kingderzhang kingderzhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes