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

If a section is larger than the visible page area and ajax is turned on the section can no longer be moved to a new position

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Test 1 - a section with lots of activities resources

      Pre-requisites:

      • Any course in Moodle.
      • Ajax is turned on.

      Test steps:

      1. Navigate to the course page and turn editing on.
      2. Load up a section with enough resources so that the section is longer than the page.
      3. Drag the section to a new position.
      4. Drag activities/resources from the section to another section.

      Make sure that:

      • Sections can be moved to new positions.
      • Activities/resources can be moved to new sections.
      • Blocks can be moved to a new position currently off screen

      Test 2 - A user with a visual impairment

      Pre-requisites:

      • Any course in Moodle.
      • Ajax is turned on.
      • Zoom in on the browser window so that the text and other page items are Huuuuuge! Trust me a visually impaired software tester that I know actually works lie this.

      Test steps:

      1. Navigate to the course page and turn editing on.
      2. Load up a section with enough resources so that the section is longer than the page.
      3. Drag the section to a new position.
      4. Drag activities/resources from the section to another section.

      Make sure that:

      • Sections can be moved to new positions.
      • Activities/resources can be moved to new sections.
      • Blocks can be moved to a new position currently off screen
      Show
      Test 1 - a section with lots of activities resources Pre-requisites: Any course in Moodle. Ajax is turned on. Test steps: Navigate to the course page and turn editing on. Load up a section with enough resources so that the section is longer than the page. Drag the section to a new position. Drag activities/resources from the section to another section. Make sure that: Sections can be moved to new positions. Activities/resources can be moved to new sections. Blocks can be moved to a new position currently off screen Test 2 - A user with a visual impairment Pre-requisites: Any course in Moodle. Ajax is turned on. Zoom in on the browser window so that the text and other page items are Huuuuuge! Trust me a visually impaired software tester that I know actually works lie this. Test steps: Navigate to the course page and turn editing on. Load up a section with enough resources so that the section is longer than the page. Drag the section to a new position. Drag activities/resources from the section to another section. Make sure that: Sections can be moved to new positions. Activities/resources can be moved to new sections. Blocks can be moved to a new position currently off screen
    • Workaround:
      Hide

      use mousewheel to scroll up while dragging.

      Show
      use mousewheel to scroll up while dragging.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-33926-master-1

      Description

      With the implementation of drag and drop on the course page, if a section is bigger than the viewable area on the page, it cannot be moved to a new position and items in the section cannot be moved to new sections either. This is because when you try to drag the section, the page won't scroll.

      To work around this situation the user would have to turn off Ajax in site administration (for the whole site) which only the admin user can do. A typical course content creator such as a teacher or manager cannot do this.

      Potential impact:

      • This could have implications for accessibility, where the course creator has problems with their vision requiring large fonts etc.
      • Frustration for anyone who has a course with lots on resources in sections (probably in topic format).

      Proposed solution:

      1. Find a way of making the page scroll when you drag.
        or
      2. Re-implement the old arrow controls (or equivalent) that move a section when ajax is turned on.

      To recreate:

      Test 1 - a section with lots of activities resources

      Pre-requisites:

      • Any course in Moodle.
      • Ajax is turned on.

      Test steps:

      1. Navigate to the course page and turn editing on.
      2. Load up a section with enough resources so that the section is longer than the page.
      3. Drag the section to a new position.
      4. Drag activities/resources from the section to another section.

      Expected results:

      • Sections can be moved to new positions.
      • Activities/resources can be moved to new sections.

      Actual results:

      • Sections cannot be moved to new positions.
      • Activities cannot be moved to other sections.

      Test 2 - A user with a visual impairment

      Pre-requisites:

      • Any course in Moodle.
      • Ajax is turned on.
      • Zoom in on the browser window so that the text and other page items are Huuuuuge! Trust me a visually impaired software tester that I know actually works lie this.

      Test steps:

      1. Navigate to the course page and turn editing on.
      2. Load up a section with enough resources so that the section is longer than the page.
      3. Drag the section to a new position.
      4. Drag activities/resources from the section to another section.

      Expected results:

      • Sections can be moved to new positions.
      • Activities/resources can be moved to new sections.

      Actual results:

      • Sections cannot be moved to new positions.
      • Activities cannot be moved to other sections.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Nicols
              Reporter:
              timb Tim Barker
              Peer reviewer:
              Ruslan Kabalin
              Integrator:
              Aparup Banerjee
              Tester:
              Tim Barker
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Barbara Ramiro, Bas Brands
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                25/Jun/12