Toggle Details Button doesn't hide details once used with Guest user #1176

Closed
opened 2026-02-05 00:09:15 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Bolthier on GitHub (May 7, 2019).

Describe the bug
The Toggle Details Button doesn't work as intended for the Guest user. While the system is saving the preference in the cookies it doesn't save the undoing of it. Once details are enabled they stay visible for the Guest until the client browser clears its cookies or the user logs in and off.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Start a fresh browser session through a private tab.
  2. Click on Toggle Details
  3. Click on Toggle Details again so details should be hidden now again.
  4. Reload the page.
  5. Details on the sidebar are shown again.

Expected behavior
Toggle button should remember last setting with Guest user after using it a second time.

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): BookStack v0.26.0
  • PHP Version: 7.2.10
  • Hosting Method (Nginx/Apache/Docker): Apache 2
Originally created by @Bolthier on GitHub (May 7, 2019). **Describe the bug** The Toggle Details Button doesn't work as intended for the Guest user. While the system is saving the preference in the cookies it doesn't save the undoing of it. Once details are enabled they stay visible for the Guest until the client browser clears its cookies or the user logs in and off. **Steps To Reproduce** Steps to reproduce the behavior: 1. Start a fresh browser session through a private tab. 2. Click on Toggle Details 3. Click on Toggle Details again so details should be hidden now again. 4. Reload the page. 5. Details on the sidebar are shown again. **Expected behavior** Toggle button should remember last setting with Guest user after using it a second time. **Your Configuration (please complete the following information):** - Exact BookStack Version (Found in settings): BookStack v0.26.0 - PHP Version: 7.2.10 - Hosting Method (Nginx/Apache/Docker): Apache 2
OVERLORD added the 🐛 Bug🏭 Back-End labels 2026-02-05 00:09:15 +03:00
Author
Owner

@ssddanbrown commented on GitHub (May 8, 2019):

Thanks again for reporting @Bolthier, A fix has been applied in master to be in tonight's release.

@ssddanbrown commented on GitHub (May 8, 2019): Thanks again for reporting @Bolthier, A fix has been applied in master to be in tonight's release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1176