Community
Participate
Working Groups
In Eclipse 3.0 on WindowsXP/SP1 I am experiencing the following bug: Open at least two views with content that is scrollable (e.g. a large file in the editor, an all-expanded navigater, etc.). Activate one view by clicking in it. Now move the mouse to another view and start rolling the mouse wheel. If you watch closely, you will notice that the first mouse wheel event will go to the activated view instead of the one you are hovering over. All subsequent events go to the correct view though (unless you cross a view boundary again...).
CAR to investigate. I can't make it happen on my machine. NOTE: The Windows standard is that the events should go to the control that has focus.
I get the expected Windows WM_MOUSEWHEEL behavior, which is that all mouse wheel events go to the focus control (i.e. the active view) no matter which control you are hovering over. Arrow keys go there, too. Try typing some arrows to verify which view (control) has keyboard focus. The behavior you describe as 'correct' (the control under the hover gets mouse wheel events) is in fact correct on some other platforms - I notice that that's the way GTK works. I can't imagine how you are able to get a non-focused 'hovered-over' control to scroll at all with the wheel (on Windows). Maybe you have some special mouse setup that both clicks and scrolls, giving focus first, then sending wheel events to the focus control? I am closing this bug as invalid - please reopen it if you get a repeatable test case that shows a non-focus control scrolling with the wheel mouse. (Also, please try your test case on another machine before reopening). One more thing - please make sure your mouse driver is the latest version, and if you see the problem, please list your mouse driver version. Thanks!