Linux Lotus Notes parent window unresponsive [message #758677] |
Thu, 24 November 2011 08:20 |
arthurav2005 Messages: 10 Registered: August 2011 |
Junior Member |
|
|
I am using jre 1.6 on linux with swt-gtk-3.5.2
I'm opening a swt dialog from lotus notes.
The source code for the dialog is the following:
Display display = new Display();
Shell shell = new Shell();
shell.setText( "Dialog" );
shell.setSize( 300, 200 );
shell.open();
final Button button = new Button( shell, SWT.PUSH );
button.setText( "Button" );
button.setBounds( 20, 40, 80, 25 );
while ( !shell.isDisposed() ) {
if ( !display.readAndDispatch() )
display.sleep();
}
display.dispose();
The code is ran after pushing a button in lotus notes. After closing the swt dialog, the parent application becomes unresponsive as if something remained from the dialog.
If on the other side, I attach to the button some code that doesn't open any swt UI element, it works ok and doesn't render lotus notes unreponsive.
The same problem does not appear in lotus notes in windows.
Is this a known linux-related swt problem?
Thank you.
[Updated on: Thu, 24 November 2011 15:29] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04359 seconds