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

Drag-drop-into-text question type draggable items may become mispositioned

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.6.4
    • 3.6.3
    • Quiz
    • MOODLE_36_STABLE
    • MOODLE_36_STABLE
    • MDL-65445-qtype_ddwtos
    • Hide

      Note: Test on various supported browsers.

      1. Create a quiz with a 'drag and drop into text' question that has placeholders which will change location due to wrapping when the Boost drawer is shown/hidden.
      2. Start an attempt at the quiz.
        1. Verify that everything is correctly positioned in all questions.
      3. Press F5 to reload the page.
        1. Verify that everything is correctly positioned in all questions.
      4. Partially answer some of the questions.
      5. Expand/collapse the Boost drawer.
        1. Verify that everything is correctly positioned in all questions.
      6. Submit the quiz attempt.
      7. On the review page, expand/collapse the Boost drawer.
        1. Verify that everything is correctly positioned in all questions.
      Show
      Note: Test on various supported browsers. Create a quiz with a ' drag and drop into text ' question that has placeholders which will change location due to wrapping when the Boost drawer is shown/hidden. Start an attempt at the quiz. Verify that everything is correctly positioned in all questions. Press F5 to reload the page. Verify that everything is correctly positioned in all questions. Partially answer some of the questions. Expand/collapse the Boost drawer. Verify that everything is correctly positioned in all questions. Submit the quiz attempt. On the review page, expand/collapse the Boost drawer. Verify that everything is correctly positioned in all questions.

      Like was observed and fixed in MDL-64393 for drag-drop-onto-images, if the drop targets of the text-based question type move, the draggable items become wrongly located. Compare the attached screenshots.

        1. after-hidden-drawer.png
          after-hidden-drawer.png
          171 kB
        2. before-with-drawer.png
          before-with-drawer.png
          216 kB
        3. screenshot-1.png
          screenshot-1.png
          276 kB

            jonof Jonathon Fowler
            jonof Jonathon Fowler
            Tim Hunt Tim Hunt
            Jun Pataleta Jun Pataleta
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 45 minutes
                1h 45m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.