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

Mac OS: Mouse hover events are sometimes ignored

    XMLWordPrintable

Details

    • macOS
    • 8a8be2d638ac6e54cab359e6ac13f73f53787481 (qt/qtbase/dev)

    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

              richard Richard Moe Gustavsen
              zumteufel Jan Faroe
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              11 Vote for this issue
              Watchers:
              23 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes