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

Context menu's submenu appears then immediately disappears

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.6.0, 5.12.1
    • None
    • Mac OS 10.11.4
      macOS 10.14.4
    • macOS

      Steps to reproduce:

      • Run qtbase/examples/widgets/mainwindows/mainwindow
      • Right-click in a dock widget and hold the right mouse button, to show the context menu
      • Continue holding the right mouse button and move the mouse down to the "Split horizontally into" submenu
      • The submenu appears then immediately disappears

      Screen recording attached.

      My expectation is that the submenu remains visible until the right mouse button is released.

      If you click and release the right mouse button, then move the mouse, the problem does not occur — the problem only occurs if you drag with the right mouse button, which is a common way to invoke a context menu item on Mac OS X.

      Affects Qt 5.6.0 on Mac OS 10.11.4 and Qt 5.12.1 on macOS 10.14.4. Does not affect 5.3.1 on Mac OS 10.11.4. (Maybe this is related to the changes introduced to fix https://bugreports.qt.io/browse/QTBUG-31937 ?) I haven't tested on other platforms.

        1. mac-context-submenu-disappears.mov
          839 kB
          Steve Mokris
        2. mac-context-submenu-disappears2.mov
          2.79 MB
          Steve Mokris
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sorvig Morten Sørvig
            smokris Steve Mokris
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes