NanoTorrent 0.2.5
Added
- Toolbar above the torrent list — add magnet, add torrent, remove, start, stop and Preferences as coloured icon buttons, with tooltips. The three that act on a selection disable themselves until something is selected. Glyphs are drawn from Slint primitives rather than shipped as images, so one set serves both themes and there is no light/dark pair of PNGs to keep in step.
- Details tab bar — replaces the built-in
TabWidget, which stretched its tabs across the full width and had no room for an icon. Tabs are now sized to their content, each with a glyph. - Set location — the counterpart to Move storage: Move relocates the files, Set location relocates the torrent, for data moved by hand, onto another drive, or restored from a backup. Re-adding at the new folder makes the engine verify what is there, so an intact copy returns as complete and a partial one keeps whatever checks out. Nothing is deleted either way. In the context menu, on the web interface, and as
POST /api/torrents/{hash}/location. - Web Preferences drawer — hamburger at the top right slides in a panel with every setting the desktop dialog has, in the same five groups. Generated from the command line's own settings registry, so all three surfaces share one list, one set of types and one validator. Save changes writes the edits, applies them (the same session rebuild Preferences ▸ OK performs) and reloads.
- Web interface is localised — its own strings are substituted server-side from the same
lang/*.jsonthe desktop uses, so there is no flash of English and no extra request. 21 new strings across all 41 locales; the language picker lists endonyms. - Update check is surfaced — it already ran at startup but its result was discarded. Now opens a window offering the release page or Ignore this update, with Help ▸ Check for update for an on-demand check and a Preferences toggle.
- BEP support table in the README, checked against the vendored engine rather than the settings database — which is how it records that the
lsdpreference round-trips while BEP 14 is not implemented.
Fixed
- Burst of "download complete" notifications at startup for torrents that were already finished. A restored torrent reports unfinished while the engine verifies it and flips to finished a tick or two later, which the completion watcher could not distinguish from a real download. It now suppresses exactly one completion per torrent that already had a recorded finish, so a later recheck still announces properly.
- Taskbar icon went generic after 0.2.4 renamed the executable. The Start Menu shortcut carries the AppUserModelID, which is what Windows resolves the icon through, and it was only ever written once — so it still pointed at the old path. It is now rewritten whenever the target moves.
- "Changed the path and everything started downloading again." The folder Set location wants is the one that directly contains the files: an explicit output folder is used verbatim, and a multi-file torrent's paths exclude its own directory (BEP 3 keeps that in
info.name). Naming the parent found nothing, created empty files and re-downloaded everything. It now tries<chosen>/<torrent name>before giving up, and warns when neither has the data rather than quietly starting a large re-download. - Unselected details tabs looked disabled, especially in light mode — the greys were hardcoded. They now derive from the palette, roughly doubling contrast in both themes.
Notes
web-*settings are stored but not applied to the running server; restarting the HTTP interface from inside its own request would answer by dropping the connection. They take effect on the next start.- Translations remain AI-generated for every language but English — see the note at the bottom of the README.