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.

Light menus: a dense near-white layer over the Acrylic; window frames follow the app's theme from the first frame (GPUI 1f11b7a)

gelenmedya3e9765cc4d8c
diff --git a/Cargo.lock b/Cargo.lock
index 3833ccde..cd74ad21 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1626,7 +1626,7 @@ dependencies = [
"libc",
"option-ext",
"redox_users 0.5.3",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -3288,7 +3288,7 @@ dependencies = [
[[package]]
name = "gpui-pre-windows"
version = "0.3.11"
-source = "git+https://github.com/gelenmedya/gpui-pre-windows?rev=1e3946ea877dc2e5771ed658e0ba8ab8e18e980a#1e3946ea877dc2e5771ed658e0ba8ab8e18e980a"
+source = "git+https://github.com/gelenmedya/gpui-pre-windows?rev=1f11b7abb83158a67cc9b9a99053fd8896c979ea#1f11b7abb83158a67cc9b9a99053fd8896c979ea"
dependencies = [
"accesskit",
"accesskit_windows",
@@ -3745,7 +3745,7 @@ dependencies = [
"js-sys",
"log",
"wasm-bindgen",
- "windows-core 0.58.0",
+ "windows-core 0.62.2",
]
[[package]]
@@ -9999,7 +9999,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d6f32a0ff4a9f6f01231eb2059cc85479330739333e0e58cadf03b6af2cca10"
dependencies = [
"cfg-if",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
diff --git a/Cargo.toml b/Cargo.toml
index 36b4f308..fe7815e9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -203,4 +203,4 @@ incremental = true
# Velopack with one change: its downloads trust the Windows certificate store (issue 121), see vendor/velopack/VENDORED.md
velopack = { path = "vendor/velopack" }
# our fork of GPUI's Windows layer (GPU/CPU hot-swap renderer), see its FORK.md
-gpui-pre-windows = { git = "https://github.com/gelenmedya/gpui-pre-windows", rev = "1e3946ea877dc2e5771ed658e0ba8ab8e18e980a" }
+gpui-pre-windows = { git = "https://github.com/gelenmedya/gpui-pre-windows", rev = "1f11b7abb83158a67cc9b9a99053fd8896c979ea" }
diff --git a/crates/rf-app/src/settings.rs b/crates/rf-app/src/settings.rs
index 0ef2ec7c..d867d8a6 100644
--- a/crates/rf-app/src/settings.rs
+++ b/crates/rf-app/src/settings.rs
@@ -2124,12 +2124,16 @@ impl Settings {
PlainDrag::Move => 1,
PlainDrag::Copy => 2,
});
- // (Windows' own menus shown by this process: the classic context menu, issue 211)
- rf_win::menu_theme::set_wanted(match self.theme {
+ let wanted_dark = match self.theme {
ThemePref::System => None,
ThemePref::Light => Some(false),
ThemePref::Dark | ThemePref::Black => Some(true),
- });
+ };
+ // (Windows' own menus shown by this process: the classic context menu, issue 211)
+ rf_win::menu_theme::set_wanted(wanted_dark);
+ // every GPUI window's frame and material from its first frame: a light app on a dark Windows opened its menus black and kept
+ // them dark-tinted
+ gpui_windows::set_frame_dark(wanted_dark);
THEME.store(
match self.theme {
ThemePref::System => 0,
diff --git a/crates/rf-app/src/theme.rs b/crates/rf-app/src/theme.rs
index 80a2d1b8..57594375 100644
--- a/crates/rf-app/src/theme.rs
+++ b/crates/rf-app/src/theme.rs
@@ -321,7 +321,16 @@ pub fn popup_fill(p: &Palette) -> Option<Hsla> {
if black_popups() {
return Some(p.window_bg);
}
- (!crate::settings::materials_available()).then(|| if p.dark { hex(0x2C2C2C) } else { hex(0xF9F9F9) })
+ if !crate::settings::materials_available() {
+ return Some(if p.dark { hex(0x2C2C2C) } else { hex(0xF9F9F9) });
+ }
+ // Light: Windows' own light menus put a dense near-white layer over their Acrylic (luminosity ~0.85). The bare system Acrylic is
+ // thin in light, so a menu over dark windows or a dark wallpaper came out grey and darker than the app (user, 2026-12-03).
+ (!p.dark).then(|| {
+ let mut c = hex(0xF9F9F9);
+ c.a = 0.8;
+ c
+ })
}
/// The alpha of `window_bg` and `content_bg` over a window that shows glass, for the surface value (0..=100) of the HyperGlass