• v3.3.58 7749699830

    Administrator released this 2026-06-09 06:02:16 +02:00 | 125 commits to master since this release

    Waiting rows in the queue (status='queued', 'getting-server', 'retrying') no longer show '0 B / 0 B' when the file size hasn't been resolved yet.

    Two causes for the cosmetic bug:

    1. Files added via folder drag-drop or restored from a pre-3.3.55 persisted queue have bytesTotal=0 — the renderer never knew the file size.
    2. The size cell rendered 'formatSize(0) / formatSize(0)' = '0 B / 0 B' for any non-preview status, even when bytesTotal was missing.

    Fixes:

    • New _formatUploadedSize(job) helper centralizes the cell logic. Queued / getting-server / retrying rows with bytesTotal=0 now render '...' (same as preview), so the column reads as 'size unknown, will resolve' instead of falsely 'this file is 0 bytes'.
    • New _hydrateMissingJobSizes() helper collects all queueJobs paths with bytesTotal=0 and asks main via the existing get-file-sizes IPC. Sizes are patched in place, _queueStatsCache invalidated, queue + status bar re-rendered. Runs at: app boot after restore, and at every Start / startSelectedUpload click — so after Update + Restart, all waiting rows get their real sizes within ~50ms of the queue being visible.
    • Status bar ETA + bytes-remaining will now include the formerly-invisible bytes.
    Downloads