https://bugs.winehq.org/show_bug.cgi?id=40815
Bug ID: 40815 Summary: comctl32: Leftmost position of trackbar not selectable with mouse, slider initial position wrong Product: Wine Version: 1.9.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: comctl32 Assignee: wine-bugs@winehq.org Reporter: markk@clara.co.uk Distribution: ---
I noticed this problem when using WinUAE. The issue is not present with native (Windows) comctl32.
To reproduce: - Use winecfg to tell Wine to use native comctl32. - Download and run the WinUAE installer. http://www.winuae.net/files/InstallWinUAE3300.msi - Run WinUAE. Click "CPU and FPU" in the treeview at the left side of the window. - There are two radio buttons in the CPU Emulation Speed section, "Fastest possible" and "Approximate A500/A1200 or cycle-exact", below which is a trackbar. - Click "Fastest possible". The trackbar scale changes; notice that the slider moves to the rightmost position and CPU Speed below reads +0%. - Click the other radio button. The trackbar scale and slider position change back. - Click "Fastest possible" again. - Click and drag the trackbar slider all the way to the left. CPU Speed indicator moves to -10%, -20%, ... and finally -90% at the leftmost position.
- So far so good. Now quit WinUAE and use winecfg to use built-in comctl32. - Run WinUAE again and click CPU and FPU. - Click the two radio buttons mentioned above alternately. Notice how the slider position does not change, unlike with native comctl32. So when you click Fastest possible, the slider remains in the leftmost position, but the CPU Speed indicator below says +0% (the slider should actually be in the rightmost position now). - Click Fastest possible, then click and drag the slider left and right. Notice that you can't drag it to the leftmost position. In order to move the slider there you have to use the keyboard. Visually, as you drag the slider to the right, notice that it "jumps ahead of" the mouse cursor.