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

Clicking on forum post's permalink shows an out-of-bounds selection box

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.7
    • 3.7
    • Forum
    • MOODLE_37_STABLE
    • MOODLE_37_STABLE
    • MDL-65577-master
    • Hide

      Test

      1. Log in as admin
      2. Create a course with a forum activity
      3. Create a discussion in the forum activity
      4. Add a lot of replies to the discussion, enough that they won't all fit on one page (you can shrink the size of the browser window if you like)
      5. View the discussion in "Display replies in nested forum" mode
      6. Click the "Permalink" link on the second post
      7. CONFIRM that the browser window scrolls the selected post to the top of the screen but not under the nav bar
      8. CONFIRM that the focus outline is neatly around the post and there is no large space between the top of the post and the outline (e.g. like the attached screenshot-1.png)
      9. Use either the tab key or the up/down arrows to move focus between the posts
      10. CONFIRM that the focus outline neatly wraps the post (as described in step 8)
      11. Repeat steps 9 and 10 for the other discussion display modes except for the threaded display mode

      Example expected display

      Nested view

      Bonus
      1. Test on supported browsers and on theme_classic too.
      Show
      Test Log in as admin Create a course with a forum activity Create a discussion in the forum activity Add a lot of replies to the discussion, enough that they won't all fit on one page (you can shrink the size of the browser window if you like) View the discussion in "Display replies in nested forum" mode Click the "Permalink" link on the second post CONFIRM that the browser window scrolls the selected post to the top of the screen but not under the nav bar CONFIRM that the focus outline is neatly around the post and there is no large space between the top of the post and the outline (e.g. like the attached screenshot-1.png) Use either the tab key or the up/down arrows to move focus between the posts CONFIRM that the focus outline neatly wraps the post (as described in step 8) Repeat steps 9 and 10 for the other discussion display modes except for the threaded display mode Example expected display Nested view Bonus Test on supported browsers and on theme_classic too.

    Description

      1. Create a forum discussion post.
      2. Click on the permalink.
      3. Check the selection box
      4. Expected: The selection box should only cover the post.
      5. Actual: It is oversized and overlaps with the other forum posts.

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          36 kB
        2. nested_view.png
          nested_view.png
          384 kB
        3. Screenshot_1.png
          Screenshot_1.png
          196 kB
        4. Screenshot_2.png
          Screenshot_2.png
          97 kB

        Issue Links

          Activity

            People

              ryanwyllie Ryan Wyllie
              jpataleta Jun Pataleta
              Simey Lameze Simey Lameze
              Jun Pataleta Jun Pataleta
              Janelle Barcega Janelle Barcega
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                20/May/19

                Time Tracking

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