Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349484 - ShellListener#shellClosed(..) called twice on Alt+F4 when Browser has focus
Summary: ShellListener#shellClosed(..) called twice on Alt+F4 when Browser has focus
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-15 14:10 EDT by Markus Keller CLA
Modified: 2019-11-14 03:32 EST (History)
4 users (show)

See Also:


Attachments
Snippet (2.39 KB, text/plain)
2011-06-15 14:10 EDT, Markus Keller CLA
no flags Details
Snippet v2 (2.05 KB, text/plain)
2011-06-20 07:09 EDT, Markus Keller CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2011-06-15 14:10:53 EDT
Created attachment 198046 [details]
Snippet

3.6.2 and HEAD

ShellListener#shellClosed(..) is called twice on Alt+F4 when a Browser widget has focus.

Can be seen in the SDK when an internal Web Browser editor or the Welcome screen is open (Alt+F4 Alt+F4 or Alt+F4 Esc shows a second exit dialog).
Comment 1 Markus Keller CLA 2011-06-20 07:09:12 EDT
Created attachment 198247 [details]
Snippet v2

Better snippet where the Cancel button actually works.
Comment 2 Markus Keller CLA 2011-09-12 10:36:05 EDT
Comment on attachment 198247 [details]
Snippet v2

This is a snippet, not a patch.

Just stumbled upon the bug again when trying out new builds and pressing Alt+F4 without closing the Intro browser before.
Comment 3 Stefan Mücke CLA 2012-01-02 18:07:07 EST
This bug was introduced in 3.7 M5 and still exists in 3.8 M4.
Maybe it is related to the changes made for bug 333493.

I would be very glad if this could be fixed, because this bug prevents me from adopting 3.7 or 3.8 for my RCP app.
Comment 4 Lars Vogel CLA 2019-11-14 03:32:18 EST
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.

If you have further information on the current state of the bug, please add it. 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.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.