Sidebar Main Menu: Collapse Setting isn't stored correctly for users

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Onetaluko
Posts: 7
Joined: 15 Nov 2018, 12:08

Sidebar Main Menu: Collapse Setting isn't stored correctly for users

Post by Onetaluko »

Hello,

I've got issues with the sidebar the left main menu of mantis.
In my version mantis 2.13.1 the sidebar always stays in the small view.
Tested in chrome and firefox on a desktop wide window.

It also seemed incorrect on https://www.mantisbt.org/bugs/my_view_page.php with mantis version 2.20.0
Here the sidebar always collapses back to the big menu where you can see icon and textlink of a menu entry.

In my point of view the cookie MANTIS_collapse_settings is not set and cleared correctly.

When you comment this line out and set the cookie manually the behavior works fine.

Code: Select all

#file: core/collapse_api.php
# line 232
gpc_clear_cookie( 'MANTIS_collapse_settings' );
In my mantis version there is no cookie MANTIS_collapse_settings at all. It always get deleted by refreshing the page or navigating to another page.

Could someone please help me to fix it?
Or could someone please tell me what I have to do get the standard behavior like its on mantisbt.org/bugs?

Til now I couldn't find the table, where the data is stored for the user.

Thank you
atrol
Site Admin
Posts: 7853
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Sidebar Main Menu: Collapse Setting isn't stored correctly for users

Post by atrol »

This is fixed in 2.19.0
https://www.mantisbt.org/bugs/view.php?id=24976

It will work just if you are logged in.
Anonymous user does not work.
Please use Search before posting and read the Manual
Onetaluko
Posts: 7
Joined: 15 Nov 2018, 12:08

Re: Sidebar Main Menu: Collapse Setting isn't stored correctly for users

Post by Onetaluko »

Thank you atrol for the information! :D
Post Reply