[Bug 39516] Listview tests consistently fail

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Nov 3 09:20:30 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=39516

--- Comment #3 from Piotr Caban <piotr.caban at gmail.com> ---
I'm seeing something strange related to cursor position and screen coordinates.
On my computer (under wine) the mouse is always moved 3 pixels off comparing to
screen coordinates. For example following code moves mouse to upper left corner
of the screen:
SetCursorPos(0, 3);

On the other hand following code:
SetCursorPos(0, 0);
GetCursorPos(&pt);
claims to set cursor position to 0,0 but the cursor is not really moved.

This causes mismatch between coordinates returned by GetWindowRect and set by
SetCursorPos. Something like this may cause test failures but I don't know if
this is the case on your machine.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list