Show folder names immediately and refresh stale index sizes without walking the whole drive.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-26 11:21:20 +02:00
parent 6fc7506eb7
commit e2916aef9c
88 changed files with 5373 additions and 544 deletions

View File

@@ -0,0 +1,47 @@
<UserControl x:Class="Explorer.App.Settings.Pages.NavigationSettingsPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
DataContext="{Binding Draft, RelativeSource={RelativeSource AncestorType=Window}}">
<StackPanel>
<TextBlock Text="Navigation" Style="{StaticResource SettingsHeading}"
AutomationProperties.HeadingLevel="Level1"/>
<TextBlock Style="{StaticResource SettingsIntro}"
Text="Locations tree, grouping, and what Workbench shows while browsing. These options only change what Explorer Workbench shows and indexes. Windows settings and files are not modified."/>
<TextBlock Text="Locations tree" Style="{StaticResource SettingsHeading}" Margin="0,8,0,10"
AutomationProperties.HeadingLevel="Level2"/>
<TextBlock Style="{StaticResource SettingsIntro}"
Text="Choose whether network and cloud locations appear as their own top-level items, or are collected under a group next to This PC."/>
<CheckBox Margin="0,0,0,6"
Content="Group network drives under Network"
IsChecked="{Binding GroupNetworkPlaces}"/>
<TextBlock Style="{StaticResource SettingsHelp}"
Text="Mapped letters and UNC shares become children of a Network item. This PC then shows only local and removable drives."/>
<CheckBox Margin="0,0,0,6"
Content="Group cloud locations under Cloud"
IsChecked="{Binding GroupCloudPlaces}"/>
<TextBlock Style="{StaticResource SettingsHelp}"
Text="OneDrive, Google Drive, and Nextcloud become children of a Cloud item. The two options are independent."/>
<CheckBox Margin="0,0,0,6"
Content="Prefer Favorites when synchronizing the locations tree"
IsChecked="{Binding PreferFavoritesInTree}"/>
<TextBlock Style="{StaticResource SettingsHelp}"
Text="Off (default): keep the current tree context. Opening a folder under This PC, Home, Network, or Cloud does not switch the tree to Favorites just because that folder is also pinned. When you opened the folder from a Favorite, the tree stays under Favorites. On: if the folder is under a pinned Favorite, the tree selects that Favorite. Breadcrumbs and the filesystem path are unchanged."/>
<TextBlock Text="Filesystem visibility" Style="{StaticResource SettingsHeading}" Margin="0,8,0,10"
AutomationProperties.HeadingLevel="Level2"/>
<CheckBox Margin="0,0,0,6"
Content="Show hidden files"
IsChecked="{Binding ShowHiddenFiles}"/>
<TextBlock Style="{StaticResource SettingsHelp}"
Text="Items marked Hidden by Windows. Default matches the current Explorer Workbench listing."/>
<CheckBox Margin="0,0,0,6"
Content="Show protected system locations"
IsChecked="{Binding ShowProtectedSystemLocations}"/>
<TextBlock Style="{StaticResource SettingsHelp}" Margin="24,0,0,0"
Text="System Volume Information, Recycle Bin, Recovery, and similar locations. When a folder cannot be read, its size is shown as access denied — never as 0 bytes. Administrator rights are detected but never requested automatically."/>
</StackPanel>
</UserControl>