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

Closed 3 years ago

Last modified 17 months ago

#2371 closed defect (needinfo)

Mouse doesn't update position unless mouse button is held down

Reported by: Sean Rhone Owned by: Sean Rhone
Priority: major Milestone: 3.0
Component: client Version: 2.5.x
Keywords: Cc:


Hi, I'm using Xpra with VirtualGL to try to play a game for rudimentary UI scaling (render the game at 1080p, stretch it up to 4K): https://i.imgur.com/fpHNI1D.jpg

If I start Xpra with just start (xpra start), the cursor on the game windows doesn't change position unless I hold down a mouse button.

If I start Xpra with start-desktop, the cursor updates fine, but the game window loses decoration and is in an awkward, unresizeable position: https://i.imgur.com/L1D5zk2.jpg

I'm thinking it could be solved with a flag or environment variable, but I'm unsure of what to try, and would appreciate any suggestions.

OS: Fedora Workstation 30 (GNOME)

Change History (3)

comment:1 Changed 3 years ago by Antoine Martin

Owner: changed from Antoine Martin to Sean Rhone

Odd. Whether you use start or start-desktop, the pointer's position is handled pretty much the same way.

You can verify that the position gets updated using:

  • xpra -d mouse:
    • the client will print do_send_mouse_position() position=['pointer-position', 1, [381, 220, 381, 149], ['mod2'], []],
    • the server will print: xtest_fake_motion(-1, 451, 350) (different output if using uinput #1611)
  • $ xpra info | grep cursor.position

Is the pointer really within the game's window?
Is there an open-source application I can use to reproduce?

comment:2 Changed 3 years ago by Antoine Martin

Resolution: needinfo
Status: newclosed

There were some important fixes related to focus issues and X11 event masks, those may have caused the bug you describe. See ticket:2390#comment:24 for details.
This would have only affected the python3 client, which is not the default yet, but maybe that's what you used for testing?

Feel free to re-open if you can provide more information. (ie: a test case)

comment:3 Changed 17 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2371

Note: See TracTickets for help on using tickets.