Bug 571666

Summary: [Mac] Cannot type immediately into text field on dialog with SWT.SHEET style
Product: [Eclipse Project] Platform Reporter: Justin Dolezy <justin>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 4.18   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Snippet demonstrating the issue none

Description Justin Dolezy CLA 2021-03-03 18:11:50 EST
Created attachment 285727 [details]
Snippet demonstrating the issue

When opening a dialog on Mac with the SWT.SHEET style, when the first focusable control is a Text control you cannot immediately type into it - you need to either click in the text control or use TAB/SHIFT+TAB to focus away and back before you can type into it.

Snippet example attached. When the SHEET-style InputDialog is opened the text field appears to have focus but cannot be typed into without intervention.

If the dialog doesn't have SWT.SHEET applied then it's OK.
If the SHEET dialog has a Spinner instead then you can type into that right away..
Comment 1 Justin Dolezy CLA 2021-03-03 18:13:41 EST
Can be repro'd on both Catalina and Big Sur.