Skip to content

Releases

Sage File Manager 1.4.5

Choose a tag to compare

@sviluppoarte1-lang sviluppoarte1-lang released this 31 Aug 05:41
521e729
Schermata del 2026-09-19 11-31-26 Schermata del 2026-09-19 11-31-11 Schermata del 2026-09-19 11-30-48 Schermata del 2026-09-19 11-30-15 Schermata del 2026-09-19 11-29-47 Schermata del 2026-09-19 11-29-00 Schermata del 2026-09-19 11-28-39 Schermata del 2026-09-19 11-28-23 Schermata del 2026-09-19 11-27-55 Schermata del 2026-09-19 11-27-33 Schermata del 2026-09-19 11-27-06

SAGE File Manager — v1.4.5

SAGE File Manager is a modern, full-featured desktop file manager for Linux, built with Flutter + Rust. It combines multi-view browsing, advanced search, previews, split-view, SMB/LAN support, theming and optimized file operations in a single native experience. Version 1.4.5 is a major quality, performance and usability release focused on speed, reliability and terminal integration.


Overview

v1.4.5 delivers what users asked for most: faster startup, a lag-free sidebar, instant close, and a reliable integrated terminal. While no single feature defines this release, every core path has been audited — from main() initialization to directory watching and window close — resulting in a noticeably smoother experience on both fast SSDs and slow network mounts.

What's New in 1.4.5

1. Performance & Startup

The entire startup pipeline was parallelized and de-bottlenecked:

  • Parallel initialization: LoggingService, GlassTheme, FolderIconService, SettingsService, LocalNotifier and DesktopSessionService now start with Future.wait() after windowManager.ensureInitialized(), instead of 10 sequential awaits. Estimated saving 80-250 ms on cold start.
  • SharedPreferences cache: Introduced PrefsCache singleton, eliminating 6-7 redundant SharedPreferences.getInstance() round-trips per launch. Folder colors are now cached in-memory (Map<String,int?>) instead of N× async reads per sidebar rebuild.
  • Faster standard folders & disks: FileService.getStandardDirectories() now checks Desktop/Documents/Pictures/Music/Videos/Downloads in parallel. FileService.getMountedDisks() collects df candidates and resolves lsblk/blkid labels in parallel with 800 ms per-disk timeouts (was serial, 300-800 ms → ~40 ms parallel).
  • Batched initState: _FileManagerScreenState no longer floods the main isolate with 6 independent setStates. A new _batchLoadFastPrefs() loads favorites, preferences, window geometry and caches from a single SharedPreferences instance via Future.wait(), and defers the heavy getMountedDisks() scan to addPostFrameCallback so the first frame paints immediately.
  • Cache init parallelized: ThumbnailCacheService and AppImageIconService now initialize concurrently.

Result: faster first paint, no sidebar spinner hang on slow df/NFS mounts, and far fewer rebuilds in the first 500 ms.

2. Left Sidebar — No More Lag

  • Parallel data load: Sidebar._loadData() now awaits Future.wait([getStandardDirectories, getMountedDisks, SharedPreferences]) in one shot (was waterfall).
  • Icon cache: Folder colors are served from memory; no more FutureBuilder thrashing on every theme/reorder tick.
  • Icon decoding optimized: Thumbnail Image.file now uses cacheWidth/cacheHeight = size * devicePixelRatio via RepaintBoundary, avoiding full-resolution 50MP decode for 64px previews.

3. Integrated Terminal — Always Active

The embedded terminal was rebuilt for real-world use:

  • Autocomplete always on: compgen now completes the last word only (e.g. cd /ho → /home/ completes /ho, not the whole cd /ho string). Works for both files and folders, and is triggered via debounced onInputChanged.
  • Tab completion fixed: Same last-word extraction for Tab.
  • Focus stays alive: A Focus.onKeyEvent wrapper on the terminal redirects any key press back to the input field when the output area has focus. Clicking the output still allows text selection, but typing never loses the cursor.
  • Copy & Select All fixed: The right-click menu Copy was reading from the clipboard. It now reads the actual TextSelection from SelectableText.rich via onSelectionChanged and copies text.substring(start,end). Select all was missing and is now implemented.
  • Busy-aware close: See below.

4. Window Close Safety

Closing the manager while the internal terminal is busy now warns the user:

  • TerminalService tracks busy state per instance with a 1200 ms debounce timer and a ValueNotifier<bool> busyNotifier, plus async child-process detection (ps --ppid / pgrep -P with 400 ms timeouts for silent commands like sleep).
  • main.dart hooks busyNotifier and onInstancesChanged to windowManager.setPreventClose(). _handleWindowClose() awaits hasBusyTerminalAsync() (800 ms timeout fallback) and shows a dedicated localized dialog:
    • “Terminal operation in progress — A command is still running in the internal terminal. Closing may interrupt it. Continue?” (EN/IT/FR/DE/ES/PT).
    • Mixed copy+terminal state shows combined message. Idle terminal closes instantly with no warning.

5. Tools Menu — Terminal Icon Restored

  • Bug: Strumenti → Apri terminale interno (F4) used assets/icons/terminal.png which existed on disk (64×64) but was not declared in flutter.assets in pubspec.yaml. The top menu via Image(AssetImage) without errorBuilder showed a blank/broken image; the empty-space menu via CompactMenuRow fell back to a generic Icons.terminal.
  • Fix: Declared assets/icons/terminal.png in pubspec.yaml and made _mapMenuItemsToWidgets() use Image.asset(..., errorBuilder: Icon(Icons.image_not_supported)) for resilience.

6. File Operations & Reliability

  • Copy/Move bug fixed: Removed silent fallback that copied the parent directory when the source file was missing (main.dart _copyFile / _moveFile).
  • Delete deduplication: _deleteMultipleFiles now deduplicates parent/child selections (deleting a folder and its child no longer shows the parent twice) and shows the parent path in delete_operation_window.dart.
  • .desktop support: FileService.isDesktopFile() / isDesktopFileSync() detect [Desktop Entry] headers. FileInfo.isDesktopFile added, populated in _getFileInfoAsync(), icon rendered via file_icon_service, Type column shows “Program” in file_list.dart, file_properties.dart, file_properties_tabs.dart, quick_look.dart, and double-click launches via xdg-open before ELF check. Localized in 6 languages.

7. Generic Reliability & Resource Management

  • Window IPC (/tmp/sage-fm-ipc) polling changed from listSync/readAsStringSync every 2s on the main isolate to await dir.list() + await file.readAsString() async.
  • Transfer progress timers coalesced from 300 ms/500 ms to 500 ms/1000 ms to reduce I/O storm during copy.
  • Leaks fixed: AudioPlayerWidget now stores and cancels onPlayerState/onPosition/onDuration subscriptions; main.dart stores _selectionSub / _secondPaneSelectionSub and cancels on dispose.
  • Glass/transparency: GlassTheme.isEnabled now guards BackdropFilter in navigation_bar.dart (extracted _buildBarContent()) and main.dart scaffold, avoiding an always-on blur even when disabled.

8. Code Health

  • Removed duplicate import in file_list.dart, unused Seek import, 4 unused Rust dependencies in Cargo.toml, 13 dead Rust symbols in lib.rs, cleaned rust_ffi.dart typedefs. Both cargo check and flutter analyze pass clean (0 new errors).

Technical Details

  • Stack: Flutter (Impeller/OpenGL ES, GTK3 embedder), Rust FFI, window_manager, shared_preferences, yaru, pdfrx, flutter_svg.
  • I/O model: All heavy work (disk enumeration, thumbnail generation, archive, duplicate finder) is isolated where possible; v1.4.5 moves more to Future.wait / async and reduces synchronous *Sync calls on the UI thread.
  • Localization: EN, IT, FR, DE, ES, PT fully updated for new strings (fileListTypeProgram, dialogCloseWhileTerminalTitle/Body).
  • Platform: Linux-first, X11 + Wayland, tested on Mesa/Gallium (NVIDIA/AMD/Intel).

Upgrade is recommended for all users. v1.4.5 makes SAGE feel instant on open, stable on close, and finally makes the integrated terminal a true daily driver — not a secondary widget.

Sage File Manager 1.4.0

Choose a tag to compare

@sviluppoarte1-lang sviluppoarte1-lang released this 27 Jul 11:55
521e729

File Manager v1.4.0 — Changelog

New Features

QuickLook Preview (Spacebar)

  • Press Spacebar on a selected file to open a preview dialog
  • Supports images, PDF, DOCX, and XLSX via PreviewService
  • Closes with Escape or Spacebar

Per-Tab Terminal (F4)

  • Each tab now has its own independent terminal instance
  • Opening a terminal in Tab A does not affect Tab B — both can run simultaneously
  • Switching tabs keeps background terminal processes alive via Offstage mounting
  • Closing a tab cleans up its terminal entry

Properties Dialog Redesign

  • Rounded corners (24px) on the dialog container
  • Gradient header section with file icon and metadata
  • Card-based sections for details, permissions, and contents
  • Modern property rows with bordered containers and accent-colored edit buttons
  • Contents list wrapped in a rounded container

Terminal Visual Upgrade

  • Black background (#000000) for all themes (light and dark)
  • White output text for better contrast
  • Updated toolbar, input bar, and border colors for a cohesive dark terminal look

Home Directory in Navigation Bar

  • The root dropdown in the path bar now shows Home instead of "Root (/)"
  • Uses $HOME environment variable for the actual home path

Bug Fixes

Right-Click on Grid Cells (Right Pane)

  • Fixed right-click not working on file/folder cells in the grid view
  • Added _MarqueeDragGuard.shouldSuppressGridMarquee fallback for _primaryDownOnCell in _GridMarqueeShell._onPointerDown

Terminal Keyboard Input

  • Fixed terminal not capturing keyboard input when open
  • Global Focus.onKeyEvent now returns KeyEventResult.ignored when the terminal is active (except F4), allowing keyboard events to propagate to the terminal's TextField
  • onPointerDown no longer steals focus from the terminal when clicking inside it

Grid View Resize Alignment

  • Removed Expanded wrapper around cell labels that caused a large gap between icon and text at zoom levels 1–6
  • Added LayoutBuilder-based adaptive font size and max lines based on actual cell dimensions
  • Icons and labels now stay properly aligned during window resize

Grid Cell Text Wrapping

  • Text in grid cells uses TextOverflow.ellipsis with adaptive maxLines (2 or 3 based on cell height)
  • Font size scales down slightly on narrow cells to reduce unnecessary text wrapping

Optimizations

Search Performance

  • System path filter (/proc, /sys, /dev, etc.) now uses compiled regex instead of repeated startsWith checks
  • File stat operations batched in groups of 50 for faster search throughput
  • find command now passes -size flags to skip oversized files at the filesystem level
  • File type matching constants converted from List to Set for O(1) lookup

Navigation Bar

  • Added dart:io Platform import for cross-platform home directory resolution

Sage File Manager 1.3.0

Choose a tag to compare

@sviluppoarte1-lang sviluppoarte1-lang released this 29 May 13:01
521e729

Version 1.3.0
Navigation & Toolbar Redesign
Complete 3D depth redesign of the navigation bar: multi-layer shadows (ambient 48px + directional 28px + contact 8px + primary glow
20px), vertical gradient (95%→72% opacity), 2px primary accent bottom border, 18px border radius
Replaced icon fonts with custom 32×32 PNG assets for all toolbar buttons (back, forward, up, list, grid, details, columns, search)
preserving original colors and transparency
New _GlowNavButton, _GlowViewModeButton, _GlowSearchButton widgets with animated hover glow effects, scale transitions
(easeOutCubic), and gradient ring backgrounds
Path bar redesigned with focus-aware styling: active pane gets a primary-tinted background with matching glow shadow, inactive pane
uses subtle surfaceContainerHighest
Status bar enhanced with subtle surface gradient and soft top shadow
Crash Fixes & Stability
Added mounted guards in _loadFavorites and showDeleteResults to prevent state updates after disposal
Fixed StreamSubscription leak in package_manager.dart — subscriptions now cancelled in dispose()
Created AppProcess wrapper (lib/services/process_helper.dart) with default 2-minute timeout; applied to all 195 Process.run
calls across 17 files
Added .timeout() to SMB exitCode awaits (5–10 min) to prevent hanging on unresponsive shares
SMB / Network Transfers
Fixed pre-existing content inflating progress: upload and download operations now measure baseline destination size before starting and
subtract it from each poll result
Fixed parallel SMB upload race condition: source sizes are pre-calculated sequentially before Future.wait() so each parallel upload
receives its correct cumulative progressBaseBytes
Progress & Localization
Fixed multi-transfer progress cross-talk: global _copyProgress.stats is no longer the source of per-operation progress values
Replaced hardcoded 'Copying…' English string in transfer_dialog.dart with localized l10n.copyProgressTitle /
l10n.deleteProgressTitle
Theme & UI
Added system theme auto-detection on first launch (lib/services/system_theme_detector.dart) supporting GNOME, KDE, XFCE,
and GTK-based desktops
Consolidated duplicate parseDuFirstColumnBytes and diskUsageBytesOne functions into lib/utils/file_utils.dart
Removed redundant “>” chevron from View menu button and custom submenu items
Enhanced GlassWrapper with optional gradient, border, and boxShadow parameters
Removed duplicate imports in file_list.dart
Under the Hood
All Process.run calls now pass through AppProcess.run with configurable timeout
Shared utility functions return int? (null = not found), matching existing caller conventions
Theme auto-detection is only performed on first launch; the result is persisted in settings
Pre-existing file sizes are measured sequentially before parallel uploads to avoid data races

Schermata del 2026-05-29 15-01-48 Schermata del 2026-05-29 15-01-56 Schermata del 2026-05-29 15-02-04 Schermata del 2026-05-29 15-03-23 Schermata del 2026-05-29 15-03-31 Schermata del 2026-05-29 15-05-57

SAGE File Manager

Choose a tag to compare

@sviluppoarte1-lang sviluppoarte1-lang released this 05 Apr 08:36
f52256c

SAGE File Manager is a desktop file manager for Linux, aimed at users on Debian, Ubuntu, and their derivatives. It offers a clear, familiar way to work with your files and folders on the desktop—without getting in the way of how you already use your system.

Schermata del 2026-04-28 16-11-44 Schermata del 2026-04-28 16-14-01 Schermata del 2026-04-28 16-10-36 Schermata del 2026-04-28 16-14-27 Schermata del 2026-04-28 16-11-16 Schermata del 2026-04-28 16-11-30 Schermata del 2026-04-28 16-11-53 Schermata del 2026-04-28 16-12-07 Schermata del 2026-04-28 16-12-25 Schermata del 2026-05-10 10-07-12 Schermata del 2026-05-10 10-07-32