-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIDGET_DRAW wheel events are not quite right. #1707
Comments
I should add that there are also differences in the handling of keyboard events (same code can be used to test, ). For an alphabetic key: For the number row Function keys I'm still a bit confused with the keypad. |
Many thanks, @jtappin . Well noted! |
hm... seems to be a problem inside wxWidgets...
OK.
X or Y wheels are also simuled by a trackpad. on my trackpagd, IDL does not see X "wheel" events, whereas GDL does. |
I do suspect that many of the stranger widget issues are related to IDL continuing to use the ancient Motif toolkit for Linux, and that simply doesn't support many of the newer types of input device. |
@jtappin I'm not sure we should mimic IDL with the number of clicks always 1 or -1. With my wheel I get +/-120 but with the trackpad scrolling (old trackpad, the right and bottom part of the trackpad on a small area can be used as a virtual "slider") these values change with the scrolling speed. |
I've uncovered a few rather odd behaviours in GDL relating to wheel events and
widget_draw
(plus one in IDL that is dead wrong).Test code (include
/wheel' in the options for this issue e.g.
motion_test, /but, /wheel` motion_test.proIn addition in the case of devices with an x-scroll by clicking the wheel sideways, GDL produces a wheel event indistinguishable from the normal wheel event, whereas IDL produces a pair of button click events apparently coming from button 1. I think that in this case we ought to leave the status quo as IDL's behaviour looks more wrong than GDL's.
The text was updated successfully, but these errors were encountered: