public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Mouse offset when using java swing based gui applications
@ 2010-07-13 21:57 Jonas Winkler
  2010-07-15 13:38 ` Jon TURNEY
  0 siblings, 1 reply; 8+ messages in thread
From: Jonas Winkler @ 2010-07-13 21:57 UTC (permalink / raw)
  To: cygwin-xfree

[-- Attachment #1: Type: text/plain, Size: 1422 bytes --]

Hi everyone,

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.

Cheers,

    Jonas Winkler


[-- Attachment #2: cygcheck.out --]
[-- Type: text/plain, Size: 30765 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Tue Jul 13 22:43:17 2010

Windows 7 Professional N Ver 6.1 Build 7600 

Running under WOW64 on AMD64

Path:	C:\cygwin\usr\local\bin
	C:\cygwin\bin
	C:\cygwin\bin
	D:\Programs\MiKTeX 2.7\miktex\bin
	C:\Windows\system32
	C:\Windows
	C:\Windows\System32\Wbem
	C:\Windows\System32\WindowsPowerShell\v1.0\
	C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static
	C:\msys\1.0\bin
	C:\mingw\bin
	D:\Development\TortoiseSVN\bin
	D:\Programs\Java\jre6\bin
	D:\Development\Java\jdk1.6.0_17\bin
	C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin
	D:\Tools\OpenAFS\Common
	D:\Tools\OpenAFS\Client\Program
	D:\Internet\MIT\Kerberos\bin
	D:\Development\Java\jonas-full-5.1.1\bin
	C:\Program Files (x86)\QuickTime\QTSystem\
	D:\Internet\Bitvise Tunnelier

Output from C:\cygwin\bin\id.exe
UID: 1010(Jonas)     GID: 513(None)
513(None)            545(Users)           1016(boinc_admins)
1018(boinc_projects) 1017(boinc_users)    1007(HomeUsers)

SysDir: C:\Windows\system32
WinDir: C:\Windows

USER = 'Jonas'
PWD = '/home/Jonas'
HOME = '/home/Jonas'

HOMEPATH = '\Users\Jonas'
APPDATA = 'E:\Users\Jonas\AppData\Roaming'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man:'
ProgramW6432 = 'C:\Program Files'
HOSTNAME = 'Jonas-PC'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 15 Stepping 6, GenuineIntel'
TERM = 'xterm'
WINDIR = 'C:\Windows'
WINDOWID = '2097187'
PUBLIC = 'C:\Users\Public'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
USERDOMAIN = 'Jonas-PC'
ALLUSERSPROFILE = 'C:\ProgramData'
OS = 'Windows_NT'
XTERM_SHELL = '/bin/bash'
!:: = '::\'
VBOX_INSTALL_PATH = 'D:\Programs\Sun\xVM VirtualBox\'
COMMONPROGRAMFILES = 'C:\Program Files (x86)\Common Files'
TEMP = '/cygdrive/e/Users/Jonas/AppData/Local/Temp'
VXIPNPPATH = 'C:\Program Files (x86)\IVI Foundation\VISA\'
QTJAVA = 'D:\Programs\Java\jre6\lib\ext\QTJava.zip'
USERNAME = 'Jonas'
PROCESSOR_LEVEL = '6'
ProgramFiles(x86) = 'C:\Program Files (x86)'
PSModulePath = 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\'
FP_NO_HOST_CHECK = 'NO'
PROCESSOR_ARCHITEW6432 = 'AMD64'
SYSTEMDRIVE = 'C:'
JAVA_HOME = 'D:\Development\Java\jdk1.6.0_17'
USERPROFILE = 'E:\Users\Jonas'
LANG = 'C.UTF-8'
LOGONSERVER = '\\JONAS-PC'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
CommonProgramW6432 = 'C:\Program Files\Common Files'
LOCALAPPDATA = 'E:\Users\Jonas\AppData\Local'
PROCESSOR_ARCHITECTURE = 'x86'
XTERM_LOCALE = 'C.UTF-8'
XTERM_VERSION = 'Cygwin 6.8.99.903(260)'
JONAS_ROOT = 'D:\Development\Java\jonas-full-5.1.1'
ProgramData = 'C:\ProgramData'
SHLVL = '2'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
HOMEDRIVE = 'E:'
COMSPEC = 'C:\Windows\system32\cmd.exe'
LOGNAME = 'Jonas'
SYSTEMROOT = 'C:\Windows'
TMP = '/cygdrive/e/Users/Jonas/AppData/Local/Temp'
PROCESSOR_REVISION = '0f06'
CVS_RSH = '/bin/ssh'
PRINTER = 'HP Deskjet F4200 series (Copy 1)'
CLASSPATH = '.;D:\Programs\Java\jre6\lib\ext\QTJava.zip'
PROGRAMFILES = 'C:\Program Files (x86)'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
DISPLAY = ':0.0'
NUMBER_OF_PROCESSORS = '2'
SESSIONNAME = 'Console'
COMPUTERNAME = 'JONAS-PC'
_ = '/usr/bin/cygcheck.exe'

HKEY_CURRENT_USER\Software\Cygwin
HKEY_CURRENT_USER\Software\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.101/Downloads/cygwin/
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.101/Downloads/cygwin/\OpenWithList
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\C:\cygwin'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'C:\cygwin'

obcaseinsensitive set to 1

Cygwin installations found in the registry:
  System: Key: c5e39b7a9d22bafb Path: C:\cygwin

c:  hd  NTFS     40959Mb  52% CP CS UN PA FC     Windows
d:  hd  NTFS    197512Mb  67% CP CS UN PA FC     Programs
e:  hd  NTFS    217993Mb  58% CP CS UN PA FC     Data
f:  hd  NTFS     20478Mb  42% CP CS UN PA FC     Debian
g:  cd             N/A    N/A                    
h:  cd             N/A    N/A                    
i:  cd             N/A    N/A                    

C:\cygwin        /          system  binary,auto
C:\cygwin\bin    /usr/bin   system  binary,auto
C:\cygwin\lib    /usr/lib   system  binary,auto
cygdrive prefix  /cygdrive  user    binary,auto

Found: C:\cygwin\bin\awk
Found: C:\cygwin\bin\awk
 -> C:\cygwin\bin\gawk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\find.exe
Found: C:\Windows\system32\find.exe
Warning: C:\cygwin\bin\find.exe hides C:\Windows\system32\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\kill.exe
Found: C:\cygwin\bin\kill.exe
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\ls.exe
Not Found: make
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\mv.exe
Not Found: patch
Found: C:\cygwin\bin\perl.exe
Found: C:\cygwin\bin\perl.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\ssh.exe
Found: C:\cygwin\bin\ssh.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\test.exe
Found: C:\cygwin\bin\test.exe
Found: C:\cygwin\bin\vi
Found: C:\cygwin\bin\vi
 -> C:\cygwin\bin\vim-nox.exe
Found: C:\cygwin\bin\vim
Found: C:\cygwin\bin\vim
 -> C:\cygwin\etc\alternatives\vim
 -> C:\cygwin\bin\vim-nox.exe

   15k 2009/12/27 C:\cygwin\bin\cygattr-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygattr-1.dll" v0.0 ts=2009/11/18 13:52
   95k 2010/06/24 C:\cygwin\bin\cygblkid-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygblkid-1.dll" v0.0 ts=2010/6/24 21:20
   61k 2009/03/02 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2009/3/2 4:11
    7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2003/10/19 9:57
 1149k 2010/06/23 C:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-0.9.8.dll" v0.0 ts=2010/6/23 10:39
  943k 2007/12/17 C:\cygwin\bin\cygdb-4.5.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-4.5.dll" v0.0 ts=2007/12/17 14:12
 1296k 2007/12/17 C:\cygwin\bin\cygdb_cxx-4.5.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb_cxx-4.5.dll" v0.0 ts=2007/12/17 14:12
  511k 2010/06/17 C:\cygwin\bin\cygedit-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygedit-0.dll" v0.0 ts=2010/6/17 13:42
  118k 2008/05/09 C:\cygwin\bin\cygexpat-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygexpat-1.dll" v0.0 ts=2008/5/9 6:03
  176k 2010/01/29 C:\cygwin\bin\cygfontconfig-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygfontconfig-1.dll" v0.0 ts=2010/1/28 23:12
   21k 2009/10/14 C:\cygwin\bin\cygfontenc-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygfontenc-1.dll" v0.0 ts=2009/10/14 3:04
   43k 2010/01/02 C:\cygwin\bin\cygform-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-10.dll" v0.0 ts=2010/1/2 15:49
   40k 2009/03/01 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-8.dll" v0.0 ts=2009/3/1 7:32
   43k 2009/11/20 C:\cygwin\bin\cygform-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-9.dll" v0.0 ts=2009/11/20 20:14
   47k 2010/01/02 C:\cygwin\bin\cygformw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygformw-10.dll" v0.0 ts=2010/1/2 18:31
  492k 2010/03/03 C:\cygwin\bin\cygfreetype-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygfreetype-6.dll" v0.0 ts=2010/3/2 22:24
   45k 2009/12/11 C:\cygwin\bin\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggcc_s-1.dll" v0.0 ts=2009/12/8 1:30
  449k 2010/03/17 C:\cygwin\bin\cyggcrypt-11.dll - os=4.0 img=1.0 sys=4.0
                  "cyggcrypt-11.dll" v0.0 ts=2010/3/17 22:45
   19k 2009/02/26 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2009/2/26 8:58
    8k 2009/02/26 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2009/2/26 8:58
 2389k 2010/02/10 C:\cygwin\bin\cygGL-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygGL-1.dll" v0.0 ts=2010/2/10 2:40
  315k 2009/06/06 C:\cygwin\bin\cyggmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmp-3.dll" v0.0 ts=2009/6/6 13:23
   16k 2010/03/17 C:\cygwin\bin\cyggpg-error-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggpg-error-0.dll" v0.0 ts=2010/3/17 22:21
   25k 2009/07/06 C:\cygwin\bin\cyghistory7.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory7.dll" v0.0 ts=2009/7/5 16:45
   73k 2009/09/02 C:\cygwin\bin\cygICE-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygICE-6.dll" v0.0 ts=2009/9/2 23:39
  360k 2009/12/29 C:\cygwin\bin\cygicons-0.dll - os=4.0 img=1.4 sys=4.0
                  "cygicons-0.dll" v0.0 ts=2009/12/29 6:30
  982k 2009/12/23 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2009/12/23 14:25
   31k 2009/04/03 C:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-8.dll" v0.0 ts=2009/4/3 3:15
    5k 2010/04/12 C:\cygwin\bin\cyglsa.dll - os=4.0 img=1.0 sys=4.0
                  "cyglsa.dll" v0.0 ts=2010/4/12 19:08
    9k 2010/04/12 C:\cygwin\bin\cyglsa64.dll - os=5.2 img=0.0 sys=5.2
  125k 2010/04/09 C:\cygwin\bin\cyglzma-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyglzma-1.dll" v0.0 ts=2010/4/9 17:54
   25k 2010/01/02 C:\cygwin\bin\cygmenu-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-10.dll" v0.0 ts=2010/1/2 15:48
   21k 2009/03/01 C:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-8.dll" v0.0 ts=2009/3/1 7:31
   25k 2009/11/20 C:\cygwin\bin\cygmenu-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-9.dll" v0.0 ts=2009/11/20 20:13
   25k 2010/01/02 C:\cygwin\bin\cygmenuw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenuw-10.dll" v0.0 ts=2010/1/2 18:30
  211k 2009/06/06 C:\cygwin\bin\cygmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygmp-3.dll" v0.0 ts=2009/6/6 13:23
   63k 2010/01/02 C:\cygwin\bin\cygncurses++-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-10.dll" v0.0 ts=2010/1/2 16:00
   66k 2009/03/01 C:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-8.dll" v0.0 ts=2009/3/1 7:39
   63k 2009/11/20 C:\cygwin\bin\cygncurses++-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-9.dll" v0.0 ts=2009/11/20 20:25
   63k 2010/01/02 C:\cygwin\bin\cygncurses++w-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++w-10.dll" v0.0 ts=2010/1/2 18:41
  195k 2010/01/02 C:\cygwin\bin\cygncurses-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-10.dll" v0.0 ts=2010/1/2 15:45
  237k 2009/03/01 C:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-8.dll" v0.0 ts=2009/3/1 7:28
  198k 2009/11/20 C:\cygwin\bin\cygncurses-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-9.dll" v0.0 ts=2009/11/20 20:10
  244k 2010/01/02 C:\cygwin\bin\cygncursesw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncursesw-10.dll" v0.0 ts=2010/1/2 18:28
   13k 2010/01/02 C:\cygwin\bin\cygpanel-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-10.dll" v0.0 ts=2010/1/2 15:47
   11k 2009/03/01 C:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-8.dll" v0.0 ts=2009/3/1 7:30
   13k 2009/11/20 C:\cygwin\bin\cygpanel-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-9.dll" v0.0 ts=2009/11/20 20:12
   13k 2010/01/02 C:\cygwin\bin\cygpanelw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanelw-10.dll" v0.0 ts=2010/1/2 17:30
  224k 2010/06/15 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2010/6/15 6:10
   10k 2010/06/15 C:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2010/6/15 6:11
 1553k 2009/12/19 C:\cygwin\bin\cygperl5_10.dll - os=4.0 img=1.0 sys=4.0
                  "cygperl5_10.dll" v0.0 ts=2009/12/18 15:54
  377k 2010/04/02 C:\cygwin\bin\cygpixman-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpixman-1-0.dll" v0.0 ts=2010/4/2 9:44
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 7:45
  162k 2009/07/06 C:\cygwin\bin\cygreadline7.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline7.dll" v0.0 ts=2009/7/5 16:45
   10k 2009/12/14 C:\cygwin\bin\cygsigsegv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygsigsegv-2.dll" v0.0 ts=2009/12/14 13:56
   28k 2010/06/24 C:\cygwin\bin\cygSM-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygSM-6.dll" v0.0 ts=2010/6/24 22:39
  265k 2010/06/23 C:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-0.9.8.dll" v0.0 ts=2010/6/23 10:39
   10k 2009/12/11 C:\cygwin\bin\cygssp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygssp-0.dll" v0.0 ts=2009/12/8 1:38
  773k 2009/12/11 C:\cygwin\bin\cygstdc++-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygstdc++-6.dll" v0.0 ts=2009/12/8 2:07
   48k 2010/01/02 C:\cygwin\bin\cygtic-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygtic-10.dll" v0.0 ts=2010/1/2 15:45
   48k 2009/11/20 C:\cygwin\bin\cygtic-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygtic-9.dll" v0.0 ts=2009/11/20 20:10
   48k 2010/01/02 C:\cygwin\bin\cygticw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygticw-10.dll" v0.0 ts=2010/1/2 18:28
   16k 2010/06/24 C:\cygwin\bin\cyguuid-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyguuid-1.dll" v0.0 ts=2010/6/24 21:19
   28k 2010/03/28 C:\cygwin\bin\cygwrap-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygwrap-0.dll" v0.0 ts=2010/3/28 11:02
 1040k 2010/02/10 C:\cygwin\bin\cygX11-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygX11-6.dll" v0.0 ts=2010/2/10 1:42
    9k 2009/09/03 C:\cygwin\bin\cygXau-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXau-6.dll" v0.0 ts=2009/9/2 23:47
  352k 2009/10/19 C:\cygwin\bin\cygXaw-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygXaw-7.dll" v0.0 ts=2009/10/18 23:55
   77k 2010/04/28 C:\cygwin\bin\cygxcb-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxcb-1.dll" v0.0 ts=2010/4/28 4:15
   17k 2009/10/14 C:\cygwin\bin\cygXdmcp-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXdmcp-6.dll" v0.0 ts=2009/10/14 0:31
   51k 2009/10/22 C:\cygwin\bin\cygXext-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXext-6.dll" v0.0 ts=2009/10/22 5:45
   66k 2009/10/15 C:\cygwin\bin\cygXft-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygXft-2.dll" v0.0 ts=2009/10/14 22:33
  122k 2009/10/15 C:\cygwin\bin\cygxkbfile-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxkbfile-1.dll" v0.0 ts=2009/10/14 7:57
   75k 2009/10/14 C:\cygwin\bin\cygXmu-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXmu-6.dll" v0.0 ts=2009/10/14 9:29
   11k 2009/10/14 C:\cygwin\bin\cygXmuu-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXmuu-1.dll" v0.0 ts=2009/10/14 9:29
   53k 2009/10/14 C:\cygwin\bin\cygXpm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-4.dll" v0.0 ts=2009/10/14 19:01
   30k 2009/10/14 C:\cygwin\bin\cygXrender-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXrender-1.dll" v0.0 ts=2009/10/14 9:40
  279k 2010/04/02 C:\cygwin\bin\cygXt-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXt-6.dll" v0.0 ts=2010/4/2 7:27
   64k 2009/03/02 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2009/3/2 2:33
 2547k 2010/04/12 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2010/4/12 19:07
    Cygwin DLL version info:
        DLL version: 1.7.5
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 225
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5

   15k 2009/12/27 C:\cygwin\bin\cygattr-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygattr-1.dll" v0.0 ts=2009/11/18 13:52
   95k 2010/06/24 C:\cygwin\bin\cygblkid-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygblkid-1.dll" v0.0 ts=2010/6/24 21:20
   61k 2009/03/02 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2009/3/2 4:11
    7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2003/10/19 9:57
 1149k 2010/06/23 C:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-0.9.8.dll" v0.0 ts=2010/6/23 10:39
  943k 2007/12/17 C:\cygwin\bin\cygdb-4.5.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-4.5.dll" v0.0 ts=2007/12/17 14:12
 1296k 2007/12/17 C:\cygwin\bin\cygdb_cxx-4.5.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb_cxx-4.5.dll" v0.0 ts=2007/12/17 14:12
  511k 2010/06/17 C:\cygwin\bin\cygedit-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygedit-0.dll" v0.0 ts=2010/6/17 13:42
  118k 2008/05/09 C:\cygwin\bin\cygexpat-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygexpat-1.dll" v0.0 ts=2008/5/9 6:03
  176k 2010/01/29 C:\cygwin\bin\cygfontconfig-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygfontconfig-1.dll" v0.0 ts=2010/1/28 23:12
   21k 2009/10/14 C:\cygwin\bin\cygfontenc-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygfontenc-1.dll" v0.0 ts=2009/10/14 3:04
   43k 2010/01/02 C:\cygwin\bin\cygform-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-10.dll" v0.0 ts=2010/1/2 15:49
   40k 2009/03/01 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-8.dll" v0.0 ts=2009/3/1 7:32
   43k 2009/11/20 C:\cygwin\bin\cygform-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-9.dll" v0.0 ts=2009/11/20 20:14
   47k 2010/01/02 C:\cygwin\bin\cygformw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygformw-10.dll" v0.0 ts=2010/1/2 18:31
  492k 2010/03/03 C:\cygwin\bin\cygfreetype-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygfreetype-6.dll" v0.0 ts=2010/3/2 22:24
   45k 2009/12/11 C:\cygwin\bin\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggcc_s-1.dll" v0.0 ts=2009/12/8 1:30
  449k 2010/03/17 C:\cygwin\bin\cyggcrypt-11.dll - os=4.0 img=1.0 sys=4.0
                  "cyggcrypt-11.dll" v0.0 ts=2010/3/17 22:45
   19k 2009/02/26 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2009/2/26 8:58
    8k 2009/02/26 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2009/2/26 8:58
 2389k 2010/02/10 C:\cygwin\bin\cygGL-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygGL-1.dll" v0.0 ts=2010/2/10 2:40
  315k 2009/06/06 C:\cygwin\bin\cyggmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmp-3.dll" v0.0 ts=2009/6/6 13:23
   16k 2010/03/17 C:\cygwin\bin\cyggpg-error-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggpg-error-0.dll" v0.0 ts=2010/3/17 22:21
   25k 2009/07/06 C:\cygwin\bin\cyghistory7.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory7.dll" v0.0 ts=2009/7/5 16:45
   73k 2009/09/02 C:\cygwin\bin\cygICE-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygICE-6.dll" v0.0 ts=2009/9/2 23:39
  360k 2009/12/29 C:\cygwin\bin\cygicons-0.dll - os=4.0 img=1.4 sys=4.0
                  "cygicons-0.dll" v0.0 ts=2009/12/29 6:30
  982k 2009/12/23 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2009/12/23 14:25
   31k 2009/04/03 C:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-8.dll" v0.0 ts=2009/4/3 3:15
    5k 2010/04/12 C:\cygwin\bin\cyglsa.dll - os=4.0 img=1.0 sys=4.0
                  "cyglsa.dll" v0.0 ts=2010/4/12 19:08
    9k 2010/04/12 C:\cygwin\bin\cyglsa64.dll - os=5.2 img=0.0 sys=5.2
  125k 2010/04/09 C:\cygwin\bin\cyglzma-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyglzma-1.dll" v0.0 ts=2010/4/9 17:54
   25k 2010/01/02 C:\cygwin\bin\cygmenu-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-10.dll" v0.0 ts=2010/1/2 15:48
   21k 2009/03/01 C:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-8.dll" v0.0 ts=2009/3/1 7:31
   25k 2009/11/20 C:\cygwin\bin\cygmenu-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-9.dll" v0.0 ts=2009/11/20 20:13
   25k 2010/01/02 C:\cygwin\bin\cygmenuw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenuw-10.dll" v0.0 ts=2010/1/2 18:30
  211k 2009/06/06 C:\cygwin\bin\cygmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygmp-3.dll" v0.0 ts=2009/6/6 13:23
   63k 2010/01/02 C:\cygwin\bin\cygncurses++-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-10.dll" v0.0 ts=2010/1/2 16:00
   66k 2009/03/01 C:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-8.dll" v0.0 ts=2009/3/1 7:39
   63k 2009/11/20 C:\cygwin\bin\cygncurses++-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-9.dll" v0.0 ts=2009/11/20 20:25
   63k 2010/01/02 C:\cygwin\bin\cygncurses++w-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++w-10.dll" v0.0 ts=2010/1/2 18:41
  195k 2010/01/02 C:\cygwin\bin\cygncurses-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-10.dll" v0.0 ts=2010/1/2 15:45
  237k 2009/03/01 C:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-8.dll" v0.0 ts=2009/3/1 7:28
  198k 2009/11/20 C:\cygwin\bin\cygncurses-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-9.dll" v0.0 ts=2009/11/20 20:10
  244k 2010/01/02 C:\cygwin\bin\cygncursesw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncursesw-10.dll" v0.0 ts=2010/1/2 18:28
   13k 2010/01/02 C:\cygwin\bin\cygpanel-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-10.dll" v0.0 ts=2010/1/2 15:47
   11k 2009/03/01 C:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-8.dll" v0.0 ts=2009/3/1 7:30
   13k 2009/11/20 C:\cygwin\bin\cygpanel-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-9.dll" v0.0 ts=2009/11/20 20:12
   13k 2010/01/02 C:\cygwin\bin\cygpanelw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanelw-10.dll" v0.0 ts=2010/1/2 17:30
  224k 2010/06/15 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2010/6/15 6:10
   10k 2010/06/15 C:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2010/6/15 6:11
 1553k 2009/12/19 C:\cygwin\bin\cygperl5_10.dll - os=4.0 img=1.0 sys=4.0
                  "cygperl5_10.dll" v0.0 ts=2009/12/18 15:54
  377k 2010/04/02 C:\cygwin\bin\cygpixman-1-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpixman-1-0.dll" v0.0 ts=2010/4/2 9:44
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 7:45
  162k 2009/07/06 C:\cygwin\bin\cygreadline7.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline7.dll" v0.0 ts=2009/7/5 16:45
   10k 2009/12/14 C:\cygwin\bin\cygsigsegv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygsigsegv-2.dll" v0.0 ts=2009/12/14 13:56
   28k 2010/06/24 C:\cygwin\bin\cygSM-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygSM-6.dll" v0.0 ts=2010/6/24 22:39
  265k 2010/06/23 C:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-0.9.8.dll" v0.0 ts=2010/6/23 10:39
   10k 2009/12/11 C:\cygwin\bin\cygssp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygssp-0.dll" v0.0 ts=2009/12/8 1:38
  773k 2009/12/11 C:\cygwin\bin\cygstdc++-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygstdc++-6.dll" v0.0 ts=2009/12/8 2:07
   48k 2010/01/02 C:\cygwin\bin\cygtic-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygtic-10.dll" v0.0 ts=2010/1/2 15:45
   48k 2009/11/20 C:\cygwin\bin\cygtic-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygtic-9.dll" v0.0 ts=2009/11/20 20:10
   48k 2010/01/02 C:\cygwin\bin\cygticw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygticw-10.dll" v0.0 ts=2010/1/2 18:28
   16k 2010/06/24 C:\cygwin\bin\cyguuid-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyguuid-1.dll" v0.0 ts=2010/6/24 21:19
   28k 2010/03/28 C:\cygwin\bin\cygwrap-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygwrap-0.dll" v0.0 ts=2010/3/28 11:02
 1040k 2010/02/10 C:\cygwin\bin\cygX11-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygX11-6.dll" v0.0 ts=2010/2/10 1:42
    9k 2009/09/03 C:\cygwin\bin\cygXau-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXau-6.dll" v0.0 ts=2009/9/2 23:47
  352k 2009/10/19 C:\cygwin\bin\cygXaw-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygXaw-7.dll" v0.0 ts=2009/10/18 23:55
   77k 2010/04/28 C:\cygwin\bin\cygxcb-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxcb-1.dll" v0.0 ts=2010/4/28 4:15
   17k 2009/10/14 C:\cygwin\bin\cygXdmcp-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXdmcp-6.dll" v0.0 ts=2009/10/14 0:31
   51k 2009/10/22 C:\cygwin\bin\cygXext-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXext-6.dll" v0.0 ts=2009/10/22 5:45
   66k 2009/10/15 C:\cygwin\bin\cygXft-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygXft-2.dll" v0.0 ts=2009/10/14 22:33
  122k 2009/10/15 C:\cygwin\bin\cygxkbfile-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxkbfile-1.dll" v0.0 ts=2009/10/14 7:57
   75k 2009/10/14 C:\cygwin\bin\cygXmu-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXmu-6.dll" v0.0 ts=2009/10/14 9:29
   11k 2009/10/14 C:\cygwin\bin\cygXmuu-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXmuu-1.dll" v0.0 ts=2009/10/14 9:29
   53k 2009/10/14 C:\cygwin\bin\cygXpm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-4.dll" v0.0 ts=2009/10/14 19:01
   30k 2009/10/14 C:\cygwin\bin\cygXrender-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXrender-1.dll" v0.0 ts=2009/10/14 9:40
  279k 2010/04/02 C:\cygwin\bin\cygXt-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXt-6.dll" v0.0 ts=2010/4/2 7:27
   64k 2009/03/02 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2009/3/2 2:33
 2547k 2010/04/12 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2010/4/12 19:07
    Cygwin DLL version info:
        DLL version: 1.7.5
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 225
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5


No Cygwin services found.


Cygwin Package Information
Last downloaded files to: ”(
Last downloaded files from: ”(

Package              Version
_update-info-dir     00908-1
alternatives         1.3.30c-10
base-cygwin          2.1-1
base-files           3.9-3
base-passwd          3.1-1
bash                 3.2.49-23
bzip2                1.0.5-10
coreutils            8.5-2
crypt                1.1-1
csih                 0.9.1-1
cygrunsrv            1.34-1
cygutils             1.4.2-1
cygwin               1.7.5-1
cygwin-doc           1.7-1
dash                 0.5.6.1-2
diffutils            2.9-1
editrights           1.01-2
findutils            4.5.9-1
font-adobe-dpi75     1.0.1-1
font-alias           1.0.2-1
font-encodings       1.0.3-1
font-misc-misc       1.1.0-1
fontconfig           2.8.0-1
gawk                 3.1.8-1
gettext              0.17-11
grep                 2.5.4-2
groff                1.20.1-2
gzip                 1.3.12-2
inetutils            1.7-1
ipc-utils            1.0-1
less                 436-1
libattr1             2.4.43-1
libblkid1            2.17.2-1
libbz2_1             1.0.5-10
libdb4.5             4.5.20.2-2
libedit0             20090923-1
libexpat1            2.0.1-1
libfontconfig1       2.8.0-1
libfontenc1          1.0.5-1
libfreetype6         2.3.12-1
libgcc1              4.3.4-3
libgcrypt11          1.4.5-1
libgdbm4             1.8.3-20
libGL1               7.6.1-1
libgmp3              4.3.1-3
libgpg-error0        1.7-1
libICE6              1.0.6-1
libiconv2            1.13.1-1
libintl8             0.17-11
liblzma1             4.999.9beta-11
libncurses10         5.7-18
libncurses8          5.5-10
libncurses9          5.7-16
libncursesw10        5.7-18
libopenssl098        0.9.8o-2
libpcre0             8.02-1
libpixman1_0         0.18.0-1
libpopt0             1.6.4-4
libreadline7         6.0.3-2
libsigsegv2          2.8-1
libSM6               1.1.1-2
libssp0              4.3.4-3
libstdc++6           4.3.4-3
libuuid1             2.17.2-1
libwrap0             7.6-21
libX11_6             1.3.3-1
libXau6              1.0.5-1
libXaw7              1.0.7-1
libxcb1              1.6-1
libXdmcp6            1.0.3-1
libXext6             1.1.1-1
libXft2              2.1.14-1
libxkbfile1          1.0.6-1
libXmu6              1.0.5-1
libXmuu1             1.0.5-1
libXpm4              3.5.8-1
libXrender1          0.9.5-1
libXt6               1.0.8-1
login                1.10-10
luit                 1.0.5-1
man                  1.6f-1
mkfontdir            1.0.5-1
mkfontscale          1.0.7-1
openssh              5.5p1-2
perl                 5.10.1-3
rebase               3.0.1-1
run                  1.1.12-11
sed                  4.2.1-1
tar                  1.23-1
terminfo             5.7_20091114-14
terminfo0            5.5_20061104-12
texinfo              4.13-3
tzcode               2010j-1
util-linux           2.17.2-1
vim                  7.2.264-2
which                2.20-2
X-start-menu-icons   1.0.4-1
xauth                1.0.4-1
xcursor-themes       1.0.2-1
xinit                1.2.1-1
xkbcomp              1.1.1-1
xkeyboard-config     1.8-1
xmodmap              1.0.4-1
xorg-docs            1.5-1
xorg-server          1.8.0-1
xrdb                 1.0.6-1
xterm                260-1
xz                   4.999.9beta-11
zlib                 1.2.3-10
zlib-devel           1.2.3-10
zlib0                1.2.3-10
Use -h to see help about each section



[-- Attachment #3: Type: text/plain, Size: 223 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Mouse offset when using java swing based gui applications
  2010-07-13 21:57 Mouse offset when using java swing based gui applications Jonas Winkler
@ 2010-07-15 13:38 ` Jon TURNEY
  2010-07-15 14:41   ` Richard Evans
  0 siblings, 1 reply; 8+ messages in thread
From: Jon TURNEY @ 2010-07-15 13:38 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: jonas_winkler

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/


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: Mouse offset when using java swing based gui applications
  2010-07-15 13:38 ` Jon TURNEY
@ 2010-07-15 14:41   ` Richard Evans
  2010-07-19 15:51     ` Jon TURNEY
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Evans @ 2010-07-15 14:41 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: Jon TURNEY

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/


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Mouse offset when using java swing based gui applications
  2010-07-15 14:41   ` Richard Evans
@ 2010-07-19 15:51     ` Jon TURNEY
  2010-07-19 16:28       ` Richard Evans
  0 siblings, 1 reply; 8+ messages in thread
From: Jon TURNEY @ 2010-07-19 15:51 UTC (permalink / raw)
  To: cygwin-xfree, jonas_winkler, richard.evans

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/


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: Mouse offset when using java swing based gui applications
  2010-07-19 15:51     ` Jon TURNEY
@ 2010-07-19 16:28       ` Richard Evans
  2010-07-21 19:07         ` Jon TURNEY
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Evans @ 2010-07-19 16:28 UTC (permalink / raw)
  To: cygwin-xfree, Jon TURNEY; +Cc: jonas_winkler

[-- Attachment #1: Type: text/plain, Size: 2477 bytes --]

I've attached a small test case which shows the menu problems.

Compile and run with:

javac menus.java
java menus

My server configuration is Windows 7 x64, Cygwin/X X server version
1.7.3, with dual 1920x1200 monitors.  I ran the test case on Fedora 12
x86, using the latest released JRE 1.6u21.

The frame appears in one of two ways:

1. With the window frame off the screen top left - ie (0, 0) in the
content area is at (0, 0) on the display

Or

2. With the window frame showing, but as soon as I try to select a menu,
the windows shifts to the position in 1.

When the frame as off screen, (as in 1. above), the menus work fine; If
I move the window elsewhere on the screen, the menus can be opened but
you can't select any item.

This menu behaviour has been seen for all versions of JDK 1.6 as far as
I remember; it certainly happens with 1.6u3 and 1.6u4.

Hope this helps

Richard


-----Original Message-----
From: Jon TURNEY [mailto:jon.turney@dronecode.org.uk] 
Sent: 19 July 2010 16:52
To: cygwin-xfree@cygwin.com; jonas_winkler@gmx.de; Richard Evans
Subject: Re: Mouse offset when using java swing based gui applications

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/c
lasses/sun/awt/X11/XWM.java

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

[-- Attachment #2: menus.java --]
[-- Type: application/octet-stream, Size: 984 bytes --]

import java.awt.Dimension;

import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.JPanel;

/**
 * Test menus.
 *
 * @author Richard Evans
 */
public class menus {

  /**
   * Entry point.
   * 
   * @param args None
   */
  
  public static void main(String[] args) {
    JFrame jframe = new JFrame("frame");
    JMenuBar mb = new JMenuBar();

    for (int i = 1; i <= 5; i++) {
      JMenu m = new JMenu("Menu " + i);
      
      for (int j = 1; j <= 5; j++) {
        JMenuItem mi = new JMenuItem("Item " + i + j);
        m.add(mi);
      }
      
      mb.add(m);
    }
    
    jframe.setJMenuBar(mb);
    
    JPanel jp = new JPanel();    
    jp.setPreferredSize(new Dimension(500, 500));
    
    jframe.getContentPane().add(jp);
    jframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    
    jframe.pack();
    jframe.setVisible(true);
  }

}

[-- Attachment #3: Type: text/plain, Size: 223 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Mouse offset when using java swing based gui applications
  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
  0 siblings, 2 replies; 8+ messages in thread
From: Jon TURNEY @ 2010-07-21 19:07 UTC (permalink / raw)
  To: cygwin-xfree, richard.evans

On 19/07/2010 17:27, Richard Evans wrote:
> I've attached a small test case which shows the menu problems.

Thanks very much, that was very helpful in investigating this problem.

> This menu behaviour has been seen for all versions of JDK 1.6 as far as
> I remember; it certainly happens with 1.6u3 and 1.6u4.

Yes, I wasn't testing what I thought I was testing, and was completely wrong 
when I said sun bug #6434227 was fixed in the JRE that it claims it's fixed in.

It's fixed in JDK1.7 and OpenJDK, but that bug lies when it says the fix is in 
1.6 as well.

However, it does identify what's going wrong.  The significant difference in 
XDecoratedPeer.java between 1.6u21 and a fixed version is:

--- 
/opt/wip/jdk-1_6_0/j2se/src/solaris/classes/sun/awt/X11/XDecoratedPeer.java 
2010-07-21 15:46:33.281250000 +0100
+++ /opt/wip/openjdk/jdk/src/solaris/classes/sun/awt/X11/XDecoratedPeer.java 
  2010-06-21 22:15:43.000000000 +0100
@@ -752,79 +748,69 @@
              Point newLocation = targetBounds.getLocation();
-            if (xe.get_send_event()) {
+        if (xe.get_send_event() || runningWM == XWM.NO_WM || 
XWM.isNonReparentingWM()) {
                  // Location, Client size + insets
                  newLocation = new Point(xe.get_x() - currentInsets.left, 
xe.get_y() - currentInsets.top);
              } else {
                  // CDE/MWM/Metacity/Sawfish bug: if shell is resized using
                  // top or left border, we don't receive synthetic
                  // ConfigureNotify, only the one from X with zero
                  // coordinates.  This is the workaround to get real
                  // location, 6261336
-                // Do the same for non-reparenting WMs (Compiz, Looking Glass)
                  switch (XWM.getWMID()) {
                    case XWM.CDE_WM:
                    case XWM.MOTIF_WM:
                    case XWM.METACITY_WM:
                    case XWM.SAWFISH_WM:
-                  case XWM.COMPIZ_WM:
-                  case XWM.LG3D_WM:
                    {
                        Point xlocation = queryXLocation();
                        if (log.isLoggable(Level.FINE)) {
                            log.log(Level.FINE, "New X location: {0}",
                                    new Object[]{String.valueOf(xlocation)});
                        }
                        if (xlocation != null) {
                            newLocation = xlocation;
                        }
                        break;
                    }
                    default:
                        break;
                  }
              }

Location updates from ConfigureNotify are not processed in the NO_WM case,
presumably causing the menus behave as if the window was still located where 
it was created.

There are 2 possible workarounds which occur to me:

(i) Lie and pretend we are a non-reparenting WM on the list that AWT knows 
about, like LG3D.  This one of the workarounds suggested in the manpage for 
dwm (a non-reparenting, tiling WM)

Unfortunately, we have to tell a more lies to get AWT to accept this lie, and 
in particular, we have to claim to support EWMH, which the internal WM doesn't 
really (although it should), so I'm not too keen on this approach.

(ii) Alternatively, it's a straightforward workaround to add to the internal 
WM to cause it to send synthetic ConfigureNotify for these windows when a 
non-synthetic ConfigureNotify occurs.

 From a quick test, this approach seems to work ok.  But the Java window still 
appears with the frame off the top-left, rather than getting nudged away from 
the origin so the frame is visible, which is rather mysterious.

I've uploaded a build with this change at [1], patch to follow.  Perhaps you 
could try it out and see if it works for you?

[1] ftp://cygwin.com/pub/cygwinx/XWin.20100721-git-2704058015f198ce.exe.bz2

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH] Cygwin/X: Internal WM workaround for Java AWT bug
  2010-07-21 19:07         ` Jon TURNEY
@ 2010-07-21 19:11           ` Jon TURNEY
  2010-07-22  8:39           ` Mouse offset when using java swing based gui applications Richard Evans
  1 sibling, 0 replies; 8+ messages in thread
From: Jon TURNEY @ 2010-07-21 19:11 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: Jon TURNEY

Java applications using AWT on JRE 1.6.0 break with non-reparenting WMs AWT
doesn't explicitly know about (See sun bug #6434227)

XDecoratedPeer.handleConfigureNotifyEvent() only processes non-synthetic
ConfigureNotify events to update window location if it's identified the
WM as a non-reparenting WM it knows about (compiz or lookingglass)

Rather than tell all sorts of lies to get XWM to recognize us as one of
those, simply send a synthetic ConfigureNotify for every non-synthetic one

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
---
 hw/xwin/winmultiwindowwm.c |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/hw/xwin/winmultiwindowwm.c b/hw/xwin/winmultiwindowwm.c
index 52921f3..9edde6e 100644
--- a/hw/xwin/winmultiwindowwm.c
+++ b/hw/xwin/winmultiwindowwm.c
@@ -1127,6 +1127,30 @@ winMultiWindowXMsgProc (void *pArg)
                 }
             }
         }
+      else if (event.type == ConfigureNotify)
+        {
+          if (!event.xconfigure.send_event)
+            {
+              /*
+                Java applications using AWT on JRE 1.6.0 break with non-reparenting WMs AWT
+                doesn't explicitly know about (See sun bug #6434227)
+
+                XDecoratedPeer.handleConfigureNotifyEvent() only processes non-synthetic
+                ConfigureNotify events to update window location if it's identified the
+                WM as a non-reparenting WM it knows about (compiz or lookingglass)
+
+                Rather than tell all sorts of lies to get XWM to recognize us as one of
+                those, simply send a synthetic ConfigureNotify for every non-synthetic one
+               */
+              XEvent event_send = event;
+              event_send.xconfigure.send_event = TRUE;
+              event_send.xconfigure.event = event.xconfigure.window;
+              XSendEvent(event.xconfigure.display,
+                         event.xconfigure.window,
+                         True, StructureNotifyMask,
+                         &event_send);
+            }
+        }
       else if (event.type == PropertyNotify
 	       && event.xproperty.atom == atmWmName)
 	{
-- 
1.7.1


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: Mouse offset when using java swing based gui applications
  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           ` Richard Evans
  1 sibling, 0 replies; 8+ messages in thread
From: Richard Evans @ 2010-07-22  8:39 UTC (permalink / raw)
  To: cygwin-xfree, Jon TURNEY

Yes, my experience is the same as yours.  The menus test starts with the
frame hidden off the top left, as before, but when I move the window,
the menus _do_ work OK.

Apps which set an initial location (add jframe.setLocation(400, 400);
after the pack() call) appear correctly and the menus still work.
Interestingly with the 1.7.3 XWin, the app would appear in the right
place but would tend to snap back to the top left if you tried to resize
the window.  This does not seem to happen with the patched server.

Richard

-----Original Message-----
From: Jon TURNEY [mailto:jon.turney@dronecode.org.uk] 
Sent: 21 July 2010 20:08
To: cygwin-xfree@cygwin.com; Richard Evans
Subject: Re: Mouse offset when using java swing based gui applications

On 19/07/2010 17:27, Richard Evans wrote:
> I've attached a small test case which shows the menu problems.

Thanks very much, that was very helpful in investigating this problem.

> This menu behaviour has been seen for all versions of JDK 1.6 as far
as
> I remember; it certainly happens with 1.6u3 and 1.6u4.

Yes, I wasn't testing what I thought I was testing, and was completely
wrong 
when I said sun bug #6434227 was fixed in the JRE that it claims it's
fixed in.

It's fixed in JDK1.7 and OpenJDK, but that bug lies when it says the fix
is in 
1.6 as well.

However, it does identify what's going wrong.  The significant
difference in 
XDecoratedPeer.java between 1.6u21 and a fixed version is:

--- 
/opt/wip/jdk-1_6_0/j2se/src/solaris/classes/sun/awt/X11/XDecoratedPeer.j
ava 
2010-07-21 15:46:33.281250000 +0100
+++
/opt/wip/openjdk/jdk/src/solaris/classes/sun/awt/X11/XDecoratedPeer.java

  2010-06-21 22:15:43.000000000 +0100
@@ -752,79 +748,69 @@
              Point newLocation = targetBounds.getLocation();
-            if (xe.get_send_event()) {
+        if (xe.get_send_event() || runningWM == XWM.NO_WM || 
XWM.isNonReparentingWM()) {
                  // Location, Client size + insets
                  newLocation = new Point(xe.get_x() -
currentInsets.left, 
xe.get_y() - currentInsets.top);
              } else {
                  // CDE/MWM/Metacity/Sawfish bug: if shell is resized
using
                  // top or left border, we don't receive synthetic
                  // ConfigureNotify, only the one from X with zero
                  // coordinates.  This is the workaround to get real
                  // location, 6261336
-                // Do the same for non-reparenting WMs (Compiz, Looking
Glass)
                  switch (XWM.getWMID()) {
                    case XWM.CDE_WM:
                    case XWM.MOTIF_WM:
                    case XWM.METACITY_WM:
                    case XWM.SAWFISH_WM:
-                  case XWM.COMPIZ_WM:
-                  case XWM.LG3D_WM:
                    {
                        Point xlocation = queryXLocation();
                        if (log.isLoggable(Level.FINE)) {
                            log.log(Level.FINE, "New X location: {0}",
                                    new
Object[]{String.valueOf(xlocation)});
                        }
                        if (xlocation != null) {
                            newLocation = xlocation;
                        }
                        break;
                    }
                    default:
                        break;
                  }
              }

Location updates from ConfigureNotify are not processed in the NO_WM
case,
presumably causing the menus behave as if the window was still located
where 
it was created.

There are 2 possible workarounds which occur to me:

(i) Lie and pretend we are a non-reparenting WM on the list that AWT
knows 
about, like LG3D.  This one of the workarounds suggested in the manpage
for 
dwm (a non-reparenting, tiling WM)

Unfortunately, we have to tell a more lies to get AWT to accept this
lie, and 
in particular, we have to claim to support EWMH, which the internal WM
doesn't 
really (although it should), so I'm not too keen on this approach.

(ii) Alternatively, it's a straightforward workaround to add to the
internal 
WM to cause it to send synthetic ConfigureNotify for these windows when
a 
non-synthetic ConfigureNotify occurs.

 From a quick test, this approach seems to work ok.  But the Java window
still 
appears with the frame off the top-left, rather than getting nudged away
from 
the origin so the frame is visible, which is rather mysterious.

I've uploaded a build with this change at [1], patch to follow.  Perhaps
you 
could try it out and see if it works for you?

[1]
ftp://cygwin.com/pub/cygwinx/XWin.20100721-git-2704058015f198ce.exe.bz2

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-07-22  8:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-13 21:57 Mouse offset when using java swing based gui applications Jonas Winkler
2010-07-15 13:38 ` Jon TURNEY
2010-07-15 14:41   ` Richard Evans
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

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).