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

Bug 385516

Summary: Issue with SWT Modal dialog when using SWT-AWT bridge in Linux
Product: [Eclipse Project] Platform Reporter: Anand Matta <anand_matta>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: arunkumar.thondapu, curtis.windatt.public, ericwill, gheorghe, Silenio_Quarti
Version: 4.2Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anand Matta CLA 2012-07-19 10:25:34 EDT
Build Identifier: 20120216-1857

We have developed a RCP product with OSIG Plugin. Every thing is working fine in windows. But the problem is with Linux(GTK) We used Code:
Composite composite = new Composite(parent, SWT.EMBEDDED | SWT.NO_BACKGROUND | SWT.APPLICATION_MODAL); 
frame = swt_awt.new_frame(composite); 
When we open any SWT modal dialog, this frame is not blocked. Other than this frame other SWT area got blocked and are not accessible. I hope its internal implementation. Can any one give some suggestion whether is there any work around. I am trying since 2 weeks. please help me 
For this some of our flow broken and trying to find workarounds. 

java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)

eclipse-jee-indigo-SR2-win32 (eclipse 3.7 with delta pack)

Red Hat Enterprise Linux Server release 6.0 (Santiago)
gtk2-devel-2.18.9-4.el6.i686

Reproducible: Always

Steps to Reproduce:
1.Create an Eclipse RCP build
2.Create EMBEDDED frame in a View Composite 
3.Create a dialog (org.eclipse.jface.dialogs.Dialog or org.eclipse.swt.widgets.Dialog or org.eclipse.jface.dialogs.MessageDialog or org.eclipse.swt.widgets.FileDialog
4.Open the dialog on any event all awt related components will get in active but AWT frame and sub child components like pane, jtabbledpane, jtable are not de activation.
It is working fine in Windows but not in linux.
Comment 1 Curtis Windatt CLA 2012-07-19 17:42:16 EDT
Moving to SWT for comment
Comment 2 Anand Matta CLA 2012-07-20 04:52:35 EDT
Can any one please respond
Comment 3 Eric Williams CLA 2018-07-06 14:01:18 EDT
Is there a snippet to go along with this?
Comment 4 Eric Williams CLA 2018-10-19 14:26:39 EDT
(In reply to Eric Williams from comment #3)
> Is there a snippet to go along with this?

No response in awhile, closing now. Please reopen this bug ticket if the issue reproduces on GTK3.22 with 4.9 or 4.10.