[Bug 28962] Mount & Blade: WFAS texture quality slider isn't moving

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Feb 13 03:40:51 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=28962

--- Comment #5 from Pavel Ondračka <pavel.ondracka at gmail.com> 2012-02-13 03:40:51 CST ---
(In reply to comment #4)
> Created attachment 38840 [details]
> 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?

Your patch works when I drag the slider, however when I just click a new
position it still doesn't work.

-- 
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