Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38347

Left and right arrows for calendar not showing up on Android

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      In all supported browsers view a page with a calendar block and check the icons for the next/previous month are shown correctly.
      Ensure you test under Windows, Linux and OSX.

      Show
      In all supported browsers view a page with a calendar block and check the icons for the next/previous month are shown correctly. Ensure you test under Windows, Linux and OSX.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-38347-master
    • Story Points:
      3
    • Sprint:
      FRONTEND Sprint 1

      Description

      The default left and right triangle icons (as used in the calender block to move to the previous or next month and as a seperator in the breadcrumb trail) have issues on Android.

      On Android 4.0 up, the font is called Roboto. It seems to not have the left pointing version.

      I've not seen it myself but I've had reports that 2.3 devices (which use a font called Droid Sans) are missing both versions.

      Here's a list of the geometric shapes available in Unicode:

      http://www.alanwood.net/unicode/geometric_shapes.html

      We currently use:

      25BA BLACK RIGHT-POINTING POINTER
      25C4 BLACK LEFT-POINTING POINTER

      I believe these particular shapes may have been originally chosen to ensure they displayed on IE6/XP (IE6 has issues where it didn't fall back if the first chosen font didn't contain the character, proper browsers continue to search through all your fonts).

      Perhaps a different triangle shape could be used? Though testing that it works on everything else could be a pain.

      Longer term these could be provided by an icon font or SVG icons.

      I'm marking this as RTL-related as I assume the left facing one is used more in those situations, and at least on Android 4.0 that seems to be the main issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                phalacee Jason Fowler
                Reporter:
                bawjaws David Scotson
                Peer reviewer:
                Damyon Wiese
                Integrator:
                Sam Hemelryk
                Tester:
                Michael de Raadt
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, cameron1729, David Mudrák (@mudrd8mz), Helen Foster, Bas Brands, Amaia Anabitarte, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Barbara Ramiro, Jake Dallimore, Jun Pataleta, Ryan Wyllie
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  8/Jul/13