
CursorVisible on FullHD screens
Posted Tuesday, 25 January, 2011 - 09:03 by Drakemor| Project: | The Open Toolkit library |
| Version: | 1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | confirmed |
Jump to:
Description
Hi. I've found out that when you set CursorVisible=false it behaves diffrently depending on window position relative to the screen.
1) if window position.X is <= window.width - you can move mouse from left side of the *window* to the window.width
2) if window.position.X is > window.width - you can move mouse from left side of the *screen* to right
this means that if you have onMouseMove event you'll get e.X values like:
1) 50 - 750
2) -900 - 1020
Same thing goes to vertical values.


Comments
#1
To narrow down the issue, do you mean you can physically move the mouse or that you can warp the mouse cursor (via SetPosition)?
A minimal test case that reproduces the issue would help a lot.
#2
OK. Code below. When I click RMB and drag my mouse to bottom right i expect to see 800, 600 or 799x599.
Instead I have 239, 359. When I move window to diffrent position i get behaviour described above.
#3
Thanks, I'll take a look.
#4
I haven't been able to reproduce this on my Ubuntu install (10.10, amd64, using fglrx). Can you please share your system information?
#5
I can reproduce this on Windows (please mention the OS where you encounter a bug! :) )
Investigating.