The Directories->Collapse All menu item collapses all levels of the selected directory. This is different than clicking on a directory collapse button ( ) which only collapses the current directory.
Accelerator Keys - Ctrl -