modxcms / revolution

MODX Revolution - Content Management Framework
https://modx.com/
GNU General Public License v2.0
1.36k stars 529 forks source link

Elements tab always #16511

Open sergey-new opened 9 months ago

sergey-new commented 9 months ago

Bug report

Summary

MODX Revolution 2.8.6-pl (traditional) After each action, the Elements tab opens in the control panel. If I edit Documents, it is very inconvenient, I have to switch to Documents and go down in the document tree to the desired document. And so it is constantly.

Step to reproduce

Edit some resourse and press Save

Environment

MODX Revolution 2.8.6-pl (traditional)

smg6511 commented 9 months ago

You're going to need to be much more specific about the issue you're experiencing, ideally including a screen capture (video) to show what's happening. I do not see any unusual behavior in the panels when editing resources or otherwise; but, that doesn't mean there is not a problem to solve ;-)

sergey-new commented 9 months ago

Thanks for reply Here is video from my screen https://youtu.be/vIlNYDL1QAU

Ruslan-Aleev commented 9 months ago

@sergey-new I've seen this behavior where there were a lot of resources. Try clearing the core/cache folder. If this does not help, show the browser console, perhaps some scripts are conflicting.

sergey-new commented 9 months ago

Cache clearing helpes while working with the same resource, but when open another document, the Elements tab activates again. The Console is clear, no sign of any error

smg6511 commented 9 months ago

This is a tough one. It's not really an error, at least not one you'd see reported in the console or logs. Although I can't replicate this (in the way you've shown) on the install of 2.8.6 I tested on, I've seen this kind of behavior before. It's because of how the tab state is persisted ... not enough attention was given to this when revo was created. It was implemented in an overly simple way, but it's a complex operation to get the expected behavior all the time.