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
Session names: a free one, and a question before replacing (742)
gelenmedya1c2d8b7ba250
diff --git a/crates/rf-app/src/folder_view.rs b/crates/rf-app/src/folder_view.rsindex 724c82dd..2b68c8d7 100644--- a/crates/rf-app/src/folder_view.rs+++ b/crates/rf-app/src/folder_view.rs@@ -127,8 +127,8 @@ const PAGE_STEP: isize = 20;/// The card an item shows when the pointer rests on it: its name with a dot in its kind's colour, then its details as a table/// with the labels dimmed, so that the eye finds the value it is after, and its Git state spelled out.///-/// It was plain lines of "label: value" in one colour. The owner, 2026-11-26, with a picture of it: the letters beside the names-/// (M, U, I) should say what they mean in it, and the card should be designed, "hafiften renk, boşluklandırma". A card of+/// It was plain lines of "label: value" in one colour. The letters beside the names+/// (M, U, I) should say what they mean in it, and the card should be designed (lighter colour, spacing). A card of/// title and supporting text at about 320 wide is what Material calls a rich tooltip; the rest is ordinary table typography.fn item_tip_card(entry: &Entry,@@ -616,8 +616,7 @@ enum Msg {ShellName(String),/// The shell folders above the open one, outermost first (name, parsing name), for the address bar.ShellTrail(Vec<(String, String)>),- /// What a search is doing now, shown while it runs (the owner, issue 67: "bu adımları ui'da gösterelim de kullanıcıya. sonra- /// yavaş demesinler").+ /// What a search is doing now, shown while it runs (issue 67: the steps are shown, so a slow search is understood).Stage(SearchStage),Done(Result<usize, String>),}@@ -832,8 +831,7 @@ pub struct FolderView {/// Re-select this name after the next load (e.g. after going up a level).reselect: Option<String>,/// A rename that is under way: the item's name on disk until now, and the name it is getting. Its row shows the NEW name from- /// the moment the rename box closes. WHY (the user: "isim değiştikten sonra çok kısa eski ismi gösterip sonra yeni isim oluyor- /// ya, o olmasın"): the rename itself is done off this thread and the list learns of it from the folder's watcher, so for a+ /// the moment the rename box closes. WHY (the old name flashed for a moment after the rename box closed): the rename itself is done off this thread and the list learns of it from the folder's watcher, so for a/// moment the row had nothing but the entry's old name to show. Taken away when the listing no longer holds the old name/// (the rename landed) or the rename did not happen.renamed: Option<(Arc<str>, Arc<str>)>,@@ -966,8 +964,7 @@ pub struct FolderView {pub(crate) native_menu: bool,/// The pointer has left the window and has not come back: the items' details cards are held back. WHY: the toolkit puts a/// tooltip away at the next mouse move it hears, and once the pointer is over another program's window it hears none, so the- /// card of the last item stayed on the screen, over that program, until the pointer came back (the user: "fare başka pencereye- /// gidince orada takılı kalabiliyor"). A card whose delay was still running when the pointer left came up afterwards, the same way.+ /// card of the last item stayed on the screen, over that program, until the pointer came back. A card whose delay was still running when the pointer left came up afterwards, the same way.pointer_away: bool,/// Rubber-band selection in list-content coordinates.marquee: Option<Marquee>,@@ -1067,7 +1064,9 @@ impl FolderView {auto_cols: Default::default(),auto_key: None,grid_style: GridStyle::Tiles,- content_width: px(900.),+ // the width last measured: a new tab drawn first at a made-up width laid Home's tiles out in other columns for one frame,+ // and they jumped to their size on the next (issue 607)+ content_width: LAST_CONTENT_WIDTH.with(|w| w.get()),content_origin: Point::default(),entries: Vec::new(),sorted_cache: None,@@ -3986,7 +3985,7 @@ impl FolderView {.text_center().line_clamp(2 + extra_name_lines())// a name longer than two lines ends in "…": without this the second line holds everything that is left and is- // cut at both ends by the tile ("ding Page HTML Tem"), which reads as a broken name (a user's report)+ // cut at both ends by the tile ("ding Page HTML Tem"), which reads as a broken name.text_ellipsis().when(dim, |d| d.opacity(0.6)).on_mouse_down(MouseButton::Left, cx.listener(|this, _: &MouseDownEvent, _, _| this.name_hit = true))@@ -6389,6 +6388,7 @@ impl FolderView {let changed = v.content_width != bounds.size.width;if changed {v.content_width = bounds.size.width;+ LAST_CONTENT_WIDTH.with(|w| w.set(bounds.size.width));cx.notify();}changed@@ -6971,7 +6971,7 @@ impl FolderView {.text_color(p.text_secondary).child(time),)- // dragged out like a row of the list (the owner: "son kullanılanlarda ... drag drop ta olmuyor")+ // dragged out like a row of the list.on_mouse_down(MouseButton::Left, {let target = target.clone();cx.listener(move |this, ev: &MouseDownEvent, _, _| this.home_press = Some((target.clone(), ev.position)))@@ -7033,8 +7033,7 @@ impl FolderView {if is_dir {this.navigate(Location::Path(target.clone()), cx);} else if this.picking {- // the Open dialog (the owner: "aç penceresinde ana sayfada son kullanılanlarda dosya seçilemiyor. direkt- // açıyor"): a click shows the file selected in its folder, as a click in the list selects it; a double+ // the Open dialog (on Home, recent files could not be selected, they opened at once): a click shows the file selected in its folder, as a click in the list selects it; a double// click picks it, as in the listif ev.click_count() >= 2 {cx.emit(FolderEvent::Picked(vec![target.clone()]));@@ -7057,6 +7056,7 @@ impl FolderView {let changed = v.content_width != bounds.size.width;if changed {v.content_width = bounds.size.width;+ LAST_CONTENT_WIDTH.with(|w| w.set(bounds.size.width));cx.notify();}changed@@ -7140,6 +7140,11 @@ fn recent_time_width(widest: f32) -> f32 {(widest.ceil() + 4.).clamp(130., 260.)}+thread_local! {+ /// The width of the list or page last measured in any folder view: where a new one starts (`content_width`).+ static LAST_CONTENT_WIDTH: std::cell::Cell<Pixels> = const { std::cell::Cell::new(px(900.)) };+}+/// Columns for a row of equal cards: as many as fit at `min` width, but enough that none is/// wider than `max` (all columns share the width evenly).fn tile_cols(avail: f32, min: f32, max: f32, gap: f32) -> u16 {@@ -7633,7 +7638,7 @@ const RENAME_INSET: f32 = 5.;/// column takes what is free, so the strip is made on purpose. The rows, their hover and selection fill and the column headings all/// end before it; the scrollbar, when shown, lies over its outer part.///-/// HOW WIDE (the user, of a fixed 24 px: "bu 24px olayı büyük monitörlerde nasıl olacak peki?"): 3 % of the list's width, never+/// HOW WIDE (a fixed 24 px does not suit big monitors): 3 % of the list's width, never/// under 24 px and never over 56. A fixed strip is the same few millimetres on every screen, since these are the pixels Windows'/// display scaling multiplies, but beside a list 1600 px wide it is a sliver, and that is where the name column has width to/// spare. So a narrow list (a small window, two panes, the preview pane open) keeps the 24 px it can afford and a wide one getsdiff --git a/crates/rf-app/src/i18n_en.rs b/crates/rf-app/src/i18n_en.rsindex ee695f03..8e5a41ba 100644--- a/crates/rf-app/src/i18n_en.rs+++ b/crates/rf-app/src/i18n_en.rs@@ -527,8 +527,17 @@ pub const EN: &[(&str, &str)] = &[("içine taşınır ve boş kalan alt klasörler silinir.", "will be moved into it, and the empty subfolders will be deleted."),("Düzleştir", "Flatten"),("Düzleştiriliyor:", "Flattening:"),- ("Dosya Gezgini'nden hızlı", "faster than File Explorer"),- ("Dosya Gezgini kadar hızlı", "as fast as File Explorer"),+ ("Boş bir klasörü", "Opens an empty folder"),+ ("1.000 dosyalık bir klasörü", "Opens a 1,000-file folder"),+ ("10.000 dosyalık bir klasörü", "Opens a 10,000-file folder"),+ ("100.000 dosyalık bir klasörü", "Opens a 100,000-file folder"),+ ("2.000 resimli bir klasörü", "Opens a folder of 2,000 pictures"),+ ("Dosya Gezgini'nden {x} hızlı açar", "{x} faster than File Explorer"),+ ("Dosya Gezgini kadar hızlı açar", "as fast as File Explorer"),+ ("{x} içinde açar", "in {x}"),+ ("kısa olan daha iyi", "shorter is better"),+ ("daha hızlı", "faster"),+ ("bellek, klasör açıkken", "memory with the folder open"),("işlemci süresi", "CPU time"),("Kendi bildirdiği sonuç · ücretsiz ve açık kaynak · Windows", "Self-reported result · free and open source · Windows"),("rustyfiles {v} indiriliyor", "Downloading rustyfiles {v}"),@@ -554,7 +563,6 @@ pub const EN: &[(&str, &str)] = &[("aynı hızda", "the same speed"),("Hız testi", "Speed test"),("{n} özel bellek", "{n} private memory"),- ("{test}: klasörün açılması", "{test}: opening the folder"),("{x} daha hızlı", "{x} faster"),("{x} daha yavaş", "{x} slower"),("1.000 dosya", "1,000 files"),@@ -1148,7 +1156,8 @@ pub const EN: &[(&str, &str)] = &[("Oturum", "Session"),("Oturumu kaydet", "Save session"),("Oturumu kaydet…", "Save session…"),- ("Bu penceredeki sekmeler bu adla kaydedilir; sekme menüsündeki Oturum aç ile yeni bir pencerede açılır.", "This window's tabs are saved under this name; Open session in the tab menu opens them in a new window."),+ ("Bu penceredeki sekmeler bu adla kaydedilecek. Kaydedilen bir oturumu açmak için sekme menüsünden Oturum aç'ı seçin; yeni bir pencerede açılır.", "The tabs in this window will be saved under this name. To open a saved session, choose Open session in the tab menu; it opens in a new window."),+ ("Bu adla kaydedilmiş bir oturum var. Üzerine yazmak için yeniden Kaydet'e basın.", "A session with this name is already saved. Press Save again to replace it."),("Bir ad yazın.", "Type a name."),("Oturum aç", "Open session"),("Oturumu sil", "Delete session"),@@ -1496,7 +1505,6 @@ pub const EN: &[(&str, &str)] = &[("Cam görünümünü ayarlayın. Değişiklikler açık tüm pencerelerde hemen görünür.", "Adjust how the glass looks. Changes show at once in every open window."),("Varsayılana dön", "Reset to defaults"),("Uygulamanın kendi yüzeylerinin camın üstündeki örtüsü. En solda örtü yoktur; yazılar zor okunabilir.", "How strongly the app's own surfaces cover the glass. At the far left there is no cover and text can be hard to read."),- ("HyperGlass (deneysel)", "HyperGlass (experimental)"),("Pencerenin arkasındaki görüntüyü gerçek cam gibi büker ve buzlar. Ekranı canlı izleyip her değişiklikte yeniden çizdiği için Mica'dan daha fazla ekran kartı ve pil kullanır.", "Bends and frosts what is behind the window like real glass. It watches the screen live and redraws on every change, so it uses more GPU and battery than Mica."),("Bu Windows sürümünde ya da ekran görüntüsü kenarlığı izni kapalıyken rustyfiles pencereleri ekran görüntülerinde, kayıtlarda ve ekran paylaşımında görünmez.", "On this version of Windows, or while the screenshot border permission is off, rustyfiles windows do not appear in screenshots, recordings or screen sharing."),("Uygulamalar yükleniyor…", "Loading apps…"),@@ -2128,7 +2136,7 @@ pub const EN: &[(&str, &str)] = &[("Sıfırla", "Reset"),("SİMGELER", "ICONS"),("Windows ayarını izle", "Follow Windows' setting"),- ("Masaüstü, Explorer'ın masaüstünün üstüne rustyfiles'ın çizdiği masaüstüdür: duvar kâğıdınız, simgeleriniz, sürükle-bırak ve menüler. Deneyseldir ve varsayılan olarak kapalıdır.", "The desktop is the one rustyfiles draws over Explorer's: your wallpaper, your icons, drag and drop and menus. It is experimental and off by default."),+ ("Masaüstü, Explorer'ın masaüstünün üstüne rustyfiles'ın çizdiği masaüstüdür: duvar kâğıdınız, simgeleriniz, sürükle-bırak ve menüler. Varsayılan olarak kapalıdır.", "The desktop is the one rustyfiles draws over Explorer's: your wallpaper, your icons, drag and drop and menus. It is off by default."),("Windows'un ayarları yalnızca okunur, hiçbir zaman değiştirilmez. \"Windows ayarını izle\" seçiliyken simge Windows'un kendi ayarına göre görünür; \"Göster\" ve \"Gizle\" yalnızca rustyfiles masaüstünü etkiler, Explorer'ın masaüstüne dokunmaz.", "Windows' settings are only read and never changed. With \"Follow Windows' setting\" an icon appears as Windows' own setting says; \"Show\" and \"Hide\" affect only the rustyfiles desktop and leave Explorer's desktop alone."),("Simge boyutu, ızgaraya hizalama, otomatik düzenleme ve sıralama masaüstünün yerleşimine aittir: masaüstüne sağ tıklayınca açılan menüden değiştirilir.", "Icon size, align to grid, auto arrange and sorting belong to the desktop's layout: change them from the menu that opens when you right-click the desktop."),("rustyfiles masaüstü kapalı: seçimleriniz kaydedilir ve masaüstü açılınca uygulanır.", "The rustyfiles desktop is off: your choices are saved and applied when the desktop is turned on."),@@ -2231,7 +2239,7 @@ pub const EN: &[(&str, &str)] = &[("Alt+Tab", "Alt+Tab"),("tepsi simgeleri", "tray icons"),("Ayar dosyası şunları kapalı tutuyor, bu yüzden çalışmıyor:", "The settings file holds these off, so they are not running:"),- ("rustyfiles Dock'unu kullan (deneysel)", "Use the rustyfiles Dock (experimental)"),+ ("rustyfiles Dock'unu kullan", "Use the rustyfiles Dock"),("Başlat, arama ve denetim merkeziyle ekranın altında üç yüzen ada.\nKendi masaüstümüz (duvar kâğıdı ve simgeler), Explorer'ınkinin üstünde.\nProgramların tepsi simgeleri Dock'ta.\nDock çalıştığı sürece Windows görev çubuğu gizlenir; Dock durunca geri gelir.\nWindows tuşu ve Alt+Tab, Windows'unkini değil rustyfiles'ınkini açar.", "Three floating islands at the bottom of the screen, with Start, search and the control centre.\nOur own desktop (wallpaper and icons), over Explorer's.\nThe programs' tray icons are in the Dock.\nWhile the Dock runs, Windows' taskbar is hidden; it comes back when the Dock stops.\nThe Windows key and Alt+Tab open rustyfiles' Start and switcher, not Windows'."),("Masaüstü Dock'la birlikte gelir: açıp kapatmak için Dock sayfasındaki Dock anahtarı kullanılır. Burada yalnızca masaüstünün kendi seçimleri vardır.", "The desktop comes with the Dock: turn it on or off with the Dock switch on the Dock page. Only the desktop's own choices are here."),("Hepsini aç", "Turn all on"),@@ -2245,7 +2253,7 @@ pub const EN: &[(&str, &str)] = &[("Windows tuşu ve Alt+Tab başlatılamadı.", "The Windows key and Alt+Tab could not be started."),("Tepsi simgeleri toplanamıyor: tepsi penceresi kurulamadı.", "Tray icons cannot be collected: the tray window could not be set up."),("Diğer parçalar çalışmaya devam ediyor.", "The other parts keep running."),- ("Dock, ekranın altındaki üç yüzen adadır: Başlat ve arama, uygulamalar, sistem simgeleri ve saat. Tek anahtarla açılır ve gereken her şeyi birlikte getirir. Deneyseldir ve varsayılan olarak kapalıdır.", "The dock is three floating islands at the bottom of the screen: Start and search, apps, system icons and the clock. One switch turns it on and brings everything it needs. It is experimental and off by default."),+ ("Dock, ekranın altındaki üç yüzen adadır: Başlat ve arama, uygulamalar, sistem simgeleri ve saat. Tek anahtarla açılır ve gereken her şeyi birlikte getirir. Varsayılan olarak kapalıdır.", "The dock is three floating islands at the bottom of the screen: Start and search, apps, system icons and the clock. One switch turns it on and brings everything it needs. It is off by default."),("Windows tuşu ve Alt+Tab için klavye, sistem genelinde bir kancayla dinlenir; yalnızca Windows tuşuna tek başına basmaya (ve Windows tuşuyla E ya da D'ye) ve Alt+Tab'a (açıkken Sekme, oklar, Enter, Esc ve Alt'ı bırakmaya da) bakılır, başka hiçbir tuşu saklamaz, kaydetmez ya da başka yere göndermez. Windows'un kendi Başlat menüsü ve öndeki programın menü çubuğu açılmasın diye tek bir görünmez, hiçbir şey yapmayan tuş gönderilir. Explorer kabuk değilken Win+E bir rustyfiles penceresi açar, Win+D masaüstünü gösterir; Windows tuşlu diğer kısayollara dokunulmaz. rustyfiles durursa ya da takılırsa Windows eski davranışına döner.", "For the Windows key and Alt+Tab the keyboard is listened to with a system-wide hook; it only looks at the Windows key pressed alone (and the Windows key with E or D) and at Alt+Tab (and, while the switcher is open, Tab, the arrows, Enter, Esc and releasing Alt), and does not keep, record or forward any other key. So that Windows' own Start menu and the foreground program's menu bar do not open, one invisible key that does nothing is sent. While Explorer is not the shell, Win+E opens a rustyfiles window and Win+D shows the desktop; other shortcuts with the Windows key are left alone. If rustyfiles stops or hangs, Windows goes back to its old behaviour."),("Windows'un hiçbir görev çubuğu ayarı değiştirilmez. Görev çubuğu, Dock durunca geri gelir. Dock beklenmedik biçimde ölürse küçük bir yardımcı program (rustyfiles-shellguard.exe) onu bir iki saniye içinde geri getirir; yardımcı çalışmıyorsa görev çubuğu hiç gizlenmez.", "No Windows taskbar setting is changed. The taskbar comes back when the Dock stops. If the Dock dies unexpectedly, a small helper program (rustyfiles-shellguard.exe) brings it back within a second or two; if the helper is not running, the taskbar is not hidden at all."),("Komut", "Command"),diff --git a/crates/rf-app/src/workspace.rs b/crates/rf-app/src/workspace.rsindex 8b1d0abe..cd4e7b67 100644--- a/crates/rf-app/src/workspace.rs+++ b/crates/rf-app/src/workspace.rs@@ -630,6 +630,11 @@ pub fn open_named_session(name: &str, cx: &mut App) {PENDING_NAMED.lock().unwrap().take();}+/// The first "Oturum N" (N from 1) that no saved session has.+fn free_session_name(taken: &[String]) -> String {+ (1..).map(|n| format!("{} {n}", t!("Oturum"))).find(|n| !taken.contains(n)).unwrap_or_default()+}+/// The saved sessions after saving `session`: one of the same name is replaced where it stood, a new name goes at the end.fn remember_named(list: &mut Vec<crate::settings::NamedSession>, session: crate::settings::NamedSession) {match list.iter_mut().find(|s| s.name.eq_ignore_ascii_case(&session.name)) {@@ -1787,16 +1792,20 @@ impl Workspace {cx.notify();}- /// Asks for a name and saves this window's tabs under it (`settings::NamedSession`); a name already taken is replaced.+ /// Asks for a name and saves this window's tabs under it (`settings::NamedSession`). The name offered is the window's own+ /// session's, or the first "Oturum N" not taken; another session's name is replaced only after a second press of Kaydet, which+ /// the question asks for (issue 742: "Oturum 1" was offered again and the saved one replaced without a word).fn save_named_session(&mut self, window: &mut Window, cx: &mut Context<Self>) {let (tabs, panes) = self.session_now(cx);let active = self.active;- let count = cx.global::<crate::settings::Settings>().saved_sessions.len();- let first = self.session_name.clone().unwrap_or_else(|| format!("{} {}", t!("Oturum"), count + 1));+ let taken: Vec<String> = cx.global::<crate::settings::Settings>().saved_sessions.iter().map(|s| s.name.clone()).collect();+ let first = self.session_name.clone().unwrap_or_else(|| free_session_name(&taken));+ let own = self.session_name.clone();+ let asked = std::rc::Rc::new(std::cell::RefCell::new(None::<String>));let me = cx.entity().downgrade();crate::prompt::show(t!("Oturumu kaydet"),- Some(t!("Bu penceredeki sekmeler bu adla kaydedilir; sekme menüsündeki Oturum aç ile yeni bir pencerede açılır.").to_string()),+ Some(t!("Bu penceredeki sekmeler bu adla kaydedilecek. Kaydedilen bir oturumu açmak için sekme menüsünden Oturum aç'ı seçin; yeni bir pencerede açılır.").to_string()),Some((first, String::new())),vec![crate::prompt::Button::new(t!("Kaydet"), crate::prompt::Kind::Primary, move |text, _, cx| {@@ -1804,6 +1813,11 @@ impl Workspace {if name.is_empty() {return Err(t!("Bir ad yazın.").to_string());}+ // another session of this name: replaced only when Kaydet is pressed again for the same name+ if taken.contains(&name) && own.as_deref() != Some(name.as_str()) && asked.borrow().as_deref() != Some(name.as_str()) {+ *asked.borrow_mut() = Some(name.clone());+ return Err(t!("Bu adla kaydedilmiş bir oturum var. Üzerine yazmak için yeniden Kaydet'e basın.").to_string());+ }let session = crate::settings::NamedSession { name: name.clone(), tabs: tabs.clone(), panes: panes.clone(), active };crate::settings::update(cx, move |s| remember_named(&mut s.saved_sessions, session));// (the window now holds that session: its name goes beside the tabs)@@ -3219,6 +3233,17 @@ impl Workspace {Item::action(t!("Terminalde yönetici olarak aç"), MenuIcon::Lucide(L::ShieldCheck), with(|_, p, _, _| crate::ctx_menu::open_terminal_admin(p))),]);}+ // Flatten folder, as in the file list's menu (Discord: looked for in the folder tree too); not for a drive's root+ if cx.global::<crate::settings::Settings>().show_flatten && path.parent().is_some() {+ items.push(Item::action(+ t!("Klasörü düzleştir"),+ MenuIcon::Lucide(L::FolderTree),+ with(|ws, p, w, cx| {+ let view = ws.active_view();+ view.update(cx, |v, cx| v.flatten_folder(p, w, cx));+ }),+ ));+ }items.extend([// our Properties window (a drive gets its own page there)Item::action(t!("Özellikler"), MenuIcon::Lucide(L::Wrench), with(|ws, p, _, cx| {@@ -4831,7 +4856,7 @@ impl Workspace {col = col.child(head);None};- // the folder tree stands right under the pinned folders, above the drives and the tags (where the user asked for it: the+ // the folder tree stands right under the pinned folders, above the drives and the tags (the// tree is what one works in, the drives and tags are looked at less often)let hidden = cx.global::<crate::settings::Settings>().sidebar_hidden.clone();let shown = |k: &str| !hidden.iter().any(|h| h == k);@@ -4981,7 +5006,7 @@ impl Workspace {}}// The tags are known at once, the pins and drives above them a moment later: drawn before those, the coloured tag rows stood- // at the top of the sidebar for the first 90 ms of a cold start and then jumped down (seen frame by frame: a user's report of+ // at the top of the sidebar for the first 90 ms of a cold start and then jumped down (seen frame by frame:// a red and blue flash when a folder is opened with the app closed). They wait for the places.let tag_defs = if shown("tags") && places_loaded { cx.global::<crate::tags::Tags>().0.defs.clone() } else { Vec::new() };if !tag_defs.is_empty() {@@ -5531,7 +5556,7 @@ pub(crate) fn sweep_old_drops(temp: &Path) {/// copied, and the transfer takes them from there. Anything else is returned as it was: a user's own files are never touched./// Returns the items to transfer and the folder they were kept in (to remove once they have arrived), if any.fn hold_archiver_drop(sources: Vec<PathBuf>, temp: &Path) -> (Vec<PathBuf>, Option<PathBuf>) {- // (TEMP can be written short, `C:\Users\OZERO~1\...`, by one side and long by the other: both are compared in their long form)+ // (TEMP can be written short, `C:\Users\ALEXAN~1\...`, by one side and long by the other: both are compared in their long form)let long = |p: &Path| -> PathBuf {std::fs::canonicalize(p).map_or_else(|_| p.to_path_buf(), |c| PathBuf::from(c.to_string_lossy().trim_start_matches(r"\\?\").to_string()))};@@ -6143,8 +6168,7 @@ impl Render for Workspace {}self.assign_settings_lens(plan.settings_owner, cx);// The full sidebar over the content, while the pointer is on the rail or on it. It comes out of the rail on a SPRING and goes- // back in quickly (the user, of the Open window: "buraya hızlı bir animasyon ekle ... spring animasyonu olması gerektiğini- // unutma"): until then it was there, or not, from one frame to the next.+ // back in quickly: until then it was there, or not, from one frame to the next.let peek_wanted = show_sidebar && self.sidebar_rail && (self.rail_peek[0] || self.rail_peek[1]);if peek_wanted != self.rail_peek_open {self.rail_peek_open = peek_wanted;