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

    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • MDL-33926-master-1
    • Hide

      use mousewheel to scroll up while dragging.

      Show
      use mousewheel to scroll up while dragging.
    • 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

    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

              dobedobedoh Andrew Lyons
              timb Tim Barker
              Ruslan Kabalin Ruslan Kabalin
              Aparup Banerjee Aparup Banerjee
              Tim Barker Tim Barker
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona), David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Huong Nguyen, Barbara Ramiro, Bas Brands, Mathew May, David Woloszyn, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                25/Jun/12