Community
Participate
Working Groups
Currently, Display.post(Event) can generate user input events for SWT.MouseUp, MouseDown, MouseMove, KeyDown, & KeyUp. But it does not support generating an SWT.MouseWheel event. Please add this. My use case is that I'm trying to eliminate a dependency on java.awt.Robot, which is what I currently use for generating mouse wheel input events. I'm using Display.post(Event) for all other user input event generation.
See also Bug 169552
Nicholas, please look into this.
This was fixed on Windows. Did we ever get the code for the other platforms?
For the mac and gtk, fixed in HEAD > feb 20 2007 Was not able to make it work for Motif because I couldn't get buttons 4 & 5 to work at all (even just manual clicks)... even after reading the SWT FAQ on this issue.
whoops. ignore my last message =\ I intended to post it for the similar bug #172316 What I really meant was: For the mac, fixed in HEAD > feb 20 2007 For GTK the code was added to head but intentionally commented because testing revealed that after posting a mouse wheel event the system may respond unpredictably to subsequent mouse actions (e.g. left click may stop working, right click acts as left click, and other strange things). I couldn't get posting (let alone manual mouse wheel usage) to work in motif even after reading the SWT FAQ on this...
Any new news on this from the GTK or Motif front?
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.