Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341991

Summary: Focus lost on AWT dialog embedded via SWT_AWT bridge
Product: [Eclipse Project] Platform Reporter: Eckart Liemke <eckart.liemke>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 3.6.2Keywords: needinfo
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard: stalebug
Attachments:
Description Flags
SWT_AWT embedded AWT dialog call, no focus
none
Pure AWT dialog call, gets the focus none

Description Eckart Liemke CLA 2011-04-06 05:23:48 EDT
When opening a dialog from an AWT component embedded using the SWT_AWT bridge, the elements contained in the dialog do not get the focus. Debugging/tracing showed that, although the dialog window is activated, the focus is not set.
Please have a look at the attached example.
Class DialogTestPureAWT contains the pure AWT implementation that works fine. Class DialogTest uses the SWT_AWT bridge to embed the same dialog call in SWT. In this case, the called dialog does not get the focus although the dialog window is activated.


-- Configuration Details --
Product: Eclipse SDK 3.6.2.v201102101200 (org.eclipse.sdk.ide)
Installed Features:
 org.eclipse.platform 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi
Comment 1 Eckart Liemke CLA 2011-04-06 05:26:21 EDT
Created attachment 192623 [details]
SWT_AWT embedded AWT dialog call, no focus
Comment 2 Eckart Liemke CLA 2011-04-06 05:26:49 EDT
Created attachment 192624 [details]
Pure AWT dialog call, gets the focus
Comment 3 Eclipse Genie CLA 2020-04-17 14:42:18 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.