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

gnome: hide() -> show() sequence moves the window

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12
    • QPA: X11/XCB
    • None
    • Linux/X11

    Description

      Works fine with KDE desktop with KWin.

      Click in the window with mouse several times. It will move up and down each time.

      In the attached xtrace output we can see that after the window has been unmapped, we get an unexpected configure_notify event:

      000:>:01c6: Event (generated) ConfigureNotify(22) event=0x02a00005 window=0x02a00005 above-sibling=None(0x00000000) x=600 y=526 width=200 height=200 border-width=0 override-redirect=false(0x00)
      000:>:01c6: Event ReparentNotify(21) event=0x02a00005 window=0x02a00005 parent=0x0000011b x=600 y=526 override-redirect=false(0x00)
      

      where 'y' has unexpectedly been changed to 'y=526'. But from the same trace and the attached code we can see that we never requested that kind of position change.

      Attachments

        1. test-kwin.txt
          209 kB
        2. test-gnome.txt
          205 kB
        3. hide-show-move.zip
          1 kB

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              paeglis Gatis Paeglis
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes