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

Ajax dragging not working (fails to 'pick up')

    Details

    • Testing Instructions:
      Hide

      Using Chrome, you will need to open the developer tools, hit F1, and open the 'overrides' section on the left.
      Enable the tools, and then find the 'Emulate touch events' option. You'll be toggling this during testing. Most browsers do not support this.

      Note, with this setting on you'll get a dark circle instead of a cursor.
      Note, you must have the devtools open in order for the setting to take effect.

      You can also test using a device supporting both gesture and mouse interaction, but instead of turning off touch event emulation, you'll have to disable the windows service for touch.

      I would really advise trying this against current stable first so that you can understand what the failure state looks like.

      • Open a course
      • Turn editing on
      • With the 'Emulate touch events' option UNTICKED
      • Refresh the page
        • Confirm that you can move sections, resources, and blocks within the page
      • TICK the 'Emulate touch events' option
      • Refresh the page
        • Confirm that you can move sections, resources, and blocks within the page
      • UNTICK the 'Emulate touch events' option but DO NOT refresh the page
        • Confirm that you can move sections, resources, and blocks within the page

      Note: it is not expected to work if you turn the touch event emulation on after loading the page as gesture detection is only done at page load.

      Show
      Using Chrome , you will need to open the developer tools, hit F1, and open the 'overrides' section on the left. Enable the tools, and then find the 'Emulate touch events' option. You'll be toggling this during testing. Most browsers do not support this. Note , with this setting on you'll get a dark circle instead of a cursor. Note , you must have the devtools open in order for the setting to take effect. You can also test using a device supporting both gesture and mouse interaction, but instead of turning off touch event emulation, you'll have to disable the windows service for touch. I would really advise trying this against current stable first so that you can understand what the failure state looks like. Open a course Turn editing on With the 'Emulate touch events' option UNTICKED Refresh the page Confirm that you can move sections, resources, and blocks within the page TICK the 'Emulate touch events' option Refresh the page Confirm that you can move sections, resources, and blocks within the page UNTICK the 'Emulate touch events' option but DO NOT refresh the page Confirm that you can move sections, resources, and blocks within the page Note : it is not expected to work if you turn the touch event emulation on after loading the page as gesture detection is only done at page load.
    • Difficulty:
      Difficult
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Story Points (Obsolete):
      13
    • Sprint:
      FRONTEND Sprint 6

      Description

      in Moodle versions 2.4.x there are numerous reports that Ajax drag and drop isn't working for moving blocks on the course page and the quiz module. This seems to affect latest versions of Firefox, Chrome and IE and occurs in multiple themes.

      When attempting to move sections using the Maltese cross section dragger, Chrome and Firefox will both display a page with the icon image.

      Drag and drop of files does seem to work.

      Clarification:
      This particular bug is about dragging (blocks/activities/sections) failing to 'pick up' the desired object. It will either do a selection, or pickup the move image itself.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Nov/13