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

Bug 338861

Summary: EModelService#bringToTop(MWindow) doesn't bring the window to the top
Product: [Eclipse Project] e4 Reporter: Brian de Alwis <bsd>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 0.9   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Brian de Alwis CLA 2011-03-03 16:43:31 EST
BuildId: post 4.1M5, but not quite HEAD.

I'm trying to cause a window to be raised to the top and given focus.  Unfortunately either it doesn't work, or I can't find the right combination of calls to ensure it does.

I've tried calling EModelService.bringToTop(), and MApplication#setSelectedElement(window), but to no avail.

The only way I've found to ensure the window is brought to the top is to call:

		window.setVisible(false);
		window.setVisible(true);

But this does not set focus to window.
Comment 1 Brian de Alwis CLA 2012-10-25 15:35:18 EDT
Most of the discussion is happening on bug 391780

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