Bug #2040
RCP: 0.7.8, create button activation failed with "i" word
Statut: | Closed | Début: | 16/02/2017 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | Annotation | Temps passé: | - | |
Version cible: | TXM Annotation URS 3.0 |
Description
When the "i" word is selected the "create" button is not activated.
Note: double-clicking the word works
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. it is not a MouseDragEvent but a drag and drop listener
replace this custom drag detection with a SWT DragDetectListener
Replace the test with: dist != 0 AND (delta_time > 120 OR dist > 4)
Historique
#1 Mis à jour par Matthieu Decorde il y a plus de 8 ans
- Description mis à jour (diff)
#2 Mis à jour par Matthieu Decorde il y a plus de 8 ans
- Description mis à jour (diff)
#3 Mis à jour par Matthieu Decorde il y a plus de 8 ans
- % réalisé changé de 0 à 80
#4 Mis à jour par Sebastien Jacquot il y a plus d'un an
- Statut changé de New à Closed
- % réalisé changé de 80 à 100