http://bugs.winehq.org/show_bug.cgi?id=28962
--- Comment #4 from Nikolay Sivov bunglehead@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?