Bug #2040

Mis à jour par Matthieu Decorde il y a plus de 8 ans

When the "i" word is selected the "create" button is not activated.

Note: double-clicking the word works

h3. Solution

The mouse DRAG was detected using only the distance between the mouse start position and end position (DRAG if dist > 7).

But the "i" letter width is 2-3 pixels.
-


replace this custom drag detection with a SWT DragDetectListener- it is not a MouseDragEvent but a drag and drop listener DragDetectListener

Replace the test with: dist != 0 AND (delta_time > 120 OR dist > 4)

Retour