[Bug 28962] Mount & Blade: WFAS texture quality slider isn't moving
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Feb 12 16:16:03 CST 2012
http://bugs.winehq.org/show_bug.cgi?id=28962
--- Comment #4 from Nikolay Sivov <bunglehead at gmail.com> 2012-02-12 16:16:03 CST ---
Created attachment 38840
--> http://bugs.winehq.org/attachment.cgi?id=38840
patch
It looks like application subclasses trackbar, some messages including WM_PAINT
do not reach control procedure.
Call order:
- control procedure called with WM_MOUSEMOVE;
- position is updated and notification sent with TB_THUMBTRACK;
- application does TBM_GETPOS during notification (seems to work);
- during WM_PAINT handling application sends TBM_GETTHUMBRECT,
but rectangle is not updated at this point cause we update it only in
WM_PAINT handler in TRACKBAR_Refresh(). So application always get the same
rectangle, that's what you see when slider is standing still.
Attached simple patch shows how this should be fixed, it's incomplete of course
and needs tests.
Could you confirm it works for you?
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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