diff --git a/HostsFileEditor.WinUI/MainWindow.xaml b/HostsFileEditor.WinUI/MainWindow.xaml
index 70d6177..336b1e9 100644
--- a/HostsFileEditor.WinUI/MainWindow.xaml
+++ b/HostsFileEditor.WinUI/MainWindow.xaml
@@ -351,9 +351,19 @@
+
+ The WinUI raster clip-escape bug that used to spill list rows onto this band (issue #79,
+ upstream microsoft-ui-xaml#11225) is now held off at the source by the ListView's
+ CornerRadius="0.1" — see the comment on EntriesList above. That actually clips the rows,
+ so no opaque backplate is needed here and the true-Mica look is preserved at every list
+ size. -->
-
- Entries.Count * (Content?.XamlRoot?.RasterizationScale ?? 1.0) > StatusBackplateThreshold
- ? Visibility.Visible
- : Visibility.Collapsed;
-
// The status row is 0 while the archive view is shown: its content collapses via
// MainViewVisibility, but a FIXED 32px grid row keeps its height regardless — which left a
// permanent dead band of blank Mica under the archive panel.
@@ -531,10 +515,6 @@ private void UpdateStatusCounts()
_statusText = text;
OnPropertyChanged(nameof(StatusText));
}
-
- // Cheap: x:Bind just re-reads Entries.Count and the rasterization scale. Raised on every
- // recount so the backplate tracks the visible row count through loads, filters, and bulk edits.
- OnPropertyChanged(nameof(StatusBackplateVisibility));
}
// A filter change can swap the entire visible set, so rebuild it with a single bulk rebind
@@ -782,14 +762,7 @@ void ApplyMinimumWindowSize()
}
xamlRootChangedHooked = true;
- rootElement.XamlRoot.Changed += (_, _) =>
- {
- ApplyMinimumWindowSize();
-
- // The backplate trigger is scale-dependent too (raster-level escape —
- // see StatusBackplateVisibility).
- OnPropertyChanged(nameof(StatusBackplateVisibility));
- };
+ rootElement.XamlRoot.Changed += (_, _) => ApplyMinimumWindowSize();
};
}
}