|Double-click on an editpart that is partially hidden causes editpart to be revealed but misses doubl [message #516627]
||Wed, 24 February 2010 05:50
| Vasanth Velusamy
Registered: July 2009
If an editpart is partially hidden from view (where scrolling would |
reveal it), and if you double click on the visible portion of the
editpart, double-click doesn't work. Instead, it behaves as if there
were two single mouse clicks.
The first click of the double-click causes the viewer to scroll and show
the editpart in full (or as much as possible). Since the mouse's x-y
location has changed now, the second click of the double-click acts as a
second single-click and ends up selecting the editpart (or any other
child editpart that is under the mouse after it has scrolled).
You can try this out in the logic gates example.
The root cause is that there is no differentiation between a single
click and the first click in a double click. There have been posts in
this forum earlier which talk about it, and there was a suggestion to
use a timer to distinguish the two. Such a solution can be used in this
If it is agreed that this is a valid issue, I can enter a defect and
post a couple of possible solutions.
Powered by FUDForum
. Page generated in 0.01730 seconds