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

SourceForge.net <[email protected]> Fri, 27 Jul 2012 08:29:44 -0700
Newsgroups gmane.comp.window-managers.icewm.devel
Message-ID <[email protected]>
Bugs item #2987552, was opened at 2010-04-15 01:09
Message generated for change (Comment added) made by prasanth
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: Prasanth Pasala (prasanth)
Date: 2012-07-27 08:29

Message:
Seems like now the java application gets focus and you can use mouse to
move around but you can't type in any of the text fields. I see a separate
item for this
(https://sourceforge.net/tracker/?func=detail&aid=2987552&group_id=31&atid=100031?).
 I have tested the app in Gnome and XFCE and it works fine.

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

Comment By: Marko Macek (captnmark)
Date: 2011-11-19 12:21

Message:
The fix for this is now in CVS (for 1.3.8pre1)

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

Comment By: Nobody/Anonymous (nobody)
Date: 2011-11-02 10: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 15: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 00:22

Message:
The problem is solved.
Thanks a lot.

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

Comment By: Marko Macek (captnmark)
Date: 2010-04-28 12: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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/