Bug #2040
RCP: 0.7.8, create button activation failed with "i" word
Status: | New | Start date: | 02/16/2017 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | - | % Done: | 80% |
||
Category: | Annotation | Spent time: | - | ||
Target version: | TXM Democrat 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)
History
#1 Updated by Matthieu Decorde about 6 years ago
- Description updated (diff)
#2 Updated by Matthieu Decorde about 6 years ago
- Description updated (diff)
#3 Updated by Matthieu Decorde about 6 years ago
- % Done changed from 0 to 80