From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5607 invoked by alias); 13 Jun 2013 14:02:36 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 5550 invoked by uid 89); 13 Jun 2013 14:02:30 -0000 X-Spam-SWARE-Status: No, score=2.7 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,RCVD_IN_HOSTKARMA_YE,SPF_FAIL,URI_HEX autolearn=no version=3.3.1 Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 13 Jun 2013 14:02:29 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Un86d-00046c-PX for cygwin-xfree@cygwin.com; Thu, 13 Jun 2013 07:02:27 -0700 Date: Thu, 13 Jun 2013 14:02:00 -0000 From: Deryl Steinert To: cygwin-xfree@cygwin.com Message-ID: <1371132147781-99552.post@n5.nabble.com> In-Reply-To: <1366210255.40306.YahooMailNeo@web122602.mail.ne1.yahoo.com> References: <1364236782.83207.YahooMailNeo@web122606.mail.ne1.yahoo.com> <1366210255.40306.YahooMailNeo@web122602.mail.ne1.yahoo.com> Subject: Re: text fields in app don't allow input when running Cygwin X MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2013-06/txt/msg00023.txt.bz2 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/