[ icewm-Bugs-2987552 ] Problem of activated window with java

SourceForge.net <[email protected]> Wed, 02 Nov 2011 17:46:35 +0000
Newsgroups gmane.comp.window-managers.icewm.devel
Message-ID <[email protected]>
Bugs item #2987552, was opened at 2010-04-15 08:09
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100031&aid=2987552&group_id=31

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: icewm-1.3
Group: icccm
Status: Open
Resolution: None
Priority: 8
Private: No
Submitted By: Cedric Verkleeren (cverkleeren)
Assigned to: Marko Macek (captnmark)
Summary: Problem of activated window with java

Initial Comment:
A java window is not activated when you click on a JPanel.
I have tested with many java application.
I see there is no event "Window Activated" sent to the application.
The event "Window Activated" is well sent when you click on the title bar or on the shortcut in the taskbar
I works with Gnome, the event is sent. It's the reason why I suppose the bug is in IceWM.
I have this behaviour with icewm 1.2.35 under Fedora 10 with Sun jre 1.6.0_19.
I have tested with the latest icewm 1.3.6 and 1.2.37 and I have the same behaviour.

Step to reproduce:
- Click in a window (it's activated and gain the focus)
- Click in a java window (it's not activated)

you will find my preferences file in attachment


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2011-11-02 17:46

Message:
For what it's worth, I've tried all of the options shown below with 1 and
then with 0 and it doesn't seem to make any difference.

#### Testing features to try and fix a bug with JDK 7
#FocusOnMap = 1
#FocusOnMapTransient = 1
#FocusOnAppRaise = 1
#IgnoreNoFocusHint = 1
#ClickToFocus = 1
#RaiseOnFocus = 1
#FocusOnClickClient = 1
#RaiseOnClickClient = 1
#RaiseOnClickFrame = 1
#PassFirstClickToClient = 1

----------------------------------------------------------------------

Comment By: Prasanth Pasala (prasanth)
Date: 2011-10-17 22:52

Message:
This issue seems to be occurring with Ice 1.3.7-7 and JDK 7. Works fine
with JDK 6. 

Please see the below link for a discussion on this in openJDK forum
http://mail.openjdk.java.net/pipermail/swing-dev/2010-June/001104.html

Please let us know if there is a work around.

Thanks

----------------------------------------------------------------------

Comment By: Cedric Verkleeren (cverkleeren)
Date: 2010-04-29 07:22

Message:
The problem is solved.
Thanks a lot.

----------------------------------------------------------------------

Comment By: Marko Macek (captnmark)
Date: 2010-04-28 19:03

Message:
Can you test with icewm-1.3.7pre2?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100031&aid=2987552&group_id=31

------------------------------------------------------------------------------
RSA&#174; Conference 2012
Save $700 by Nov 18
Register now&#33;
http://p.sf.net/sfu/rsa-sfdev2dev1