Community
Participate
Working Groups
Usually a double click is only fired when clicking the same pixel twice. However the table and tree are allowing the mouse to be moved within an item, e.g. on different cells, which can can cause unwanted doubleclick events.
Created attachment 201984 [details] patch for HEAD This checks the horizontal offset to be no more than +/- 8 pixels. With this value its unlikely to hit two different cells in a short enough time, but still possible to execute a doubleclick on a touch-device such as iPad.
Commited patch to HEAD.
Patch committed to v14_Tree_Table_Merge branch also.
Apparently its still possible to produce "wrong" doubleclicks, even across larger horizontal and vertical distances.
The original fix only solved the issue for DefaultSelection events, not actual doubleclick events. However, since this is a global issue, i opend another bug for this: Bug 358858