Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 230119 - Keyboard navigation in the StyledText (Cocoa)
Summary: Keyboard navigation in the StyledText (Cocoa)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.4   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 3.5 M1   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-04 09:22 EDT by Mikhail Kalugin CLA
Modified: 2009-06-01 14:18 EDT (History)
5 users (show)

See Also:


Attachments
Keyboard modifiers handling for Cocoa (5.91 KB, patch)
2008-05-04 09:22 EDT, Mikhail Kalugin CLA
Silenio_Quarti: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Kalugin CLA 2008-05-04 09:22:52 EDT
Created attachment 98559 [details]
Keyboard modifiers handling for Cocoa

StyledText on Cocoa doesn't support keyboard navigation with modifier keys pressed. 

The attached patch solves the problem by adding checks for the cocoa platform (currently there are only IS_CARBON flag for Macs) and setting correct events state masks.
Comment 1 Carolyn MacLeod CLA 2008-06-17 11:53:54 EDT
This may be similar to bug 237486.
Comment 2 Silenio Quarti CLA 2008-07-16 12:02:30 EDT
This is fixed. The changes in Widget.setInputState() were reject because for me NSEvent.buttonMask() always returns 0.