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

Qt::WA_Moved being set when recreating the window.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.8.5
    • None

    Description

      When recreating the window in Qt4 X11, (e.g. because of setting Qt::WA_TranslucentBackground attribute on a created window), Qt tries to recover the original position of the window by moving the window with QWidget::move. However, doing that sets the Qt::WA_Moved attribute on the window which sets PPosition and USPosition in WM_NORMAL_HINTS which breaks window manager auto positioning and make all new windows that are not mapped yet appears in the top-left corder (since these window has a default position of (0, 0)).

      One possible fix is to recover this attribute in qt_x11_recreateWidget before showing the window.

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            yyc1992 Yichao Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes