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

Resizing glitch when displaying a new H5P package should be avoided

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Login as admin and create an H5P activity in a course using: documentation-tool-3022.h5p
      2. Access the activity to deploy the content a validate it opens.
      3. Check that after refreshing several times the page the glitch does not happen (or only happens if the instance is overloaded).
      4. Go to Site administration -> H5P -> Manage H5P content types and ensure "Find the Hotspot" is not present in the installed H5P content types
        1. If "Find the Hotspot" is present, detele it with the "delete version" icon.
      5. Login as a teacher and create a H5P activity using find-the-hotspot-3024.h5p
      6. Access the activity
      7. Check the content cannot deploy and the error message is visible.
      Show
      Login as admin and create an H5P activity in a course using:  documentation-tool-3022.h5p Access the activity to deploy the content a validate it opens. Check that after refreshing several times the page the glitch does not happen (or only happens if the instance is overloaded). Go to Site administration -> H5P -> Manage H5P content types and ensure "Find the Hotspot" is not present in the installed H5P content types If "Find the Hotspot" is present, detele it with the "delete version" icon. Login as a teacher and create a H5P activity using  find-the-hotspot-3024.h5p Access the activity Check  the content cannot deploy and the error message is visible.
    • Affected Branches:
      MOODLE_310_STABLE
    • Fixed Branches:
      MOODLE_311_STABLE
    • Pull 3.11 Branch:
      MDL-70634-311
    • Pull Master Branch:
      MDL-70634-master
    • Sprint:
      Moppies Kanban

      Description

      When rendering a new package, it seems that the iframe is not resized to full screen until the package is fully loaded and displayed.

      The H5P plugin activity display the iframe using the whole screen since the beginning so it drastically reduce the "resizing glitch effect"

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tusefomal Ferran Recio
              Reporter:
              jleyva Juan Leyva
              Peer reviewer:
              Carlos Escobedo Carlos Escobedo
              Integrator:
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Tester:
              Janelle Barcega Janelle Barcega
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/21

                  Time Tracking

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