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, jonas_winkler@gmx.de,
	 richard.evans@datanomic.com
Subject: Re: Mouse offset when using java swing based gui applications
Date: Mon, 19 Jul 2010 15:51:00 -0000	[thread overview]
Message-ID: <4C447495.5000707@dronecode.org.uk> (raw)
In-Reply-To: <974066EF77EEA44EB8AED6ADA05DBD0201FFDEFB@THHS2EXBE1X.hostedservice2.net>

On 15/07/2010 15:38, Richard Evans wrote:
> There's a bug reported against Java relating to this, with some more
> details.  It claims to be fixed, but it still occurs.  There's a small
> test case in the bug report.  It makes many Java UI applications
> unusable with Cygwin/X.
>
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6434227

Thanks very much for the link.  That bug report and related ones makes 
interesting reading: I can see now that Swing/AWT problems are probably behind 
a few problem reports of this kind we've had.

I tried out the test case in that particular bug, and it does seem to be fixed 
in the JRE is claims to be fixed in.  But looking at the horror-show that is 
XWM.java [1], I can believe there are other problems, and the behaviour will 
be different with different JRE versions.

There's certainly scope for adding fixes/workarounds to the multiwindow mode 
internal window manager so that AWT does the correct thing, but I guess what I 
need to progress this is a test case I can easily run, and 'java -version' for 
the platform the test case should be run on

[1] 
http://hg.openjdk.java.net/jdk7/jdk7/jdk/file/d58354a69011/src/solaris/classes/sun/awt/X11/XWM.java

-- 
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:[~2010-07-19 15:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-13 21:57 Jonas Winkler
2010-07-15 13:38 ` Jon TURNEY
2010-07-15 14:41   ` Richard Evans
2010-07-19 15:51     ` Jon TURNEY [this message]
2010-07-19 16:28       ` Richard Evans
2010-07-21 19:07         ` Jon TURNEY
2010-07-21 19:11           ` [PATCH] Cygwin/X: Internal WM workaround for Java AWT bug Jon TURNEY
2010-07-22  8:39           ` Mouse offset when using java swing based gui applications Richard Evans

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=4C447495.5000707@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    --cc=jonas_winkler@gmx.de \
    --cc=richard.evans@datanomic.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).