github paolostivanin/OTPClient v5.0.1

4 hours ago

Bug-fix release for 5.0.0.

Importing a QR code into a database that already contained tokens left the previously-imported entries duplicated in the JSON array. The duplicates also caused delete and group actions to appear to target the wrong row, since the second action would land on the phantom copy of the entry rather than the one the user clicked. If your 5.0.0 database has been corrupted by repeated QR imports, you can clean it up by deleting the duplicate entries.

Community thanks

A massive shoutout to @CodingOtaku for identifying the three major bugs fixed in this version. Not only did they catch the issues (#435, #436, #437), but their detailed reports and help with testing made squashing them a breeze.

Fixes

  • QR import (file picker and webcam) no longer duplicates pre-existing tokens (#435). Root cause: data_to_add was not cleared after update_db, so subsequent imports re-merged the entire list.
  • Set Group / Remove from Group / New Group act on the right token when a group filter or column sort is active (#437).
  • Token actions — delete, edit, show QR, move to database, HOTP increment — act on the right token when a filter or column sort is active. Same root cause as #437: bare selection position was used as a JSON index, ignoring the filter+sort offset.
  • Clicking a database row in the sidebar now actually loads that database (#436). The selection callback was an empty stub left over from the AdwOverlaySplitView refactor.

Multi-database improvements

  • The sidebar now distinguishes the default database (loaded on startup, marked with a star) from the currently open database (shown in bold).
  • Creating or opening an additional database no longer overrides which one loads on startup — that's now controlled exclusively by right-click → Set as Primary. Previously, every new or opened database silently became the default.
  • Set as Primary now persists across restarts. The startup sidebar repopulation was clobbering the saved choice with whichever database happened to be added to the list first.

sha256: df09be194ef9ab8a63f078f9eceb8a2da2d36b7fec871bbb386d309e39421ba9

Don't miss a new OTPClient release

NewReleases is sending notifications on new releases.