Bug #3036
closedSaxon-JS documentation app problems in Chrome on computers with touch screens
100%
Description
As reported by a user, the Saxon-JS documentation app at http://www.saxonica.com/saxon-js/documentation/ does not work in the Windows 32-bit version of Chrome.
It seems to load (to the initial 'About Saxon-JS' page), but then is unusable. Clicking on the page navigation links does nothing.
There is no issue with the 64-bit version of Chrome (on Windows, and Mac).
Updated by Debbie Lockett almost 8 years ago
- Subject changed from Saxon-JS documentation app not working with the Windows 32-bit version of Chrome to Saxon-JS documentation app problems in Chrome on computers with touch screens
- Status changed from New to In Progress
Further investigations have revealed that the problem occurs on computers which have touch screens. In the Chrome browser, the documentation app navigation does not work with mouse clicks, but does work with touch events. So the problem is in the design of the event handling in the documentation app.
The documentation app affectively assumes that if touch events are possible, then mouse clicks are not. Clearly this needs updating since there are devices that allow both.
Updated by Debbie Lockett over 7 years ago
- Status changed from In Progress to Resolved
I have updated the design of the documentation app, to remove the difference for touch and click events, so it should now be working without problems for devices which allow both.
The previous app design assumed that devices only used one or the other type of event, with separate (but very similar) event handling templates for the different cases (with mode="ixsl:onclick" and mode="ixsl:ontouchend"). The "onclick" templates were then disabled for a device which allowed touches.
In the redesign, we no longer need separate templates specifically for touch events. It is now standard for touch events to trigger click events (if they are not cancelled during an interaction, e.g. by moving the touch), so the click event handling templates are sufficient. (Perhaps this was not the case previously, when the Saxon-CE documentation app was originally designed; which was used as the basis for the Saxon-JS documentation.)
This has also improved the usability of the documentation app on touch devices in general - previously, scrolling the navigation menu would also trigger a page navigation (from the 'touch point'), but now this doesn't happen.
Updated by Debbie Lockett over 7 years ago
- Applies to JS Branch 0.9, 1.0 added
- Fix Committed on JS Branch 1.0 added
Updated by Debbie Lockett over 7 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in JS Release set to Saxon-JS 1.0.1
Bug fix applied in Saxon-JS 1.0.1 maintenance release.
Please register to edit this issue
Also available in: Atom PDF Tracking page