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

Viewing annotated PDF as a student is buggy

    XMLWordPrintable

Details

    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • MDL-74383-311
    • MDL-74383-master
    • Hide
      1. Login as admin.
      2. Create a course.
      3. Enrol a student in the course.
      4. Create an assignment activity in the course with file submissions enabled.
      5. Login as the enrolled student.
      6. Go to the assignment in the course and add a PDF file submission.
      7. Login as a admin
      8. Go to the assignment activity in the course and click on the 'Grade' button.
      9. In the assignment grader page, navigate to the student which made the submission.
      10. Annotate the submission with several comments and save the changes.
      11. In the browser navigation bar, modify the url by changing the value of the action parameter from 'grader' to 'grade' and navigate to this page.
      12. In the Grade page
        1. confirm that the "Launch PDF editor..." link element has the default link styling (blue color).
      13. Login as a student and go to the assignment page.
        1. confirm that the "View annotated PDF..." link element has the default link styling (blue color).
      14. Click on the "View annotated PDF" to open the online viewer
      15. In the online viewer modal
        1. confirm that comments are expanded briefly on mouseover and collapse again on mouseout.
        2. confirm that comments are expanded on click for as long as they have focus.
        3. confirm that comments collapse again on losing focus.
      16. Click on the 'Search comments' button in the online viewer
        1. confirm that the header text in the search modal window is 'Search comments'.
      Show
      Login as admin. Create a course. Enrol a student in the course. Create an assignment activity in the course with file submissions enabled. Login as the enrolled student. Go to the assignment in the course and add a PDF file submission. Login as a admin Go to the assignment activity in the course and click on the 'Grade' button. In the assignment grader page, navigate to the student which made the submission. Annotate the submission with several comments and save the changes. In the browser navigation bar, modify the url by changing the value of the action parameter from ' grader ' to ' grade ' and navigate to this page. In the Grade page confirm that the   "Launch PDF editor..." link element has the default link styling (blue color). Login as a student and go to the assignment page. confirm that the   "View annotated PDF..." link element has the default link styling (blue color). Click on the "View annotated PDF" to open the online viewer In the online viewer modal confirm that comments are expanded briefly on mouseover and collapse again on mouseout. confirm that comments are expanded on click for as long as they have focus. confirm that comments collapse again on losing focus. Click on the 'Search comments' button in the online viewer confirm that the header text in the search modal window is 'Search comments'.
    • 1
    • QA time 2

    Description

      Some undesirable behavior was identified in https://tracker.moodle.org/browse/MDLQA-16557 when viewing an annotated PDF as a student.
      Steps to replicate these issues:

      1. Login as a teacher
      2. Go to a course and create an assignment with file submissions enabled.
      3. Login as a student
      4. Go to the assignment in the course and submit a PDF file.
      5. Login as a teacher and annotate the submission with several comments.
      6. Login as a student and go to the assignment page.
        1. The styling of link to the online viewer ("View annotated PDF...") in the feedback section should be improved as it currently looks more like a static text rather than a link.
      7. Click on the "View annotated PDF" to open the online viewer
        1. In the online viewer the annotated comments are expanded on mouseover or click but the are not collapsed on mouseout or on losing focus
      8. Click on the 'Search comments' button in the online viewer
        1. The header text in the search comments modal is buggy (H5#moodle-dialogue-yui_3_17_2_1_1648718060373_521-wrap-header-text...)

      Attachments

        Issue Links

          Activity

            People

              Geshoski Mihail Geshoski
              Geshoski Mihail Geshoski
              Peter Dias Peter Dias
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Gladys Basiana Gladys Basiana
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/May/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours, 40 minutes
                  5h 40m