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

Accidentally dragging a link within Moodle on a course page with editing mode results in a modal window

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.9.2
    • None
    • Accessibility, Course, Usability
    • None
    • MOODLE_39_STABLE

    Description

      Steps to reproduce:

      • Login as admin
      • Enable the experimental setting $CFG->dndallowtextandlinks
      • Login as teacher
      • Go to a course
      • Enable editing mode
      • Add an arbitrary activity to the course
      • Go to the course main page again
      • Open the Edit menu of the created activity
      • Put the mouse button down on the "Edit settings" menu item, move the mouse pointer at least 1 pixel, release the mouse button - just like you would click the icon and would move the mouse minimally during the blick by accident

      Expected behaviour:

      • Although the menu item was, technically, dragged and not clicked, the edit page is shown

      Actual behaviour:

      • As the menu item was technically dragged and as there is the feature to drag links to the course page, a modal window asking "What do you want to call this link?" will appear
      • The user, most probably not knowing this DnD feature, is confused.

      Possible solutions:

      • Trigger the DnD feature only after the mouse pointer has been dragged for more than a reasonable threshold (say 30 pixels)
      • Trigger the DnD feature only if the source of the drag operation came from outside the Moodle browser tab, i.e. from a different tab or another application or the operating system environment

      Attachments

        Activity

          People

            Unassigned Unassigned
            abias Alexander Bias
            Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona), Huong Nguyen, Barbara Ramiro, Bas Brands, Mathew May, David Woloszyn, Jake Dallimore, Michael Hawkins, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: