Bug 290903 - [SWT/AWT] addFilter does not fire using JWS with type SWT.FocusIn/SWT.FocusOut
Summary: [SWT/AWT] addFilter does not fire using JWS with type SWT.FocusIn/SWT.FocusOut
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2009-09-30 09:27 EDT by square_96 CLA
Modified: 2019-12-02 09:00 EST (History)
1 user (show)

See Also:


Attachments
Java source code snippet of SWT.FocusIn/SWT.FocusOut bug (2.99 KB, text/plain)
2009-09-30 09:27 EDT, square_96 CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description square_96 CLA 2009-09-30 09:27:38 EDT
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.
Comment 1 Scott Kovatch CLA 2009-10-27 13:34:18 EDT
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.
Comment 2 square_96 CLA 2009-10-27 14:04:56 EDT
(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
Comment 3 Scott Kovatch CLA 2009-10-27 14:16:42 EDT
<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.
Comment 4 square_96 CLA 2009-10-27 15:04:22 EDT
(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
Comment 5 Lakshmi P Shanmugam CLA 2017-07-04 07:42:05 EDT
Bug triaged, visit https://wiki.eclipse.org/SWT/Devel/Triage for more
information.
Comment 6 Eclipse Genie CLA 2019-12-02 09:00:37 EST
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.