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

When grading assignments unable to select annotation comment using the mouse

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Environment:

      1. It should be run in as many supported browsers as possible. At least:
        • Google Chrome 80.
        • MS Edge 44 (EdgeHTML 18).
        • Mozilla Firefox 74.
        • Internet Explorer 11
      2. Ghostscript. If it's not installed, you can execute the following commands from the console: 

        $ apt-get update
        $ apt-get install ghostscript

      Testing instructions:

      1. Login as admin.
      2. Access to "Site administration / Server / System paths", set "Path to ghostscript" to '/usr/bin/gs' or the corresponding to your environment and Save changes.
      3. Check a green check is displayed near the "Path to ghostscript" field.
      4. Access to "Site administration / Plugins / Activity modules / Assignment / Feedback plugins / Annotate PDF" and check "Annotate PDF" feedback plugin is enabled.
      5. Create two students.
      6. Create a course.
      7. Create an assignment with Annotate PDF feedback ticked.
      8. Enrol a student (yourself) into the course.
      9. Login as the student and submit submission.
      10. Login as a teacher and grade submission.
      11. Add a multiline annotation comment.
      12. With the `comments` tool selected, attempt to highlight the text in the annotation comment with a mouse.
      13. Confirm, that it highlights the text rather than dragging around the assignment.
      Show
      Environment: It should be run in as many supported browsers as possible. At least: Google Chrome 80. MS Edge 44 (EdgeHTML 18). Mozilla Firefox 74. Internet Explorer 11 Ghostscript. If it's not installed, you can execute the following commands from the console:  $ apt-get update $ apt-get install ghostscript Testing instructions: Login as admin. Access to "Site administration / Server / System paths", set " Path to ghostscript " to '/usr/bin/gs' or the corresponding to your environment and Save changes. Check  a green check is displayed near the "Path to ghostscript" field. Access to "Site administration / Plugins / Activity modules / Assignment / Feedback plugins / Annotate PDF" and check "Annotate PDF" feedback plugin is enabled. Create two students. Create a course. Create an assignment with Annotate PDF feedback ticked. Enrol a student (yourself) into the course. Login as the student and submit submission. Login as a teacher and grade submission. Add a multiline annotation comment. With the `comments` tool selected, attempt to highlight the text in the annotation comment with a mouse. Confirm , that it highlights the text rather than dragging around the assignment.
    • Affected Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE
    • Pull from Repository:
    • Pull 3.7 Branch:
      MOODLE_37_MDL-68223
    • Pull 3.8 Branch:
      MOODLE_38_MDL-68223
    • Pull Master Branch:
      master_MDL-68223

      Description

      Steps to replicate:

      • Install ghostscript
      • Set `pathtogs` (`/usr/bin/gs` on Ubuntu)
      • Enable Annotate PDF feedback plugin (`assignfeedback_editpdf | default`)
      • Create a course
      • Create an assignment with Annotate PDF feedback ticked
      • Enroll a student into the course
      • Login as the student and submit submission
      • Login as a teacher and grade submission
      • Add a multiline annotation comment
      • Attempt to highlight the text in the annotation comment with a mouse
      • It drags around the assignment rather than highlighting the text

       

      Browsers:

      • Google Chrome 80: It drags around the assignment rather than highlights the text.

      • MS Edge 44 (EdgeHTML 18):  It drags around the assignment, but once it reaches the scroll boundaries, it highlights the text.

      • Mozilla Firefox 74 : Same as for MS Edge.

      • Internet explorer 11: Can't be replicated due to MDL-65700. However, after applying this fix behaviour is the same as for MS Edge.

       

       

       

        Attachments

        1. Highlighting comment.jpg
          Highlighting comment.jpg
          187 kB
        2. Screenshot_1.png
          Screenshot_1.png
          94 kB
        3. Screenshot_2.png
          Screenshot_2.png
          108 kB

          Issue Links

            Activity

              People

              Assignee:
              mikhailgolenkov Mikhail Golenkov
              Reporter:
              mikhailgolenkov Mikhail Golenkov
              Peer reviewer:
              Dmitrii Metelkin
              Integrator:
              Sara Arjona (@sarjona)
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/May/20

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 15 minutes
                  3h 15m