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

Bug 337261

Summary: Main Window Shell Listener called on Dialogue Close on Ubuntu Netbook Remix
Product: [Eclipse Project] Platform Reporter: David <Gruuf42>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: ericwill
Version: 3.6.1Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:
Attachments:
Description Flags
demo eclipse project none

Description David CLA 2011-02-15 17:49:25 EST
Build Identifier: 3.6.1

On Ubuntu Netbook Remix, a ShellListener for 
minimizing the (Jface) application window to Tray is (sometimes) called when a modal dialoge is closed. 

In my case a dialoge is always opened when reopening the application from the tray in order to enter a password. Sometimes the closing of the dialogue triggers the shellIconified method of the shellListener on the application window, resulting in a immediate reclosing of the main window.

The same behaviour is happening when opening a dialogue before showing the application window.

A similar behaviour can be seen with carbon SWT. No problems on Windows and standard Linux GTK. 


Reproducible: Sometimes

Steps to Reproduce:
1. Register a shell listener on a main window
2. open a dialog before deiconifing the main window
3. on closing the dialog, the main window is iconified
Comment 1 David CLA 2011-02-15 18:02:09 EST
Created attachment 189057 [details]
demo eclipse project
Comment 2 David CLA 2011-02-15 18:12:46 EST
The problem showed up in Java Password Safe, jpwsafe.sf.net, 

The bug there is: http://sourceforge.net/tracker/?func=detail&aid=2923950&group_id=243370&atid=1122415
Comment 3 Eric Williams CLA 2018-11-30 10:26:49 EST
This version of Ubuntu is no longer a supported target environment, please file a new ticket against 4.9/4.10 if the issue occurs on Ubuntu 18.04.