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

The initialization position is misplaced!

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.11, 5.12.0
    • QPA: Wayland
    • None
    • Linux/Wayland

    Description

      void QWaylandWindow::setVisible(bool visible)
      {
          if (visible) {
              if (window()->type() == Qt::Popup)
                  activePopups << this;
              initWindow();
              mDisplay->flushRequests();
      #ifdef Q_OS_SYLIXOS /***************Look at here!*****************/
              QMargins m = frameMargins();
              setGeometry(window()->geometry().adjusted(m.left(), m.top(), m.left(), m.top()));
      #else
              setGeometry(window()->geometry());
      #endif
          ...
      }
      

      file: qt5\qtwayland\src\client\qwaylandwindow.cpp

      It should be considered for frameMargins the first time it's displayed!

      Attachments

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

        Activity

          People

            johanhelsing Johan Helsing
            xiaoyan xiao yan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes