Skip to content

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.

Dock no longer turns Explorer's taskbar auto-hide on; a value earlier versions changed is put back

gelenmedyabaf9a81d58cb
diff --git a/crates/rf-app/src/shell/taskbar_hide.rs b/crates/rf-app/src/shell/taskbar_hide.rs
index 679d3f8e..f1feaf9b 100644
--- a/crates/rf-app/src/shell/taskbar_hide.rs
+++ b/crates/rf-app/src/shell/taskbar_hide.rs
@@ -180,10 +180,13 @@ fn start(cx: &mut App) {
// The bottom edge waits for the dock's word: a hider that starts before the dock has said what its band is would give the whole
// monitor to maximised windows over the dock and set the work area a second time when the band arrives.
let band = current_band();
- // Explorer's own auto-hide too, so that at the next sign-in its taskbar is out of sight before rustyfiles has started
- // (`rf_win::taskbar_autohide`; a message to Explorer, so off the interface thread)
- let dir = state_dir.clone();
- let _ = std::thread::Builder::new().name("taskbar-autohide".into()).spawn(move || rf_win::taskbar_autohide::engage(&dir));
+ // Explorer's own auto-hide is NOT turned on (1.0.7 to 1.0.10 did, so that the taskbar was out of sight at sign-in before
+ // rustyfiles had started). A taskbar that hides itself reserves nothing and slides in and out, and at each of those moves, and
+ // whenever any program's toolbar changes, Explorer computes the work areas anew from its own list, which the room we keep for
+ // the dock is not in: maximised windows went under the dock until the answer's pause was over, and a second monitor's dock was
+ // never given its room (`rf_win::taskbar_autohide` has the measurement). A value those versions turned on is put back first,
+ // before the taskbar is hidden, so that the hide starts from a taskbar that keeps its strip.
+ release_autohide_now();
let cfg = Config { state_dir, guard_exe: taskbar_hide::guard_next_to_exe(), band_px: band.flatten(), band_known: band.is_some() };
match TaskbarHider::start_on(cfg, crate::dock::dock_edge(cx)) {
Ok(hider) => {
diff --git a/crates/rf-win/src/taskbar_autohide.rs b/crates/rf-win/src/taskbar_autohide.rs
index 539dc2b5..99a5f767 100644
--- a/crates/rf-win/src/taskbar_autohide.rs
+++ b/crates/rf-win/src/taskbar_autohide.rs
@@ -1,8 +1,16 @@
//! Explorer's own "Automatically hide the taskbar" while the Dock hides the taskbar.
//!
-//! WHY: the Dock hides Explorer's taskbar windows once it runs, but at sign-in Explorer is up some seconds before rustyfiles, and
-//! its taskbar was seen every time until the Dock came. With Explorer's own auto-hide on, Explorer starts with its taskbar already
-//! out of sight, so the Dock is the first bar seen.
+//! NOT TURNED ON ANY MORE (since 1.1.0); what is left in use is [`release`], which puts back the value 1.0.7 to 1.0.10 changed.
+//! Why it was turned on: the Dock hides Explorer's taskbar windows once it runs, but at sign-in Explorer is up some seconds before
+//! rustyfiles, and its taskbar was seen every time until the Dock came. With Explorer's own auto-hide on, Explorer starts with its
+//! taskbar already out of sight, so the Dock is the first bar seen.
+//! Why it is off again: the Dock keeps its room by setting the work area itself, and Explorer computes the work areas anew from its
+//! own toolbar list every time an auto-hiding taskbar slides in or out and every time any program's toolbar changes. Measured on a
+//! PC with two monitors (2026-12-04, 1.0.10): after a dock start the primary monitor's work area went back to the whole monitor
+//! five times in eight seconds and stayed there until the answer's growing pause was over (up to a minute); the second monitor,
+//! whose auto-hiding taskbar parks below the screen, was never given the dock's room at all. Maximised windows reached under the
+//! dock for as long (issues 883, 888, 999). With auto-hide off on the same PC both monitors kept their room through every
+//! recomputation that was forced. [`engage`] stays for a design in which Explorer itself keeps the dock's band.
//!
//! The rule: [`engage`] (the hide is wanted) notes the user's own value once, in `taskbar-autohide-before` in the settings folder,
//! and turns auto-hide on; [`release`] (the hide was turned off, the Dock was switched off or told to stop, or rustyfiles is