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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important 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)

      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.

       

        For Gerrit Dashboard: QTBUG-62004
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes