Repository navigation
feat(rust-explorer): HDD I/O stability, Quick Access import, custom icons, views & columns, Inter font, settings UI, and VSync smooth scroll - #325
Open
ixyren wants to merge 9 commits into
Conversation
…lumns, Inter font, settings UI, and audit fixes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bug Fixes & HDD I/O Stability
rust-explorer,rust-search):StorageDeviceSeekPenaltyPropertydetection per drive slot (jobs.rs) so rotational HDDs are identified once and invalidated onWM_DEVICECHANGE.folder_sizesenumeration on spinning HDDs (while allowing SSD calculation when enabled) to prevent disk stalls and USB/SATA disconnects under heavy directory traversal.DIRSIZE_TX,PREVIEW_TX,ICON_TX,NAV_ICON_TX,META_TX) to avoid concurrent random-I/O storms.WM_DEVICECHANGEarrival/removal refreshes (400 ms) and added exponential backoff onrust-searchrebuild retries (rebuild_backoff).rust-explorer):parse_start_args) to support/select,"...",/n,/select,/e,/select,--select=..., and unquoted paths with spaces, selecting files or subfolders inside their parent directory.IServiceProvider+IShellBrowser::QueryActiveShellViewonshellwin::Browser, normalized path comparisons (norm_dir_key), respectedSVSI_DESELECTOTHERS, centered revealed items vertically (center_row_smooth/LVM_SCROLL), revealed hidden target items when needed, and handled deferred selection after initialWM_SIZE.WM_MOUSEMOVE(MK_LBUTTON) and OLEDoDragDrop(GetKeyState(VK_LBUTTON) < 0) to prevent accidental item moves on double-click in custom smooth-scroll mode.Tiles(LV_VIEW_ICON) vertical spacing from68to74px to eliminate the 2 px row overlap flicker.New Features
windows_quick_access_pins), CLI--import-pins, an optional installer toggle inplugin-launcher, and an import button inside Settings UI.desktop.ini& executables/shortcuts): AsynchronousICON_TXworker resolves custom folder icons (desktop.ini/ R+S attributes) and.exe/.lnk/.ico/etc. icons off the UI thread.desktop.iniicons asynchronously (NAV_ICON_TX/WM_NAV_ICON), toggleable via Settings (pinned_folder_icons).Ctrl+Scrollzoom:Details,List,Tiles,SmallIcons,MediumIcons,LargeIcons,ExtraLargeIcons, andJumboIcons (256)switchable via the View menu, Settings, orCtrl+MouseWheel.Date,DateCreated,DateModified,DateAccessed,Type,Size,Dimensions,Attributes), with fast header-only image/video/EXIF dimension & date-taken probing (meta.rs).Interfont with dynamic system fallback: BundlesInter.ttf(SIL OFL 1.1) and detects missing glyphs viaGetGlyphIndicesW, dynamically rendering unsupported runs in the classic system UI font.settings_ui.rs): Top-right gear button opens a scrollable, live-synchronized Settings window covering Quick Access import, views, columns, typography, animations, appearance/density, custom icons, Quick Access folder icons, and SSD folder sizes.Visual Polish & Smoothness (Sober Defaults Preserved)
use_inter,smooth_scroll,anim_folder,anim_tab,zebra,enhanced_hover) default to OFF, keeping stock behavior untouched out of the box.Detailsview,smooth_scrolluses an independent exact-pixel viewport (SCROLL_Y) with a cached offscreen GDI backbuffer (LIST_BACKBUF),DwmFlush()VSync pacing (WM_SMOOTH_TICK), instant exponential ease-out (RATE = 18.0), arbitrary sub-row rest positions (snap_step: None), and synchronizedSB_VERT/ hit-testing / inline rename / drag-drop.Compact,Normal,Comfortable), zebra shading, and enhanced hover/selection outlines.Localization (6 Languages)
rust-explorerandplugin-launcher(src/install/explorer.rs,src/ui.rs,plugins/rust-explorer/src/*.rs) are translated across all 6 supported WinRust languages (ru,en,ja,pt,zh,es), verified via script scan (286macro calls scanned,0missing).Verification
cargo test -p rust-explorer -p plugin-launcher -p winrust-common: all passing (rust-explorer: 59 passed, 0 failed, 4 ignored;plugin-launcher: 36 passed across 6 test suites;winrust-common: 36 passed).cargo test --manifest-path plugins/rust-search/Cargo.toml:rs: 11 passed, 0 failed, 2 ignored;rs-launcher: 25 passed, 0 failed, 1 ignored.powershell -ExecutionPolicy Bypass -File scripts\build-all.ps1: exited0, producedtarget\release\plugin-launcher.exe.