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

Context menu was painted under window with Qt::WindowStaysOnTopHint flag.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.2
    • 5.9.1
    • GUI: Painting
    • None
    • win10

      qt 5.9.1 (MinGW, MSVC2015)

       
    • 1fc9c8d8f31b3c6587691608550ff41bed765fb9 (qtbase/5.9, 22.8.2017, 5.9.2)

    Description

      Widget with flag Qt::WindowStaysOnTopHint contains QMenu/

      connect(this, &QWidget::customContextMenuRequested, this, &Widget::onCustomContextMenuRequested);

       

      If widget lose focus (select some file or link at Desktop),  then after next call menu will be drawn under widget.

      Mouse move and click at menu still work (even menu under widget), menu just painted under widget.

       

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              sergeymoskalenko Sergey Moskalenko
              Votes:
              4 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes