Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 84873 - [Dialogs] Switching to workbench window does not always bring it to front when a modal dialog is up
Summary: [Dialogs] Switching to workbench window does not always bring it to front whe...
Status: RESOLVED DUPLICATE of bug 46556
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-10 06:44 EST by Florian Priester CLA
Modified: 2005-04-09 12:47 EDT (History)
0 users

See Also:


Attachments
Screenshot (20.82 KB, image/png)
2005-02-10 06:45 EST, Florian Priester CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Priester CLA 2005-02-10 06:44:10 EST
Eclipse 3.1M4-win32, Build id: 200412162000

When using the Windows taskbar (or Alt+Tab) to switch between
applications, the window of the selected application is brought
to the front. For an application that is displaying a modal dialog
at the time it is switched to, this means bringing that dialog,
all of its parent dialogs (if there are any) and finally the
parent application window itself to the front.
In the case of Eclipse, this does not always work.

Steps to reproduce:
1. In the workbench window, start an operation that takes
   some time (e.g. rebuilding a large project), causing a
   modal progress dialog to appear ("Always run in background"
   unchecked)
2. Switch to a different application (preferably maximized)
3. Switch back to Eclipse

Expected result:
Both the workbench window and its progress dialog are
brought to the front.

Actual result:
Only the progress dialog is brought to the front, making it seem
as if the previously active application were somehow between the
dialog and the workbench window.

The exact circumstances under which this behaviour occurs are
somewhat unclear. It is not reliably reproducible, sometimes
it works, sometimes it does not. Also, it seems to affect
some dialogs (the aforementioned progress dialogs or dialogs
such as Switch Workspace or Clean Project) but not others
(Search, Preferences). Even stranger, the problem could be seen
using a freshly-opened Import wizard dialog but it disappeared
after having clicked the "Next >" button. Weird.

Filing against UI, not sure if this turns out to be a bug in SWT.
Comment 1 Florian Priester CLA 2005-02-10 06:45:48 EST
Created attachment 17815 [details]
Screenshot
Comment 2 Florian Priester CLA 2005-04-09 12:47:47 EDT

*** This bug has been marked as a duplicate of 46556 ***