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

Drag & drop marker question: newly added circle drop-zone overlaps the image boundary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6.3
    • Fix Version/s: 3.6.5, 3.7.1
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide
      1. Go to the Question bank
      2. Press the "Create a new question ..." button
      3. From the "Choose a question to add" popup choose Drag and drop marker and press Add button 
      4. Populate Question name and question text fields
      5. Upload an image for the background.
      6. Add three Markers (e.g. 'a', 'b', 'c')
      7. Set the first drop-zone to be a Circle.
      8. Verify in the preview display, the newly added circle is inside the boundary of the image.
      9. Also test setting drop-zones 2 and 3 to be a rectangle and a polygon, and that that works OK. This has not changed, but good to guard against regressions.
      Show
      Go to the Question bank Press the "Create a new question ..." button From the "Choose a question to add" popup choose Drag and drop marker and press Add button  Populate Question name and question text fields Upload an image for the background. Add three Markers (e.g. 'a', 'b', 'c') Set the first drop-zone to be a Circle. Verify in the preview display, the newly added circle is inside the boundary of the image. Also test setting drop-zones 2 and 3 to be a rectangle and a polygon, and that that works OK. This has not changed, but good to guard against regressions.
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      1. Create a Drag and Drop Marker question in Moodle Quiz.
      2. Upload an image for the background.
      3. Add three Markers (a/b/c etc).
      4. Create three or more drop zone shapes, such as a polygon, a rectangle, and a circle.

      While the first shape seems to be indented slightly, the circle seem to be placed with its middle in the top-left corner, rather than being indented like the other shapes.

      This makes it hard to see and fetch the circle out from the corner. It is easy to adjust the co-ordinates to pull the shape out, but it shouldn't be this difficult to use the mouse on them.

      The placement for the circle should be indented like the other shapes (and work with the circles' edge, rather than its middle). Default co-ordinates of 15,15,15 would work.

      Screenshot image replaced with a CC one not from university learning material (example image: Lipe Farm, Delphinium1, https://en.wikipedia.org/wiki/File:Barn_on_Lipe_Farm.jpg)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/Jul/19

                Time Tracking

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