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

[REG] Cocoa: Enter event not delivered after showing and hiding context menu when mouse isn't over the menu

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.5.1, 5.6.2, 5.6, 5.7.1, 5.8.0
    • None
    • OS X 10.9, 10.10, macOS 10.12
    • macOS

    Description

      This doesn't happen always, but very often (it depends where the mouse cursor is).

      Steps to reproduce:

      • right click on text editor in QtCreator to open the context menu - the mouse cursor shape changes,
      • left click to close the context menu (don't move the mouse),
      • the mouse cursor shape doesn't change - missing enter event.

      When the menu will popup to the top the mouse cursor shape isn't changed. It looks like Cocoa sends enter/leave events when the popup menu is opened to non-grabbed windows, so it causes problems with bad cursor shape (the same problem on Wayland).

      This worked properly in Qt 5.4.2.

      The test app from QTBUG-49222 can be used for testing this bug.

      Attachments

        Issue Links

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

          Activity

            People

              sorvig Morten Sørvig
              zaps166 Błażej Szczygieł
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes