http://bugs.winehq.org/show_bug.cgi?id=29286
Bug #: 29286 Summary: Mouse wheel affects the control under the mouse pointer, not the currently active one Product: Wine Version: 1.3.34 Platform: x86-64 URL: http://www.winuae.net/files/InstallWinUAE2330.exe OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: markk@clara.co.uk Classification: Unclassified
Hi,
There is a difference between how Wine and Windows handle mouse wheel events.
In Windows, moving the mouse wheel affects the currently-selected control (the last control clicked on), even if the pointer is over another control. In order to change the control which is under the pointer, you need to click to activate it first.
In Wine, moving the mouse wheel affects whatever control the pointer is over. For example, try this: - Click in a combo box to activate it. Move the mouse wheel and notice the selected item changes. - Move the pointer over another combo box. Without clicking the button, move the wheel. - The selected item of the combo box under the pointer changes. (On Windows, the selected item of the active combo box would change instead.)
One program which shows this issue is WinUAE. - Download and run InstallWinUAE2330.exe. Check the box to run the program at the end. - After clicking OK at the initial dialog box, the WinUAE Properties window opens. - In the tree view at the left side, click Sound. There are several combo boxes. Move the pointer over one and click in it. Move pointer over the other combo boxes and move the mouse wheel. - Sliders are also affected. Click RAM in the tree view, then move the pointer over the Chip or Slow sliders and move the mouse wheel.
Using native comctl32 didn't make a difference.
http://bugs.winehq.org/show_bug.cgi?id=29286
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #1 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-12-09 15:28:08 CST --- This is how mouse wheel work on Linux, not just Wine. More specifically your window manager.
So in other words this is not Wine bug.
http://bugs.winehq.org/show_bug.cgi?id=29286
Mark K markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |markk@clara.co.uk
--- Comment #2 from Mark K markk@clara.co.uk 2011-12-10 06:42:11 CST --- How is the window manager involved with telling Wine which control is active though? Surely the window manager doesn't know anything about the Wine/Windows controls? It seems Wine knows which control is active (last clicked in), because it remains highlighted when the mouse pointer moves away.
Currently, one control can be active/highlighted, and the mouse be over another control. Moving the mouse wheel affects the control under the pointer, but pressing keys (cursor left & right, PgUp, PgDn) affects the active/highlighted control.
Looking at other bugs, this issue might have been reported before; see bug 14127.
http://bugs.winehq.org/show_bug.cgi?id=29286
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |DUPLICATE
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2011-12-10 09:57:45 CST --- Duplicate then.
*** This bug has been marked as a duplicate of bug 14127 ***
http://bugs.winehq.org/show_bug.cgi?id=29286
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Austin English austinenglish@gmail.com 2012-01-23 19:46:10 CST --- Closing DUPLICATE.