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

Popups get enter event on mouse release if mouse button was down when popup opened.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • 5.0.0 RC 1
    • 5.0.0 Beta 2
    • None
    • Windows 7 (but likely others, too)

    Description

      Popups get enter event on mouse release if mouse button was down when popup opened. This results in QWidget::underMouse() for popup reporting true incorrectly until mouse actually enters and leaves the popup. Incorrect undermouse state blocks QCompleter from closing its popup.

      This seems to be caused by the fact that QWidgetWindow::handleMouseEvent() always gives m_widget for QApplicationPrivate::sendMouseEvent() as native widget, even if mouse event happens outside m_widget.

      Attachments

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

        Activity

          People

            e0348803 Miikka Heikkinen
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes