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.

DirectLook: Keep on top in its window is remembered for the next preview

gelenmedya4d66926375da
diff --git a/crates/rf-app/src/look/window.rs b/crates/rf-app/src/look/window.rs
index ae03dbf5..0e6972e7 100644
--- a/crates/rf-app/src/look/window.rs
+++ b/crates/rf-app/src/look/window.rs
@@ -501,6 +501,13 @@ impl LookWindow {
.child(self.button("look-top", L::Layers, t!("Üstte tut").into(), self.topmost, p).on_click(cx.listener(|v, _, _, cx| {
let on = !v.topmost;
v.set_topmost(on, cx);
+ // remembered for the next preview too: the choice is made here, not only in Settings (Discord, 2026-12-02)
+ if cx.try_global::<super::config::LookSettings>().is_some_and(|s| s.look_topmost != on) {
+ cx.update_global::<super::config::LookSettings, _>(|s, _| {
+ s.look_topmost = on;
+ s.save();
+ });
+ }
})))
.child(self.button("look-share", L::Share, t!("Paylaş").into(), false, p).on_click(cx.listener(|v, _, window, cx| v.share(window, cx))))
.child(