From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28309 invoked by alias); 15 Jul 2010 13:38:53 -0000 Received: (qmail 28297 invoked by uid 22791); 15 Jul 2010 13:38:51 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from smtpout.karoo.kcom.com (HELO smtpout.karoo.kcom.com) (212.50.160.34) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 15 Jul 2010 13:38:15 +0000 Received: from 213-152-38-55.dsl.eclipse.net.uk (HELO [192.168.0.6]) ([213.152.38.55]) by smtpout.karoo.kcom.com with ESMTP; 15 Jul 2010 14:38:09 +0100 Message-ID: <4C3F0F49.5090506@dronecode.org.uk> Date: Thu, 15 Jul 2010 13:38:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree@cygwin.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: jonas_winkler@gmx.de Subject: Re: Mouse offset when using java swing based gui applications References: <4C3CE124.3040203@gmx.de> In-Reply-To: <4C3CE124.3040203@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2010-07/txt/msg00035.txt.bz2 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/