A fast file manager for Windows and macOS that never freezes: tabs, dual panes, archives as folders, Quick Look-style previews. A File Explorer and Finder alternative written in Rust.
Rust archive-managerdesktop-appdual-paneexplorer-alternativefile-browserfile-explorerfile-managerfluent-designgpu-acceleratedgpuimacosmicaproductivityquick-lookrustrust-guitabswindowswindows-11windows-explorer
Columns view: the columns no longer show through Home, Settings and Disk usage
keksb851a0eb481f
diff --git a/macos/Sources/RustyFiles/FileListController.swift b/macos/Sources/RustyFiles/FileListController.swiftindex 5ac8bc65..52ceb865 100644--- a/macos/Sources/RustyFiles/FileListController.swift+++ b/macos/Sources/RustyFiles/FileListController.swift@@ -584,6 +584,8 @@ final class FileListController: NSObject, NSTableViewDataSource, NSTableViewDeleprivate func applyViewMode() {let isTiles = viewMode.isGridlet columns = viewMode == .columns+ // A full-card page stays on top: its view mode is applied when it closes+ guard !pageShown else { return }header.isHidden = isTiles || columnsscroll.isHidden = isTilestileScroll.isHidden = !isTiles@@ -681,6 +683,12 @@ final class FileListController: NSObject, NSTableViewDataSource, NSTableViewDelecard.needsLayout = true}+ /// Everything the file browser shows, hidden while a full-card page (Settings, Home, Disk usage) is up.+ private func hideBrowserViews() {+ ([commandBar, header, scroll, tileScroll, status, message, privacyButton] as [NSView]+ + millerLeft + [millerNext]).forEach { $0.isHidden = true }+ }+func showSettings(page: SettingsPage? = nil) {renaming = nilfolder = nil@@ -695,7 +703,7 @@ final class FileListController: NSObject, NSTableViewDataSource, NSTableViewDelev.frame = card.boundsv.isHidden = falseif let page { v.show(page) }- [commandBar, header, scroll, tileScroll, status, message, privacyButton].forEach { $0.isHidden = true }+ hideBrowserViews()hideSidePanes()selectionChanged()}@@ -717,7 +725,7 @@ final class FileListController: NSObject, NSTableViewDataSource, NSTableViewDele}v.frame = card.boundsv.isHidden = false- [commandBar, header, scroll, tileScroll, status, message, privacyButton].forEach { $0.isHidden = true }+ hideBrowserViews()hideSidePanes()selectionChanged()}@@ -741,7 +749,7 @@ final class FileListController: NSObject, NSTableViewDataSource, NSTableViewDelev.onRescan = onRescanv.frame = card.boundsv.isHidden = false- [commandBar, header, scroll, tileScroll, status, message, privacyButton].forEach { $0.isHidden = true }+ hideBrowserViews()hideSidePanes()selectionChanged()return v.show(root, scan: scan)