xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 3 years ago

Last modified 4 months ago

#1941 assigned defect

Java Mouse Location Incorrect when moving a window — at Initial Version

Reported by: Mark Harkin Owned by: Antoine Martin
Priority: critical Milestone: 4.2
Component: server Version: trunk
Keywords: Cc:


I have an undecorated window that I want to move by dragging the panel inside. However under the scenario WindowDragNoDelay? the window jumps erratically with the mouse position read incorrectly in Java (also printed to stdout).

Through debugging I've 2 scenarios (WindowDragWithDelay?,WindowDragNoMove?) that can return the mouse location correctly and 1 (WindowDragNoDelay?) that doesn't.

As a control (CentOS without Xpra) WindowDragNoDelay? will return the correct mouse location.

Reproduce by installing java and running the windowdrag.jar in attached zip file:
java -cp windowdrag.jar WindowDragNoDelay?
java -cp windowdrag.jar WindowDragWithDelay?
java -cp windowdrag.jar WindowDragNoMove?

Can attach logs if you provide the log categories you want.

Python Client on Windows 10 (also can reproduce with HTML5 client)
Server on CentOS 7.
Client and server both on revision 20214

Change History (1)

Changed 3 years ago by Mark Harkin

Attachment: WinDrag.zip added

Sample jar and source

Note: See TracTickets for help on using tickets.