This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: text fields in app don't allow input when running Cygwin X
- From: Deryl Steinert <dus at ornl dot gov>
- To: cygwin-xfree at cygwin dot com
- Date: Thu, 13 Jun 2013 07:02:27 -0700 (PDT)
- Subject: Re: text fields in app don't allow input when running Cygwin X
- References: <1364236782 dot 83207 dot YahooMailNeo at web122606 dot mail dot ne1 dot yahoo dot com> <1366210255 dot 40306 dot YahooMailNeo at web122602 dot mail dot ne1 dot yahoo dot com>
- Reply-to: cygwin-xfree at cygwin dot com
I am seeing this same issue with running a Java 7 app through the Cygwin
xserver in multiwindowed mode (startxwin).
Once a Java window loses keyboard focus I can't get it to regain focus for
keyboard events.
Basically all keyboard input to a window must be completed without the
window losing focus or the
window will appear to hang. At least my users are seeing it as a hang even
though the app is still
responsive to other interaction (buttons, menus, etc). Just not keyboard
input. New Java windows that
are opened do have keyboard input focus until that window loses focus.
As KM states it all works fine when running the Cygwin xserver in windowed
mode (startx rather than startxwin).
A possible explanation is that the Focus model has changed in Java 7.
See section "2.7.2 Communication With Native Focus System" from the
following link;
http://docs.oracle.com/javase/7/docs/webnotes/tsg/TSG-Desktop/html/awt.html
So, is this a bug in Cygwin, Java 7 or our apps?
Thank you for any insight.
--
View this message in context: http://cygwin.1069669.n5.nabble.com/text-fields-in-app-don-t-allow-input-when-running-Cygwin-X-tp97212p99552.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/