Comment 4 for bug 1573620

Revision history for this message
Santosh (santoshbit2007) wrote :

Reason of behaviour :
 When we press down to deselect text, Touch events are send to blink, and gesture event are generated based on whether it is consumed or not.

In this case when touchstart is fired its not handled by webpage, which in turn generate TapDown Gesture, till here fine.
Next TouchEnd event is send to blink which is handled by webpage( i guess by prevent default), which in turn generate TapCancel Gesture event. In this way Actual Tap gesture event is cancelled for this webpage. so the selection controller/selection is not cleared.

From chromium/oxide prespective everything is OK.

I tried to change useragent and check the touchend handler in webpages, seems that with android chrome page is different in which there is not touchend event handler.
Touch handler related page comes for specific useragent such as IPhone, Firefox, and window7 which has different browser engine.

So my take is this issue is due to useragent issue. The page loaded by oxide is written for different browser engines
Apparently, it worked fine in oxide if I changed the useragent of Android chrome or IOS chrome