Try this:
Add an Expand macro to a page. Within that Expand, add a Code Block macro and select "Collapsible" in the object properties. Make sure you've got some text within and without both macros.
Here's what I've seen on two separate computers (both using Firefox but different OSs):
Select the link for the Expand macro, there's the content including a code block that simply shows a link for "Expand source"
Click Expand Source, now the entire Expand macro (not the code block macro!) collapses although the pointer next to the outer Expand macro now points down, indicating the expand is open.
Click the text for the Expand macro again, and the code block is now displayed correctly, although the expand macro position indicator toggles into the wrong position once more.
For extra fun, put multiple "collapsible = true" code blocks within your expand macro and try to view them all.
Dear @Mike Ely,
can you please provide following information to reproduce your finding:
Many Thanks
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @Mike Ely,
I reproduced it even with an older version of confluence and Chrome.
I will raise a bug at Atlassian for you (they will love me for that 8)
I report back.
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If satisfied, please accept this response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ugh, look how stale that bug is. Devops kids these days I tellya. They'd rather do "important" things like disable the ability to indent in the text editor than fix longstanding bugs. Argh...
Anyhow, thank you for digging in to this with me. Pity @atlassian hasn't paid it any mind.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Screenshot before expanding the Expand macro:
After I expand the Expand:
After I click "Expand source" (the code block briefly appears for less than a second and then vanishes):
Note the position indicator to the left of "Here's the outer..." - it's in the expanded position although the expand block is collapsed. Clicking the expand text again results in:
Again, note the position indicator next to the expand text - it's in the collapsed position although now both the expand macro and embedded code block are expanded (the code block correctly indicates its position btw).
I hope this helps you better understand what I'm talking about.
Cheers,
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, the first time I typed the above reply with screenshots (took about fifteen minutes including screenshots, I got this utterly maddening error:
And yes, that did delete all my input and I did have to re-upload all the screenshots. Considering Atlassian builds webapps as a core competency, this is inexcusable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @Mike Ely,
yes, this has happened to me also a couple of times. But I am the wrong person to tell. I belong to a community of volunteer answering user questions. You have to address this with the session expiration to Atlassian directly.
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.