Sidebar will not dock on my Mac

I am a Mac user with macOS Sequoia 15.6.1 and a LibreOffice Version 25.8.1.1 (AARCH64)
I have some how undocked the sidebar and now I can not get it to doc again.
I have read other post and tried there solutions and no luck.

Tom

The menu from the hamburger to dock it doesn’t work?
(Windows screenshot)

I tryed the dock button and it does not dock

Sometimes the problem is when there are several files open

  • Leave only a file open and try docking the sidebar

On a few occasions I have had to restart LibreOffice, open a single file and dock the sidebar.

If nothing else helps, try safe mode.

https://help.libreoffice.org/latest/en-US/text/shared/01/profile_safe_mode.html

If it works in safe mode there is the big gun: Reset (after backup) user profile.

https://wiki.documentfoundation.org/UserProfile

With only one file open and just opened it still did not dock.

BUT

When I restarted in safe mode it docked.
I then closed the program and restarted it again, and it was not docked but, I was now able to dock the sidebar.
What did I do or what happened to cause this to happened and if and when is that the only way to solve the problem.

So It happened again, the sidebar is undocked and will not dock again. I feel I should not have to keep going to safe mode to redock the sidebar.