public inbox for cygwin-xfree@sourceware.org help / color / mirror / Atom feed
From: Richard Evans <richard.evans@datanomic.com> To: <cygwin-xfree@cygwin.com> Cc: "Jon TURNEY" <jon.turney@dronecode.org.uk> Subject: RE: Mouse offset when using java swing based gui applications Date: Thu, 15 Jul 2010 14:41:00 -0000 [thread overview] Message-ID: <974066EF77EEA44EB8AED6ADA05DBD0201FFDEFB@THHS2EXBE1X.hostedservice2.net> (raw) In-Reply-To: <4C3F0F49.5090506@dronecode.org.uk> 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 Richard -----Original Message----- From: Jon TURNEY [mailto:jon.turney@dronecode.org.uk] Sent: 15 July 2010 14:38 To: cygwin-xfree@cygwin.com Cc: jonas_winkler@gmx.de Subject: Re: Mouse offset when using java swing based gui applications On 13/07/2010 22:56, Jonas Winkler wrote: > I just noticed a very strange behaviour of my Cygwin/X-setup. I have a > laptop running Debian 5.0 and openssh-server 1.5.1. My windows7 x64 > machine is running cygwin 1.7.5 and cygwin/x 1.8.0 (fresh installation). > I'm using ssh and x forwarding to use gui applications - especially > Netbeans 6.9 - on my windows machine. > > So far, all X applications run fine on windows. Using Netbeans is > somewhat weird. After startup, i can use the menues, edit code, etc. But > as soon as I change the window position (moving, maximizing) of > Netbeans, it seems as if the position of the window actually does not > change. Clicking works, but selecting a menu item not. I need to click > and hold on the menu item, drag the mouse to the position where the menu > would be before moving the window and then release it. > > Same goes for code completition windows - they pop up where they should > be before moving the window. > > I investigated a bit more and build a very basic Java gui application > using swing (same library used by netbeans to display gui elemets) and > the problem persists. As said before other applications (tested: > gnome-terminal, gedit and nautilus) just work fine. So this is a > swing-related rather than a netbeans-related problem. > > I attached the cygcheck.out. I dont know what other kind of information > I should provide, so if there's anything you need, please let me know. Thanks very much for the clear problem report. We've had some similar reports before of problems with the mouse position reporting with Java applications, for e.g. [1], but I've never had a simple test case that has allowed me to reproduce it and investigate. So, I'd be very interested to see your simple Java application which demonstrates the problem. If you could also start the Xserver with the '-logverbose 3' option and attach your /var/log/XWin.0.log, that would be most helpful. [1] http://sourceware.org/ml/cygwin-xfree/2009-08/msg00060.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/
next prev parent reply other threads:[~2010-07-15 14:41 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 [this message] 2010-07-19 15:51 ` Jon TURNEY 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=974066EF77EEA44EB8AED6ADA05DBD0201FFDEFB@THHS2EXBE1X.hostedservice2.net \ --to=richard.evans@datanomic.com \ --cc=cygwin-xfree@cygwin.com \ --cc=jon.turney@dronecode.org.uk \ /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: linkBe 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).