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

Mac OS: Mouse hover events are sometimes ignored



    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.0.0, 5.1.0 , 5.2.1, 5.3.0, 5.3.1, 5.3.2, 5.6.3, 5.12
    • Fix Version/s: None
    • Labels:
    • Environment:
      Mac OS 10.8, Mac OS 10.9
    • Platform/s:


      As the title says. The attached example shows this happening for for example a QTextBrowser with a link in the source, and an inherited QWidget with overridden enterEvent() and leaveEvent() methods.

      When opening the application having the mouse over the main window at launch, the link in the text browser does not turn into a pointing hand. The same goes for the QWidget (behaviour defined in overridden methods). Moving the cursor outside and back into the main window makes the cursor changes behave as expected.

      If launching the application with the mouse OUTSIDE the main window, the cursor changes as expected in both cases.

      Edit: Changed the summary text. This is not just about mouse pointers changing on hover, but also about widgets under the mouse not receiving mouseover events. Even with that hack below applied, the issue pops up again later in a random manner.


          Issue Links

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



              • Assignee:
                peppe Giuseppe D'Angelo
                zumteufel Jan Faroe
              • Votes:
                4 Vote for this issue
                9 Start watching this issue


                • Created:

                  Gerrit Reviews

                  There are no open Gerrit changes