Community
Participate
Working Groups
Created attachment 148422 [details] Java source code snippet of SWT.FocusIn/SWT.FocusOut bug I am currently running SWT Cocoa 3.6 M2 on Mac mini OS X Leopard 10.5.8. When setting a global listener for an app to fire upon types SWT.FocusIn/SWT.FocusOut, nothing happens in Web Start. My simple test case below embeds a browser widget into a shell. The browser should go invisible when the user clicks outside the app, and reappear when the user restores focus to the app. This works as expected when exported from Eclipse as an app bundle (run in 32-bit mode), and also works fine if run in a project from inside Eclipse Galileo (Build ID: 20090621-0832). When the same test is run over Web Start, the browser never goes invisible when I click outside the window.
Can you try this on a newer build? Silenio made a number of changes since M2 to Display that let SWT apps work properly in Web Start. See bug 270948.
(In reply to comment #1) > Can you try this on a newer build? Silenio made a number of changes since M2 to > Display that let SWT apps work properly in Web Start. See bug 270948. Hi Scott, Do you have a link to the most up to date build that may contain this fix? I looked at your development plan and it says M3 is not due out until 10/30/09, and the link on the SWT downloads page for OS X Cocoa is for M2 released on 9/17/09. I had downloaded M2 back on 9/29/09. Thank you for your reply. Ken
<http://download.eclipse.org/eclipse/downloads/drops/I20091027-0100/> will have it. That link will take you to the SDK downloads for any platform; just click the "Mac OSX (Mac/Cocoa)" link. This is an M3 candidate.
(In reply to comment #3) > <http://download.eclipse.org/eclipse/downloads/drops/I20091027-0100/> will have > it. That link will take you to the SDK downloads for any platform; just click > the "Mac OSX (Mac/Cocoa)" link. > This is an M3 candidate. Thank you for the link. I just re-tested using my sample snippet posted initially, and it appears this bug still exists in the M3 candidate (swt-I20091027-0100-cocoa-macosx.zip). Thank you again for your support, Ken
Bug triaged, visit https://wiki.eclipse.org/SWT/Devel/Triage for more information.
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. -- The automated Eclipse Genie.