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

Keyboard-triggered ContextMenuEvent needs better default coordinates

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 7u6
    • 7u6
    • javafx

      The ContextMenuEvent always contains mouse cursor coordinates. For keyboard-triggered event this is wrong, mouse can be put somewhere completely away. Although users will most of the time want to set the position for keyboard-triggered menu manually, we should provide some reasonable default values. Those values should be inside bounds of current focus owner (which is the target of the event).

            psafrata Pavel Šafrata
            psafrata Pavel Šafrata
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: