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

Intermittent positioning issue in drag-drop questions when reviewing in Chrome

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.3
    • 3.0.2
    • Questions
    • MOODLE_30_STABLE
    • MOODLE_30_STABLE
    • Hide

      This but was very hard to reproduce. I suggest you try to reproduce it before you try to test the fix.

      1. You must be using Chrome for this.
      2. It is probably easier to reproduce if you are using a test server across a network, not a localhost install.
      3. Create a quiz and add many (10) drag-drop into text question. (Make one, duplicate several times with small edits.)
      4. Attempt the quiz, answering the questions, then submit.
      5. On the review page, ensure that all the drag items are displayed correctly positioned. (With the bug, sometimes they appeared in the wrong position vertically, but the right horizontal position - see screen grab.)
      6. Reload the review page several times, bother with F5, and also by clicking in the URL bar and pressing enter. After each reload, verify the drag items are correctly positioned.
      7. Check in the JavaScript console to verify there are no errors.
      Show
      This but was very hard to reproduce. I suggest you try to reproduce it before you try to test the fix. You must be using Chrome for this. It is probably easier to reproduce if you are using a test server across a network, not a localhost install. Create a quiz and add many (10) drag-drop into text question. (Make one, duplicate several times with small edits.) Attempt the quiz, answering the questions, then submit. On the review page, ensure that all the drag items are displayed correctly positioned. (With the bug, sometimes they appeared in the wrong position vertically, but the right horizontal position - see screen grab.) Reload the review page several times, bother with F5, and also by clicking in the URL bar and pressing enter. After each reload, verify the drag items are correctly positioned. Check in the JavaScript console to verify there are no errors.

      This is a follow-up to MDL-52365. That stopped the continual re-positioning of drag items in review mode, to improve performance.

      Unfortunately, when the quiz review page is slow to load, the page layout can still be changing after the drag items are positioned, and then they end up in the wrong place.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Mahmoud Kassaei Mahmoud Kassaei
            David Monllaó David Monllaó
            Ryan Wyllie Ryan Wyllie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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