Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337261 - Main Window Shell Listener called on Dialogue Close on Ubuntu Netbook Remix
Summary: Main Window Shell Listener called on Dialogue Close on Ubuntu Netbook Remix
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Linux-GTK
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2011-02-15 17:49 EST by David CLA
Modified: 2018-11-30 10:26 EST (History)
1 user (show)

See Also:


Attachments
demo eclipse project (1.15 MB, application/zip)
2011-02-15 18:02 EST, David CLA
no flags Details

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