Bug 553762

Summary: [Mac] Incorrect order of events when switching between editable cells in a table.
Product: [Eclipse Project] Platform Reporter: Sergey Sharov <zefick>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: lshanmug, zefick
Version: 4.13Keywords: triaged
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Sergey Sharov CLA 2019-12-04 07:38:46 EST
Open Expressions view in Eclipse and add some values there. Now select a cell, then click on another cell. After that in Windows, you can edit the second cell's content. On Mac, the new cell editor disappears immediately after it appears and you need to select the cell again.

I have an SWT table in my application and encountered this problem. The сause of inconsistency in behavior is the different order of a FocusLost event in the old cell and MouseDown for the new one. On Mac, MouseDown handled first and then FocusLost kills a newly created editor (my guess).
Comment 1 Lakshmi P Shanmugam CLA 2019-12-16 03:03:19 EST
I'm able to reproduce this on Mac.