The setting “View > Show Only Documents”, which is supposed to be set per-database, loses its setting when you use the ‘back’ and ‘forward’ buttons (to the left of the path bar at top) to navigate between databases.
So, if you’re viewing a group in database A that has “Show Only Documents” ON, and you use a button to go back (or forward) to some other group in database B which has it OFF, and you then return via a button to the group in database A, that will have taken on database group B’s ‘OFF’ setting.
Navigating using the leftmost pane doesn’t result in this changing of the setting.