Menu

#27 Make menu shortcuts platform independent

Observation_Manager
pending-remind
None
5
2012-07-02
2012-06-21
RalphSBln
No

And another minor cosmetic: Not all OSes use ctrl as the modifier key for commands/menu shortcuts. E.g., Mac OS uses the command (Apple) key.

A more platform independent way for defining the key shortcuts for the menu items would be:

1. get the platform independent modifier: int keyModifier = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask();
2. replace all explicit uses of InputEvent.CTRL_DOWN_MASK with keyModifier

(AFAICT they are all defined in ObservationManager.java)

Discussion

  • Dirk Lehmann

    Dirk Lehmann - 2012-07-02

    Thanks!

    I'll include the fix in the next release.

    Best

    Dirk

     
  • Dirk Lehmann

    Dirk Lehmann - 2012-07-02
    • assigned_to: nobody --> doergn
    • status: open --> pending-remind
     
Monday.com Logo