Skip to content

Sage File Manager 1.4.0

Choose a tag to compare

@sviluppoarte1-lang sviluppoarte1-lang released this 27 Jul 11:55
· 6 commits to main since this release
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