joomla / joomla-cms

Home of the Joomla! Content Management System
https://www.joomla.org
GNU General Public License v2.0
4.77k stars 3.65k forks source link

[4] Left Menu collapsing when it should stay open #33590

Closed PhilETaylor closed 3 years ago

PhilETaylor commented 3 years ago

Steps to reproduce the issue

Despite @brianteeman being convinced this was fixed "over a year ago" this remains a problem.

I'll use this issue to document them as I come across them.

Expected result

When using a component, for which there is a sensible left menu, the left menu should stay highlighted in the left menu when using that component and sub screens of that component, and filters within that component.

Actual result

Menu collapses completely - top level menu items still visible, nothing selected.

PhilETaylor commented 3 years ago

First example is

Joomla Admin -> Content -> Media = expect the media manager to open and the left menu to still be on Content -> Media highlighted.

Screenshot 2021-05-06 at 19 46 35
PhilETaylor commented 3 years ago

Content -> Fields -> Select category in the drop down -> Select articles in the dropdown = menu collapses

Screenshot 2021-05-06 at 19 48 01
PhilETaylor commented 3 years ago

Home Dashboard -> Click Remove or Export in Privacy Dashboard

Screenshot 2021-05-06 at 19 49 42

Expect menu to be like this

Screenshot 2021-05-06 at 19 50 04

But its still collapsed like this:

Screenshot 2021-05-06 at 19 50 34
PhilETaylor commented 3 years ago

Home Dashboard -> "No urgent privacy requests" green square

Screenshot 2021-05-06 at 19 51 54
PhilETaylor commented 3 years ago

Basically anything under System menu item, that doesn't have a corresponding left menu item component, should also keep the System menu highlighted... maybe.

PhilETaylor commented 3 years ago

Any page where you click Options... So Content -> >Articles -> Options... the left menu collapses, instead of staying lets say on Articles..

Screenshot 2021-05-06 at 20 01 33
PhilETaylor commented 3 years ago

basically any URL that uses a filter as a url param

http://127.0.0.1:4444/administrator/index.php?option=com_newsfeeds&filter[category_id]=5&filter[published]=1&filter[level]=1

This link is found by clicking the number under the tick on the News feeds categories page

Screenshot 2021-05-06 at 20 03 24

Leads correctly the newsfeeds component, but the menu collapses and doesn't stay open at Newsfeeds

Screenshot 2021-05-06 at 20 03 34
PhilETaylor commented 3 years ago

When you get a Private Message (from Mr User Action Logs)

Screenshot 2021-05-06 at 20 06 51

then you click to read it:

Screenshot 2021-05-06 at 20 07 08
PhilETaylor commented 3 years ago

Components -> Smart Search -> Content Maps -> Click the number of published indexed content (green box here)

Sorry about the colour scheme...

Screenshot 2021-05-06 at 22 43 41

Then you see left menu collapses

Screenshot 2021-05-06 at 22 44 08
brianteeman commented 3 years ago

I've found the root problem - hopefully during my sleep I will dream up the solution

brianteeman commented 3 years ago

@PhilETaylor please test #34465 it addresses everything apart from categories which is a different root cause

PhilETaylor commented 3 years ago

Thanks.

Ive tested this today, its not perfect (as you clearly state) but is a million times better. I'll close the #33590 and document any left over issues overtime