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

Inconsistent enter/leave events when mouse leaves/enters the application while a popup is open

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.0.0 Beta 2
    • Fix Version/s: 5.0.0 RC 1
    • Labels:
      None
    • Environment:
      Windows; probably others, too.
    • Commits:
      715902051a6ba28b6a9f86fce28c12c1b977630c

      Description

      When application has popup active, the popup gets leave event when mouse cursor leaves the application window, but when mouse cursor enters the application window later, the enter event is sent to main window:

      2944 ## Got Leave for: QMenu(0x1e5d3c0) 
      2948 ## Got Enter for: MainWindow(0x1af940, name = "MainWindow") 
      

      Steps to reproduce:
      1) Start the attached application
      2) Click "Popup" button (Duplicate leaves and enter to QMenu here are a separate issue: QTBUG-27549)
      3) Move the cursor outside application -> Leave event for QMenu
      4) Move the cursor back inside application -> Enter event for MainWindow
      5) Repeat steps 3 & 4 -> Same inconsistent results.

        Attachments

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

          Activity

            People

            Assignee:
            e0348803 Miikka Heikkinen
            Reporter:
            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