mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-26 11:09:23 -06:00
Hiding a kept Local folder beneath Home while browsing it (Remove from Local, local.hide) expanded Home down to that folder and pushed the "Show hidden locations" row out of view. local_places picked the innermost listed folder containing the browsed one as the tree to reveal; once the kept row was hidden that became Home, so folder_tree opened Home, AppData, Local, Temp, ... to show the hidden folder again. A tree no longer opens on the way down through a hidden folder: the owner is chosen only among places whose path to the browsed folder passes no hidden one. Hiding Home itself still lets Pictures reveal a folder browsed inside it. local_location_can_be_hidden_and_restored again hides a browsed temporary folder (beneath Home on Windows), kept as Browse Folder... does, while it is still browsed, and checks the restore row is inside the viewport before clicking it. It failed before this fix. New unit test: hidden_folder_is_not_revealed_in_an_outer_tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>