[Bug 41909] Calling TBM_SETPOS after TBM_SETRANGEMIN/ TBM_SETRANGEMAX does not draw slider control properly

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Dec 2 12:26:33 CST 2016


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

--- Comment #6 from Nikolay Sivov <bunglehead at gmail.com> ---
Ok, thanks. I checked out your trunk revision, and I think I see where this
comes from, this dialog does:

---
r->valueSlider.SetRange(-SliderResolution / 2, SliderResolution / 2);
r->valueSlider.SetTicFreq(SliderResolution / 8);
r->valueSlider.SetPageSize(SliderResolution / 8);
---

According to my testing SetTicFreq() makes a difference, because it updates
thumb position (TBM_SETTICFREQ does not have additional deferred update
argument, so it always updates). We currently don't touch thumb at all on
TBM_SETTICFREQ. Could you do a test build of your application without
SetTicFreq and SetPageSize call to confirm that it breaks on windows too?

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