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
Maximized window: tabs reach the top edge of the screen (setting)
gelenmedya661a4922d600
diff --git a/crates/rf-app/src/i18n_en.rs b/crates/rf-app/src/i18n_en.rsindex 2aeeed87..947f8254 100644--- a/crates/rf-app/src/i18n_en.rs+++ b/crates/rf-app/src/i18n_en.rs@@ -2082,6 +2082,8 @@ pub const EN: &[(&str, &str)] = &[("Seç", "Select"),("Seçtiğim klasör", "A folder of my choice"),("Sekmelerde kapatma düğmesi", "Close buttons on tabs"),+ ("Pencere büyükken sekmeler ekranın üst kenarına kadar", "Tabs reach the top of the screen when the window is maximized"),+ ("İmleci ekranın en üstüne atıp sekmeye tıklayabilirsiniz. Kapalıyken sekmelerin üstündeki şerit pencereyi tutup çekmek için kalır.", "Throw the pointer to the very top of the screen and click a tab. Off, the strip above the tabs stays for grabbing the window."),("Benzer komutlar satırın yanında düğme olarak", "Variants as buttons beside their command"),("Sağ tık menüsünde her zaman tüm komutlar", "Always every command in the right-click menu"),("Kapalıyken seyrek kullanılan komutlar (Çoğalt, Kullanan programlar, Kalıcı olarak sil, Kısayol oluştur, takma ad, disk kullanımı…) Shift basılıyken gelir: Shift+sağ tık ya da Shift+F10.", "Off, the commands needed less often (Duplicate, Programs using it, Delete permanently, Create shortcut, alias, disk usage…) come with Shift held: Shift+right click or Shift+F10."),diff --git a/crates/rf-app/src/settings.rs b/crates/rf-app/src/settings.rsindex 22061027..1dac5716 100644--- a/crates/rf-app/src/settings.rs+++ b/crates/rf-app/src/settings.rs@@ -744,6 +744,10 @@ pub struct Settings {pub last_tab_close: LastTabClose,/// The x on the tabs (a discussion of 2026-11-30: off, the room goes to the title; a middle click or Ctrl+W still closes a tab).pub tab_close_buttons: bool,+ /// With the window maximized, the room above the tabs belongs to them: the pointer thrown to the top of the screen lands on a tab+ /// (Discord, 2026-12-01: "toss the mouse up ... and hover over tabs", as browsers do). Off: that strip stays the title bar, to grab+ /// the window by.+ pub tabs_reach_top: bool,/// A variant of a menu command (as administrator, in a new tab, to the left, move instead of copy) is a small button at the side/// of its row (on, the user's choice of 2026-11-30); off, it is a row of its own as before.pub menu_side_buttons: bool,@@ -1313,6 +1317,7 @@ impl Default for Settings {new_tab_folder: String::new(),last_tab_close: LastTabClose::Window,tab_close_buttons: true,+ tabs_reach_top: true,menu_side_buttons: true,menu_show_all: false,new_tab_address: false,diff --git a/crates/rf-app/src/settings_view.rs b/crates/rf-app/src/settings_view.rsindex 94010e39..ad0ea8a6 100644--- a/crates/rf-app/src/settings_view.rs+++ b/crates/rf-app/src/settings_view.rs@@ -1209,6 +1209,13 @@ fn general(p: &Palette, s: &Settings, cx: &mut App) -> Vec<AnyElement> {Some(t!("Kapalıyken yer sekmenin adına kalır; sekme orta tıkla ya da Ctrl+W ile kapanır")),sw("tab-close-btn", p, s.tab_close_buttons, |s, v| s.tab_close_buttons = v),));+ v.push(card(+ p,+ L::ArrowUpToLine,+ t!("Pencere büyükken sekmeler ekranın üst kenarına kadar"),+ Some(t!("İmleci ekranın en üstüne atıp sekmeye tıklayabilirsiniz. Kapalıyken sekmelerin üstündeki şerit pencereyi tutup çekmek için kalır.")),+ sw("tabs-reach-top", p, s.tabs_reach_top, |s, v| s.tabs_reach_top = v),+ ));v.push(card(p,L::TextCursorInput,diff --git a/crates/rf-app/src/workspace.rs b/crates/rf-app/src/workspace.rsindex 7a0c24fa..ea11070e 100644--- a/crates/rf-app/src/workspace.rs+++ b/crates/rf-app/src/workspace.rs@@ -2725,6 +2725,10 @@ impl Workspace {let close_buttons = cx.global::<crate::settings::Settings>().tab_close_buttons;let mut tab_claimed = false;let windows_theme = cx.global::<crate::settings::Settings>().windows_file_explorer_theme;+ // Maximized: the strip above the tabs is theirs (Settings > "Tabs reach the top of the screen"), so the pointer thrown to the top+ // edge lands on a tab, as in browsers. How high that strip is: the row's height less the tab and the 2 px under it.+ let reach_top = window.is_maximized() && cx.global::<crate::settings::Settings>().tabs_reach_top;+ let row_h = f32::from(theme::titlebar_h());// tabs of folders with the same name: each gets a folder above it that tells them apart (issue 243)let hints = tab_hints(&self.tabs.iter().map(|t| t.view().read(cx).location().path().map(Path::to_path_buf)).collect::<Vec<_>>());for (i, tab) in self.tabs.iter().enumerate() {@@ -2917,14 +2921,50 @@ impl Workspace {.on_drag_move::<ExternalPaths>(crate::folder_view::drop_effect_over(dir.clone())).on_drop(move |paths: &ExternalPaths, _, cx| drop_files(paths, dir.clone(), cx))});- tabs = match anim {+ let item: AnyElement = match anim {// grows from a compact width to its full size, contents fading in- Some(serial) => tabs.child(el.overflow_hidden().with_animation(- ("tab-open", serial),- Animation::new(std::time::Duration::from_millis(TAB_ANIM_MS)).with_easing(ease_out_quint()),- move |el, d| el.w(px(28. + (tab_w - 28.) * d)).h(px(28. + (tab_h - 28.) * d)).opacity(0.25 + 0.75 * d),- )),- None => tabs.child(el),+ Some(serial) => el+ .overflow_hidden()+ .with_animation(+ ("tab-open", serial),+ Animation::new(std::time::Duration::from_millis(TAB_ANIM_MS)).with_easing(ease_out_quint()),+ move |el, d| el.w(px(28. + (tab_w - 28.) * d)).h(px(28. + (tab_h - 28.) * d)).opacity(0.25 + 0.75 * d),+ )+ .into_any_element(),+ None => el.into_any_element(),+ };+ // (the strip above the tab: a press there is a press on the tab; the tab's own presses never reach it, it stops them or+ // they are below the strip's line)+ let strip_bottom = px((row_h - if self.tab_lens { tab_h } else { tab_h + 2. }).max(0.));+ tabs = if reach_top && strip_bottom > px(0.) {+ tabs.child(+ v_flex()+ .id(("tab-reach", i))+ .flex_shrink_0()+ .h_full()+ .justify_end()+ .occlude()+ .on_mouse_down(+ MouseButton::Left,+ cx.listener(move |this, ev: &MouseDownEvent, window, cx| {+ if ev.position.y < strip_bottom {+ cx.stop_propagation();+ this.activate(i, window, cx)+ }+ }),+ )+ .on_mouse_down(+ MouseButton::Middle,+ cx.listener(move |this, ev: &MouseDownEvent, window, cx| {+ if ev.position.y < strip_bottom {+ this.close_tab(i, window, cx)+ }+ }),+ )+ .child(item),+ )+ } else {+ tabs.child(item)};}self.tab_lens_claimed = tab_claimed;