Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 276416 - F16-F19 unusable as shortcut keys in General -> Keys
Summary: F16-F19 unusable as shortcut keys in General -> Keys
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.5   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 3.6 M2   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 287454
  Show dependency tree
 
Reported: 2009-05-15 00:50 EDT by Adam Bryzak CLA
Modified: 2009-09-22 16:21 EDT (History)
8 users (show)

See Also:


Attachments
fix (9.57 KB, patch)
2009-08-24 12:16 EDT, Silenio Quarti CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Bryzak CLA 2009-05-15 00:50:24 EDT
Build ID: I20090430-2300

Steps To Reproduce:
Using an Apple keyboard with extra function keys:
1. Open Eclipse Preferences
2. Go to General -> Keys
3. Attempt to bind the F16-F19 keys to commands (I used the Show Perspective commands)

More information:
F16 displays as a space in the text field but doesn't perform the action when pressed. F17-F19 don't do anything when pressed in the text field. F13-F15 work as normal. This also happens on Eclipse 3.4.2.
Comment 1 Prakash Rangaraj CLA 2009-05-15 01:25:01 EDT
Looks like those keys are available only in the newest full length keyboards (http://images.apple.com/keyboard/images/gallery/wired_1_20070813.jpg) 

I think SWT doesn't support those keys. Assigning to SWT for more comments
Comment 2 Felipe Heidrich CLA 2009-05-15 10:27:50 EDT
we will needs more constants in SWT
Comment 3 Felipe Heidrich CLA 2009-05-19 11:03:18 EDT
Not for 3.5.
Comment 4 Silenio Quarti CLA 2009-08-24 12:16:15 EDT
Created attachment 145448 [details]
fix
Comment 5 Silenio Quarti CLA 2009-08-24 12:24:07 EDT
Support F16 to F20 has been added to SWT. Prakash, what has to happen in UI for the key preference page to work?

Fixed > 20090824
Comment 6 drwowe CLA 2009-09-22 16:21:50 EDT
Some additional references:

Supported keys on Windows OS:
http://msdn.microsoft.com/en-us/library/dd375731%28VS.85%29.aspx

Supported keys on X11:
(see /usr/include/X11/*keysym*.h on any Unix or Linux machine)

Supported keys by Java AWT:
http://www.docjar.org/docs/api/java/awt/event/KeyEvent.html