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

Drag-drop into text: minor glitches caused by MDL-68113

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.9
    • Fix Version/s: 3.9
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide

      Set up

      1. Log in as teacher or admin.
      2. Create a test course (or use an existing one)
      3. Create a Drag and drop into text question in the question bank. (https://docs.moodle.org/38/en/Drag_and_drop_into_text_question_type)

      Testing

      1. In the question bank, for the created question, click 'Edit -> Preview'.
      2. Preview the question.
      3. Use Tab key to select a drop.
      4. Press the Right arrow key repeatly.
      5. Verify that all the drags and drops still visible on the page.
      6. Press the Left arrow key repeatly.
      7. Verify that all the drags and drops still visible on the page.
      8. Verify the old item will animate to the home area, and the new one will animate to the drop.
      Show
      Set up Log in as teacher or admin. Create a test course (or use an existing one) Create a Drag and drop into text question in the question bank. ( https://docs.moodle.org/38/en/Drag_and_drop_into_text_question_type ) Testing In the question bank, for the created question, click 'Edit -> Preview'. Preview the question. Use Tab key to select a drop. Press the Right arrow key repeatly. Verify that all the drags and drops still visible on the page. Press the Left arrow key repeatly. Verify that all the drags and drops still visible on the page. Verify the old item will animate to the home area, and the new one will animate to the drop.
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Since MDL-68113 was done, there are some issues: (there is a useful big-drag-drop-question.xml attached to that issue, wich you can use to test this).

      1. If you answer the question using the keyboard (Tab to a drop-zone, and use the arrow keys to cycle through the choices), then if you press left-arrow repeatedly to go thorugh the choices in reverse order, then sometimes the drop boxes disappear.
      2. If you press either arrow key very fast, things break (keyboard focus goes away, and the drop box disappears.)
      3. Also, when changing items with the keyboard, as well as the old item animating smoothly back to where it came from (which works) the new item should animate smootly into place too (which is not happening). We can live without this last point, but it is nicer if it can work.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              HuongNV Huong Nguyen
              Reporter:
              timhunt Tim Hunt
              Peer reviewer:
              Tim Hunt
              Integrator:
              Andrew Nicols
              Tester:
              Anna Carissa Sadia
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Jun/20

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 40 minutes
                  40m