Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8088346

Focused item is not cleared when mouse not hovering over MenuItem in ContextMenu

    Details

      Description

      When a ContextMenu is showing, the highlighted row (focued) is not cleared if the mouse isn't over a valid menu item. This is a UX problem. It means for instance that if mouse is hovering over a separator, or just outside the ContextMenu, it seems like a mouse press (or release) will select the item, but it won't, and the user is disturbed in his flow.

      Only if the items are navigated by keys should they be shown as focused if mouse is not over them. If mouse moves (over the context menu) the key navigation should be cleared and only mouse-over items should be highlighted again.

      This is how context menus works on both Windows and OS X, but not JavaFX.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mgrev Mikael Grev
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported: