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
Home's Quick access tiles get the sidebar's right-click menu
gelenmedyad6e6c63617d0
diff --git a/crates/rf-app/src/folder_view.rs b/crates/rf-app/src/folder_view.rsindex 2e9869f5..5b18f417 100644--- a/crates/rf-app/src/folder_view.rs+++ b/crates/rf-app/src/folder_view.rs@@ -6875,6 +6875,7 @@ impl FolderView {let mut pinned_grid = div().grid().grid_cols(tile_cols(avail, 140., 220., 12.)).gap_3();for (i, f) in pinned.into_iter().enumerate() {let path = f.path.clone();+ let menu_path = f.path.clone();let shell_icon = if windows_file_explorer_theme {self.images.update(cx, |images, cx| {images.shell_icon_ui(&path.to_string_lossy(), 28, cx)@@ -6889,7 +6890,16 @@ impl FolderView {card(("pin", i).into()).child(home_icon(picture.or(shell_icon), f.icon, 28., (!windows_file_explorer_theme).then_some(p.accent))).child(div().text_sm().child(crate::i18n::td(&f.title)))- .on_click(cx.listener(move |this, _, _, cx| this.navigate(Location::Path(path.clone()), cx))),+ .on_click(cx.listener(move |this, _, _, cx| this.navigate(Location::Path(path.clone()), cx)))+ // the sidebar's menu for the folder (Open in a new tab, Remove from the sidebar, …), as the drive tiles have it+ // (a Discord report: Quick access items had no right-click menu)+ .on_mouse_down(+ MouseButton::Right,+ cx.listener(move |_, _: &MouseDownEvent, _, cx| {+ cx.stop_propagation();+ cx.emit(FolderEvent::SidebarMenu(menu_path.clone()));+ }),+ ),);}