Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Wish for a function to fully collapse library tree (Read 1411 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Wish for a function to fully collapse library tree

I am using foobar 1.3.8 with album list 4.5 among several other components. I have dabbled with a few other library-viewing components, but by no means exhaustively.

In my application (handicapped-operable) all functions are mouse-less and are executed with a (deliberately restricted) programmable keypad - either with foobar keyboard shortcuts or autohotkey etc.
I find that I need to daily manually collapse various expanded trees in the library view - or else it gets very messy - and I have failed to come up with a programmable sequence that will collapse all expansions. I mean REALLY collapse them; pressing LEFT ARROW a few times will of course get to the ALL MUSIC top (root?) of the tree, but when one begins to browse, formerly expanded levels reappear uninvited - so I need to go back and collapse them explicitly.

Could I suggest a function such that either a branch/twig collapse by itself when navigated away from it - or - that there simply be a tree-tidy function (shortcut-able) that truly and fully collapses the tree at will?
From that known state I could then easily restore a desired default-level of expansion.

btw, I love foobar

Wish for a function to fully collapse library tree

Reply #1
if you don't have a panel embedded in your layout and use the popup window from the library menu, closing it collapses everything. ESC is already bound to close it because it's a dialog window so all you need is a shortcut to quickly open it again.

edit: note that trying to use the library menu with a panel embedded in your layout will just highlight it. you'd need to hold shift when launching or remove it.

Wish for a function to fully collapse library tree

Reply #2
if you don't have a panel embedded in your layout and use the popup window from the library menu, closing it collapses everything. ESC is already bound to close it because it's a dialog window so all you need is a shortcut to quickly open it again.

edit: note that trying to use the library menu with a panel embedded in your layout will just highlight it. you'd need to hold shift when launching or remove it.


Oh cool, never tried the popup window - nor knew how to launch it if it existed in the layout already - THANKS!

So, my key sequence is: ESC ALTDOWN L ALTUP SHIFTDOWN A SHIFTUP  - and that works great.
The only loss is the ability to have TABS conveniently switch to different tree definitions - but I only deploy one of them for this application anyway.

It would still be nice to have that ESC-equivalent collapse function for the embedded window someday though. Hint hint.