Project

Profile

Help

Bug #3180

Documentation app navigation problems on computers with touch screens

Added by Debbie Lockett over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Documentation
Sprint/Milestone:
-
Start date:
2017-03-24
Due date:
% Done:

100%

Legacy ID:
Applies to branch:
9.7
Fix Committed on Branch:
9.7, trunk
Fixed in Maintenance Release:

Description

Click navigation between pages on the Saxon 9.7 documentation app (i.e. interactive XML documentation app using Saxon-CE) does not work on computers that have touch screens. Clicking links with mouse clicks will not work, but screen touches will work. The design of the app stylesheets assumes that only one of the events is possible: mouse clicks or touch events.

This is the same problem with the design of the app's stylesheets as noted (and fixed) for the the Saxon-JS documentation (https://saxonica.plan.io/issues/3036).

History

#1 Updated by Debbie Lockett over 2 years ago

  • Status changed from New to Resolved
  • Applies to branch 9.8 added
  • Fix Committed on Branch 9.7, 9.8 added

Updated the design of the documentation app, to remove the difference for touch and click events.

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. (I guess this was not the case previously, when the Saxon-CE documentation app was originally designed.)

Specifically, the use of the $usesclick variable defined in viewer_app/xsl/cetree.xsl has been removed, and the "ixsl:ontouchend" templates removed.

9.7 online documentation app updated. Changes committed for the 9.7 and 9.8 dev branches. (Perhaps the older 9.6, 9.5, and 9.4 documentation apps online should likewise be updated, but I have not done this at present.)

#2 Updated by O'Neil Delpratt over 2 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 9.7.0.18 added

Bug fix applied in the Saxon 9.7.0.18 maintenance release.

#3 Updated by O'Neil Delpratt about 2 years ago

  • Fix Committed on Branch trunk added
  • Fix Committed on Branch deleted (9.8)

#4 Updated by O'Neil Delpratt about 2 years ago

  • Applies to branch deleted (9.8)

Please register to edit this issue

Also available in: Atom PDF