Community
Participate
Working Groups
Created attachment 282786 [details] Contains the sample code to reproduce the issue. This is reproducible on both Windows and MacOS versions of SWT. On Windows, it seems to happen just after the application is launched, but it happens all the time on Mac. See the attached text file for a sample code. If you run it, then doing the following shows the issue: 1. Click the "Focus" button 2. Alt+tab out or focus on a different window such that the SWT application is on the background (On Mac, the SWT application needs to be behind 2 windows before I could replicate the issue). 3. When the application finally calls setFocus on the Composite, it forces itself to the foreground.
*** This bug has been marked as a duplicate of bug 578929 ***