public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Subject: Re: text fields in app don't allow input when running Cygwin X
Date: Wed, 27 Mar 2013 16:09:00 -0000	[thread overview]
Message-ID: <515319B4.8060707@dronecode.org.uk> (raw)
In-Reply-To: <1364236782.83207.YahooMailNeo@web122606.mail.ne1.yahoo.com>

On 25/03/2013 18:39, KM wrote:
> I have an application that I have always compiled on Linux and then invoked
> via X Windows with my installed Cygwin X.  Basically use a shortcut to
> startwin.exe (full command is  C:\cygwin\bin\run.exe /usr/bin/bash.exe -l
> -c /usr/bin/startxwin.exe ).  This always started my X server in the
> background  (no root window, or invisible root window), and still does.
> All I had to do is log into my server, export my DISPLAY and start the
> app.
> 
> However I have recompiled my application with java 7 and now all of the
> radio buttons, buttons, scrollbars, and checkboxes, etc.  all still work as
> before.  The only thing that does NOT work is a text field.  I can not get
> the focus of the mouse in there, nor can I change or enter any data in
> those fields.
> 
> When I start Cygwin x from the Cygwin xterminal in a windowed env (e.g.
> starx from command line), and export my DISPLAY on the server, the
> application works, but is contained within the root window.  I never had to
> do it this way before and it looks slightly different, no separate window
> borders etc.
> 
> We also use Reflection for an X server - that seems to run the recompiled
> application fine.
> 
> Any ideas?  Also I apologize if I'm not saying this quite right! Thanks for
> any help.  If you need more info let me know.

There have been some problems in the past with assumptions that Java Windowing
toolkits makes about window manager behaviour which XWin's multiwidow mode
breaks (e.g. [1],[2]), so this might be something similar.

If you can provide a *small* Java application which demonstrates the problem,
and the precise java version which you are using, I will see if I can
reproduce and investigate the problem.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=36806
[2] http://cygwin.com/ml/cygwin-xfree/2010-07/msg00079.html

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
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/


  reply	other threads:[~2013-03-27 16:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1364236089.7676.YahooMailNeo@web122603.mail.ne1.yahoo.com>
2013-03-25 18:39 ` KM
2013-03-27 16:09   ` Jon TURNEY [this message]
2013-03-28  6:58     ` Mark Hansen
     [not found]   ` <1366210255.40306.YahooMailNeo@web122602.mail.ne1.yahoo.com>
2013-06-13 14:02     ` Deryl Steinert
2013-06-13 15:00       ` Deryl Steinert
2013-06-15 21:31         ` Jon TURNEY
2013-06-17 14:44           ` Deryl Steinert
2013-06-19 14:37             ` Jon TURNEY
2013-06-19 16:03               ` Deryl Steinert
2013-06-28 12:38               ` Jon TURNEY
2013-07-08 21:21                 ` Deryl Steinert
2013-07-08 22:08                   ` Jon TURNEY

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=515319B4.8060707@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).