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

When grading assignments unable to select annotation comment using the mouse

XMLWordPrintable

    • MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_37_STABLE, MOODLE_38_STABLE
    • master_MDL-68223
    • 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.

      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.

       

       

       

        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

            mikhailgolenkov Misha Golenkov
            mikhailgolenkov Misha Golenkov
            Dmitrii Metelkin Dmitrii Metelkin
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Janelle Barcega Janelle Barcega
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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