Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314074 - [SWT][Mac10.6.3]When switch mac system workspace by Ctrl+1, the MouseEvent.stateMask is error
Summary: [SWT][Mac10.6.3]When switch mac system workspace by Ctrl+1, the MouseEvent.st...
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.5.2   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-24 04:56 EDT by alf CLA
Modified: 2017-07-04 06:15 EDT (History)
4 users (show)

See Also:


Attachments
Sample code for this bug. (1019 bytes, text/plain)
2010-05-24 05:05 EDT, alf CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description alf CLA 2010-05-24 04:56:47 EDT
Build Identifier: 20090920-1017

Mac support shortcut for switch Spaces. You can set the Switch Spaces with "Ctrl + 1" by "System Perferences".  After uses  "Ctrl + 1" to switch spaces and switch back, you click mouse left key on widget, The MouseEvent.stateMask that swt create is error.
if(e.stateMask & SWT.CTRL) != 0  will is true, this should be false because we do not  key the "control" down. 

Reproducible: Always

Steps to Reproduce:
1.Set "Switch Spaces" shotcut with "Ctrl + 1".
2.Inport sample code into eclipse, and run it. 
3. click mouse left in "red area", nothing happens.
4. switch spaces by "Ctrl +1" and switch back.
5. click mouse left in "red area" again,  The "CTRL click" will show in eclispe console.
Comment 1 alf CLA 2010-05-24 05:05:43 EDT
Created attachment 169644 [details]
Sample code for this bug.
Comment 2 alf CLA 2010-05-24 05:09:25 EDT
Notes: This bug happend in Mac OS X 10.6.3.
             In Mac 10.5.8 did not happened.
Comment 3 Lakshmi P Shanmugam CLA 2017-07-04 06:15:17 EDT
This is not reproducible on macOS 10.12 with Eclipse 4.7. Please reopen if you see this problem again.