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

Bug 120250

Summary: OSX: Remote VM property editors do not come to front when launched
Product: z_Archived Reporter: Jeff Myers <jeff.myers>
Component: VEAssignee: Jeff Myers <jeff.myers>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Jeff Myers CLA 2005-12-10 23:45:37 EST
When launching a property editor such as JFC's color editor which resides on the remote vm, the dialog is not popped up in front of the Eclipse editor on OS X. In order to see the property editor, the user has to click on the remote vm's icon on the Dock (taskbar).  This is because on OS X, the front window is dependant upon what the front process is - and Window.toFront() does not change the front process.

As far as I can tell, there's no way to change the front process from Java... we'll probably have to use a native library to achieve this.  We're already manipulating the front process in the SWT image capture library - we switch the front process to the SWT VM before capturing the image, then set it back to the previous process when it's done.  Similarly, I think we'll need to set the beaninfo vm that's hosting the property editor to be the front process, then restore the previous front process when the editor window is dismissed.
Comment 1 Jeff Myers CLA 2005-12-12 20:34:40 EST
Fixed.  Added a new native library devoted to showing/hiding processes on OS X.  The remote VM property editors now pop forward properly, and Eclipse is restored to the front when the editor is closed.
Comment 2 Jeff Myers CLA 2005-12-16 12:15:44 EST
Verified working on I20051213 build.
Comment 3 Eclipse Webmaster CLA 2007-07-29 09:18:31 EDT
Changing OS from Mac OS to Mac OS X as per bug 185991