Skip to content

HotkeyImageSorter v0.1.4

Choose a tag to compare

@Sucotasch Sucotasch released this 10 Oct 20:33
· 23 commits to main since this release

v0.1.4 — reworked crop, Explorer context menu, design pass & hardening

New: reworked crop mode (Cropper.js)

  • The selection frame can never leave the image; mouse wheel zooms toward the cursor, drag pans the image
  • Apply / Cancel buttons; double-click the selection or Enter applies, Esc cancels
  • Exact natural-pixel crop coordinates at any zoom and display scale; no stray text selection while dragging
  • Fixed: the image no longer "floats" inside the frame while resizing edges

New: Explorer context menu

  • Cascading HK Image Sorter menu for images (Open / Show Metadata Info) and for folders + folder background (Open) — per-user HKCU, no admin rights needed
  • Metadata export next to the image: .metadata.json (the ComfyUI workflow graph when one is present) / .metadata.txt (readable dump)
  • Launch flag --metadata opens the viewer straight to the metadata modal

New: PNG→JPG keeps oversized ComfyUI workflows

  • Workflows that don't fit the 64 KB JPEG EXIF limit are preserved anyway: the prompt stays in EXIF Model (ComfyUI-readable) and the workflow is split across standard JPEG COM segments, reassembled transparently on read
  • Export the workflow as .workflow.json — droppable straight into ComfyUI

New: UI design pass

  • Current folder always visible in the sidebar header; folder switching demoted to a compact "Change…" action
  • Toggleable right info panel (shortcuts + commands): footer button or Ctrl+B, state remembered — more space for the image
  • Reworked Options: assigned hotkeys on top (Change / Clear), free keys as a compact keycap grid, "N of 26 assigned" counter
  • Selection chip "N selected ✕" in the sidebar footer — one-click clear
  • Empty-folder hint; WCAG AA button contrast; dark-theme scrollbars; dialog focus management (ARIA + focus trap); the info panel auto-collapses below 900 px; one date format everywhere; full file path on hover

Fixed

  • config.json writes are atomic and debounced — hotkeys can no longer be lost to a corrupted config (unreadable files are kept as config.json.corrupt for manual recovery)
  • A failed conversion can no longer block all future conversions until app restart
  • ✦ AI-prompt badges now appear in the file list reliably
  • Faster AI-badge scans (streaming PNG chunk walk that skips pixel data, bounded JPEG reads)
  • Explorer-style "name (1)" collision names for hotkey moves too; the context menu covers all 11 supported formats; no console flash from reg.exe
  • Windows-invalid characters in rename are rejected up front with a clear message; Undo/Redo counters now count batches, not files

Assets

  • hotkey-image-sorter.exe — portable
  • HotkeyImageSorter_0.1.4_x64-setup.exe — installer (NSIS)
  • HotkeyImageSorter_0.1.4_x64_en-US.msi — installer (MSI)