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

Hidden Drawer visible in window after increasing window size if docked at right or bottom edge

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.7.1
    • 5.7.0
    • Quick: Controls 2
    • None
    • Ubuntu 14.04, 16.04, KDE 4 and 5
    • 4387fb424ef3df9a324bb5dbc90e313625723cf5

    Description

      To reproduce please do this using the code below:

      • Drag the drawer from the right hand side into the screen so that it is visible
      • Drag it out again to hide it (or click somewhere outside the drawer)
      • Double-click the window title bar or hit the window maximize button, or just resize the window by dragging it so that it becomes larger
      • The Drawer is now visible at the position where it previously was hidden just outside the screen edge

      This happens when the drawer is docked at the right or bottom window edge. The Drawer must have been visible at least once for this to happen.

      import QtQuick 2.7
      import QtQuick.Controls 2.0
      import QtQuick.Layouts 1.0
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
          title: qsTr("Hello World")
      
          Drawer {
              edge: Qt.RightEdge
              ColumnLayout {
                  GroupBox {
                      title: "groupbox"
                      ColumnLayout {
                      CheckBox { text: "checkbox" }
                      Label { text: "text"    }
                      Button  { text: "button"    }
                      RadioButton  { text: "radiobox"  }
                      }
                  }
              }
          }
      }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pyrrhula Ola Røer Thorsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: