Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341991 - Focus lost on AWT dialog embedded via SWT_AWT bridge
Summary: Focus lost on AWT dialog embedded via SWT_AWT bridge
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6.2   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-04-06 05:23 EDT by Eckart Liemke CLA
Modified: 2020-04-18 11:17 EDT (History)
1 user (show)

See Also:


Attachments
SWT_AWT embedded AWT dialog call, no focus (2.18 KB, text/plain)
2011-04-06 05:26 EDT, Eckart Liemke CLA
no flags Details
Pure AWT dialog call, gets the focus (1.38 KB, text/plain)
2011-04-06 05:26 EDT, Eckart Liemke CLA
no flags Details

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