Bug 571666 - [Mac] Cannot type immediately into text field on dialog with SWT.SHEET style
Summary: [Mac] Cannot type immediately into text field on dialog with SWT.SHEET style
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.18   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-03 18:11 EST by Justin Dolezy CLA
Modified: 2021-03-03 18:13 EST (History)
0 users

See Also:


Attachments
Snippet demonstrating the issue (1.96 KB, application/octet-stream)
2021-03-03 18:11 EST, Justin Dolezy CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.