Moodle
  1. Moodle
  2. MDL-32314

Course pages in moodle look different if anchor is added to the URL

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Not a bug
    • Affects Version/s: 2.2.2
    • Fix Version/s: STABLE backlog
    • Component/s: Themes
    • Labels:
    • Affected Branches:
      MOODLE_22_STABLE
    • Rank:
      39123

      Description

      This is a tricky bug that I verified in each three columns theme.
      Standard theme is affected by this issue too.

      The issue is this:
      Step 1: Go to a course page.
      Let's say in:
      http://qa.moodle.net/course/view.php?id=4
      (yes, you can get evidence of the issue qa.moodle.net too)

      Step 2: Open a new browser TAB (ctrl-t) and go to the URL
      http://qa.moodle.net/course/view.php?id=4#section-3
      Scroll the page at top.

      The html code is the same but the pages look different.
      To understand where the pages are different switch quickly between the first and the second browser TAB.
      As you can see the central column moves up in the TAB where the URL has the anchor.

      To see this issue better, switch to different three columns themes and perform the same test.

      Here are two more URL to let you better see this problem.
      http://qa.moodle.net/course/view.php?id=4&theme=boxxie
      http://qa.moodle.net/course/view.php?id=4&theme=boxxie#section-3

      http://qa.moodle.net/course/view.php?id=4&theme=formfactor
      http://qa.moodle.net/course/view.php?id=4&theme=formfactor#section-3

      1. with.png
        121 kB
      2. without.png
        103 kB

        Activity

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: