Bugs item #774444, was opened at 2003-07-19 22:42
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=774444&group_id=44253
Category: User interface
Group: Annoying
Status: Open
Resolution: None
Priority: 5
Submitted By: Peter Centgraf (centgraf)
Assigned to: Peter Centgraf (centgraf)
Summary: Unpredictable "Null Keystroke" Behavior
Initial Comment:
Our current technique for building menu options with no
default keystroke is to use a "null keystroke" (with
constructor values set to zero) as the shortcut.
However, it appears that several keys on standard USB
keyboards will generate that keystroke when used with
Java. I've observed this myself with Metal and Sun's 1.4.
2 on WinXP. "Print Screen" and "Pause" will do it on my
current keyboard. This will trigger an unpredictable menu
item, depending on quirks of how the menus are
initialized. (I've seen it open the About menu in one
instance and run the "New JUnit Test" command in
another.) We should find some way to disable the null
keystroke or check for it explicitly when building menu
items.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=774444&group_id=44253
|