I'm facing an issue with mouse events on DrawPane and DrawItems.
I've added both a mouseMoveHandler and a mouseDownHandler on a DrawPane. If I press the mouse button, keep it down and then move the pointer, then I get only a single mouseMove event notification until I release the mouse button.
The same stands for DrawItems, so this behavor is reproducible even with the Mouse Events example from in the showcase: if you simply hold the mouse button down on the Triangle and then move out of the shape you will not be notified of other than a single mouse move event.
I'm just wondering if this is the expected behavior, cause it prevents me to implement drag select, i.e. render a floating selection rectangle using a dotted drawrect whose bottom-right corner follows the mouse pointer.
I can reproduce it using SmartClient Version: v9.0p_2014-01-05/LGPL Development Only (built 2014-01-05) and SmartClient Version: v9.1p_2014-03-09/LGPL Development Only (built 2014-03-09)
(current showcase) both with Chrome Version 33.0.1750.146 and Firefox 26.0
I'm not attaching a test case cause the issue is reproducible with the showcase.
Please let me know if you need further info.
I've added both a mouseMoveHandler and a mouseDownHandler on a DrawPane. If I press the mouse button, keep it down and then move the pointer, then I get only a single mouseMove event notification until I release the mouse button.
The same stands for DrawItems, so this behavor is reproducible even with the Mouse Events example from in the showcase: if you simply hold the mouse button down on the Triangle and then move out of the shape you will not be notified of other than a single mouse move event.
I'm just wondering if this is the expected behavior, cause it prevents me to implement drag select, i.e. render a floating selection rectangle using a dotted drawrect whose bottom-right corner follows the mouse pointer.
I can reproduce it using SmartClient Version: v9.0p_2014-01-05/LGPL Development Only (built 2014-01-05) and SmartClient Version: v9.1p_2014-03-09/LGPL Development Only (built 2014-03-09)
(current showcase) both with Chrome Version 33.0.1750.146 and Firefox 26.0
I'm not attaching a test case cause the issue is reproducible with the showcase.
Please let me know if you need further info.
Comment