[ icewm-Bugs-3495395 ] Java Text Fields don't get focus

SourceForge.net <[email protected]> Fri, 27 Jul 2012 08:37:56 -0700
Newsgroups gmane.comp.window-managers.icewm.devel
Message-ID <[email protected]>
Bugs item #3495395, was opened at 2012-02-28 10:51
Message generated for change (Comment added) made by prasanth
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100031&aid=3495395&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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: jcsl (jcsl)
Assigned to: Nobody/Anonymous (nobody)
Summary: Java Text Fields don't get focus

Initial Comment:
If you click on a Text Field it doesn't get the focus. Using the TAB key isn't working either. Other input components have the same problem (JSpinner, JTextArea). If the widget initially have the focus, it can recover it back (you can use the small example in http://docs.oracle.com/javase/tutorial/uiswing/examples/components/TextDemoProject/src/components/TextDemo.java to see this) If no input element have the focus initially I haven't found a way to give it to them.

System info:

openSUSE 12.1
icewm-1.3.7-16.1.2.x86_64 (32 bits version have the same issue)
java-1_7_0-openjdk-1.7.0.0_147-5.18.x86_64


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

Comment By: Prasanth Pasala (prasanth)
Date: 2012-07-27 08:37

Message:
When the app is launched you can type in text fields. It is only when you
switch from other apps you can't type in the text fields. There is a work
around for this, you have to minimize the app and maximum it again. Once
you do that you can start typing in the text fields. 

Hope IceWM can do some thing to fix this.  What ever fix was made in
https://sourceforge.net/tracker/?func=detail&aid=2987552&group_id=31&atid=100031?
allowed typing in text fields when the app is launched. 

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

Comment By: jcsl (jcsl)
Date: 2012-02-29 05:56

Message:
Well, the bug is now reported and hopefully it will be fixed soon. Could
this bug be related with the one in
https://sourceforge.net/tracker/?func=detail&aid=2987552&group_id=31&atid=100031?

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

Comment By: Bernd Eggink (monoped)
Date: 2012-02-29 03:40

Message:
You're right, it works with other WMs. So indeed this looks like a special
issue with the IceWM+Java7 combination. I really hope somebody will look at
it from the IceWM side as well - this bug is a real show-stopper for me.

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

Comment By: jcsl (jcsl)
Date: 2012-02-29 01:11

Message:
Thanks for the tip monoped. Do you have any hint on why this only happen
with IceWM and not with others DE/WM? And to add some information, I don't
use Oracle's JDK but IcedTea and the bug is still present.

java version "1.7.0_147-icedtea"
OpenJDK Runtime Environment (IcedTea7 2.0) (SUSE LINUX build
1.7.0_147-icedtea-b147)
OpenJDK Client VM (build 21.0-b17, mixed mode)

Are both implementations the same now?

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

Comment By: Bernd Eggink (monoped)
Date: 2012-02-28 14:34

Message:
This is not an icewm bug, but a nasty bug in JRE 7 for Linux which I
reported to Oracle recently (Bug ID: 7147075). If you have an Sun account,
you could go to http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7147075
and click on "vote for this bug" (no idea if it helps, though) or add a
comment.
In my opinion this bug makes JRE 7 for Swing applications under Linux
practically unusable.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100031&aid=3495395&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/