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

Hidden blocks can not be unhidden

XMLWordPrintable

    • MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • MOODLE_35_STABLE, MOODLE_36_STABLE
    • MDL-65581-master
    • Hide

      Testing in Moodle 3.7:

      Moodle 3.7,  theme Boost

      • Login as any user
      • Navigate to your dashboard
      • Click the "Customise this page" button
      • Click the "Add a block" button
      • Choose a block, for example the Tags block
      • On the newly added block click the gear icon in the top right
      • Click hide block
      • Verify the block content is completely hidden, the block should still be visible
      • Verify the block heading text is a lighter grey

      Moodle 3.7,  theme Classic

      • Login as any user
      • Navigate to your dashboard
      • Click the "Customise this page" button
      • Select a block from the "Add a block" Selector
      • Choose a block, for example the Tags block
      • On the newly added block click the gear icon in the top right
      • Click hide block
      • Verify the block content is completely hidden, the block should still be visible
      • Verify the block heading text is a lighter grey

      Moodle 3.6 and 3.5, Theme Clean

      • Login as any user
      • Navigate to your dashboard
      • Click the "Customise this page" button
      • Select a block from the "Add a block" Selector
      • Choose a block, for example the Tags block
      • On the newly added block click the gear icon in the top right
      • Click hide block
      • Verify the block content is completely hidden, the block should still be visible
      • Verify the block heading text is a lighter grey
      Show
      Testing in Moodle 3.7: Moodle 3.7,  theme Boost Login as any user Navigate to your dashboard Click the "Customise this page" button Click the "Add a block" button Choose a block, for example the Tags block On the newly added block click the gear icon in the top right Click hide block Verify  the block content is completely hidden, the block should still be visible Verify  the block heading text is a lighter grey Moodle 3.7,  theme Classic Login as any user Navigate to your dashboard Click the "Customise this page" button Select a block from the "Add a block" Selector Choose a block, for example the Tags block On the newly added block click the gear icon in the top right Click hide block Verify  the block content is completely hidden, the block should still be visible Verify  the block heading text is a lighter grey Moodle 3.6 and 3.5, Theme Clean Login as any user Navigate to your dashboard Click the "Customise this page" button Select a block from the "Add a block" Selector Choose a block, for example the Tags block On the newly added block click the gear icon in the top right Click hide block Verify  the block content is completely hidden, the block should still be visible Verify  the block heading text is a lighter grey

      In MDL-58314 the block renderer was changed to allow custom css classes inserted in the block template.

      As a result, hidden blocks are using the 'invisible' class added in blocks/moodleblock.class.php

      In Bootstrap 4 the .invisible class completely hides an element.

      • To reproduce:
      • navigate to your dashboard
      • Click the customise this page button
      • Add a block (any type will do)
      • Click the gear icon on the new block
      • Observe the block disappearing. You will see an empty space where the block was added

            basbrands Bas Brands
            basbrands Bas Brands
            Carlos Escobedo Carlos Escobedo
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Janelle Barcega Janelle Barcega
            Votes:
            2 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 - 5 hours, 21 minutes
                5h 21m

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