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

Context Menu stay on top after change top level window using shortcuts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P4: Low
    • Some future release
    • 5.1.1
    • Quick: Controls 1
    • None
    • windows 7 32 bit

    Description

      If I change my active(top level) window by pressing alt+tab on windows 7 OS, context menu still stay on top. This won't happen if I use mouse to change the active window.

      sample code:

      import QtQuick 2.1
      import QtQuick.Controls 1.0
      Item{
          Rectangle{
              anchors.fill: parent
          }
          MouseArea {
              anchors.fill: parent
              onClicked: contextMenu.popup()
              acceptedButtons: Qt.RightButton
              Menu{
                  id:contextMenu;
                  MenuItem{text:"Item 1"}
                  MenuItem{text:"Item 2"}
              }
          } 
      }
      

      Attachments

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

        Activity

          People

            bachewii Jens
            d_dasun Dasun Weerasinghe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes