extnet / Ext.NET

35 stars 41 forks source link

Ext.NET breaks on Firefox 52 where either pointer or touch events are enabled #1445

Open fabriciomurta opened 7 years ago

fabriciomurta commented 7 years ago

Found: 4.2.0 Ext.NET forum thread: Strange issue with Firefox 52 (UI freezes on some PCs also on Ext.Net examples...) Sencha thread: Ext 6.2.0 don't listen mouse events when touch or pointer events are supported Mozilla issue 1: Enabling w3c_touch_events on desktop Firefox is causing major problems with ExtJS6 Mozilla issue 2 (older): ExtJS 6 not work on 52.0a2

This comment (on the Mozilla issue 2) suggests which setting of FireFox should be enabled in order to trigger the defect: comment 20

It is claimed ExtJS 6 does not work at all with Firefox on touch enabled devices with also mouse (a computer with touch screen might be it, for example). During tests on my workstation, windows 8.1, upgraded Firefox to 52, the dom.w3c_touch_events is different than 0 (it is 2) and the claimed behavior does not happen.

Also tried responsive design mode (on firebug) with touch emulation enabled as suggested by the comment right after comment 20 above, but couldn't reproduce the issue as well. The examples explorers seems to work fine no matter what, even though the claimed requirements are all met.

Firefox tested is Firefox 52.0 (32-bit).

fabriciomurta commented 7 years ago

Seems I cannot reproduce this here: http://examples4.ext.net/#/Buttons/Basic/Overview/

But I can reproduce the issue here: http://examples4.ext.net/#/Buttons/Basic/Overview/

So the bug does not affect Ext.NET 4.2.0.

fabriciomurta commented 7 years ago

The definitive way to make Firefox trigger the issue is:

fabriciomurta commented 7 years ago

The same issue can be reproduced in Chrome if we load the page in mobile emulation mode (making it detect as a touch-driven browser), and then switch off mobile emulation (without reloading the page).

Steps to reproduce in chrome:

  1. open chrome,
  2. load developer tools pane
  3. enable device emulation mode
  4. open the ExtJS/Ext.NET page
  5. clicks will work (cause chrome is sending touch events with mouse clicks)
  6. switch device emulation mode off
  7. mouse clicks won't trigger anymore

If at step 7 the page is refreshed, then it will work fine.

fabriciomurta commented 7 years ago

Update: Issue still open after ExtJS 6.5.0 release.

fabriciomurta commented 7 years ago

Update: Issue still open after ExtJS 6.5.1 release. Issue is acknowledged by Sencha under ID EXTJS-22720.

fabriciomurta commented 6 years ago

Update: Issue still open after ExtJS 6.5.2 release. Issue is acknowledged by Sencha under ID EXTJS-22720.

fabriciomurta commented 6 years ago

Update: Issue still open after ExtJS 6.5.3 release. Issue is acknowledged by Sencha under ID EXTJS-22720.

fabriciomurta commented 6 years ago

Update: Issue still open after ExtJS 6.6.0.258 release. Issue is acknowledged by Sencha under ID EXTJS-22720.

fabriciomurta commented 5 years ago

Update: Issue still open after ExtJS 6.7.0.161 release. Issue is acknowledged by Sencha under ID EXTJS-22720.

fabriciomurta commented 3 years ago

This issue has (very likely) been raised once again in this forum thread: Tablet with external keyboard (with touchpad).