mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #36638
[Bug 1603825] Re: "Collapsible" block setting doesn't work if block has no title.
I would disable the collapsible options / display a warning when
changing them when the block doesn't have a title as there is not really
any place to put the collapsible icon. It would look out of place
without a title.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1603825
Title:
"Collapsible" block setting doesn't work if block has no title.
Status in Mahara:
Confirmed
Bug description:
See https://mahara.org/interaction/forum/topic.php?id=7664
If a block has no title, it can't be collapsed. That is, if you set
the "Collapsible" setting to "Yes", the block can't be toggled because
there's no title bar to click on. Moreover, if you set the block to
"Already collapsed", it won't be displayed as collapsed, or
collapsible.
This behavior is present at least as far back as Mahara 1.7. I've
found this behavior in the Text and Image blocks, but I haven't tested
it across all of them so I don't know whether it's part of the
implementation of particular blocks, or if it's in the block library
code.
To replicate:
1. Put a text block on a page.
2. Delete the block's title.
3. Give the block some text.
4. Set the block's "Collapsible" setting to "Already collapsed"
5. View the page in display mode.
Expected result: The block is collapsed, and can be toggled between expanded/collapsed.
Actual result: The block is expanded, and there is no collapse/expand toggle to click on.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1603825/+subscriptions
References