After I first opened a “help” topic where a couple of people told me that this actually is a bug, then opened a “bug report” where @WhiteNoise told me that this actually isn’t a bug but a “feature request”, I finally open up a feature request!
For better overview, I like especially my list of backlinks to only show the names of the respective files - thus showing up collapsed. The default behavior, however, of obsidian is to show the list uncollapsed. Even when I collapse my results by clicking the respective button, this status is not remembered by obsidian, thus showing all my results uncollapsed again whenever I restart the app.
It would be really cool if one could choose in the settings if the default should be “show results collapsed” or “show results uncollapsed”.
Maybe also an option could be added to define a keyboard shortcut for collapsing/uncollapsing search results or backlinks - similar to the option to define shortcuts for collapsing/uncollapsing all headers/lists!?
You are right, and despite doing some search about this topic, I haven’t detected your request…
Yet I think these are still two slightly different topics - and in some cases maybe even opposed to each other. Because it makes a difference if obsidian is able to launch showing links collapsed by default (the behavior I personally would prefer) or if it remembers what you did with your search results last time you ran the app.
So I think it is not possible to implement both features - unless you pin the “remember” option to specific searches or notes (which, I guess, would be much more complicated to implement). So maybe the best option to implement both requests could really be what I proposed above:
let you choose the default behavior in the settings;
introduce the possibility of quickly changing the view via a simple shortcut.
If in the end more people would vote for the “remembering” option, I would certainly accept this democratic decision! But in this case, at least, the keyboard shortcut option would be a very handy feature that could at least speed up your workflow, not forcing you to leave the keyboard each time you want to change the look of your search results or backlinks list…
What do the devs think about this? @Licat Which feature is easier to implement?
@hulk there is indeed no option to set the default behavior, but since version 0.9.12 obsidian remembers your last setting - this means at least that backlinks and search results no longer unfold by default; if you had them collapsed, obsidian will store this setting in its configuration.