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

Mac OSX: Context menu fails to activate item if pointer leaves and returns to menu before releasing RMB.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • 5.3.0
    • 5.0.2
    • GUI: Look'n'Feel
    • None
    • OSX 10.7.5 fails
      Ubuntu 13.04 works
      Qt 5.0.2
      PyQt 5
    • macOS

    Description

      User presses RMB. Context menu opens. User moves pointer out of menu and then returns to menu. User releases RMB. Item under pointer fails to activate. On OSX only.

      This is in my PyQt app which opens the context menu on receiving QContextMenuEvent. My app does not experience this on other platforms (Ubuntu.) I can probably provide a small test case in PyQt.

      I think this is not a standard platform HIG behaviour, since the same actions behave differently in a native app (not using Qt.) In that case, the menu action is activated.

      I first discussed this here:
      https://qt-project.org/forums/viewthread/36661/

      I don't think this is a big deal, since a programmer can palliate by opening the context menu so the user must work to move the pointer out of the menu. Still, the left edge of the menu is usually close to the pointer and somewhat easy to drift off the left edge.

      Also, the platforms differ in how most users use menus (press, move, release on OSX or Linux, or click, move, click again on Win/OSX/Linux). So this bug is only important for a certain subset of users on OSX, those who use press, move, release.

      Attachments

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

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            bootchk lloyd konneker
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes