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

Mac OS: Mouse hover events are sometimes ignored

    XMLWordPrintable

    Details

    • 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:
      None
    • Environment:
      Mac OS 10.8, Mac OS 10.9
    • Platform/s:
      macOS

      Description

      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.

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes