• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IJHack / QtPass / 43622461796
96%

Build:
DEFAULT BRANCH: main
Ran 14 Nov 2026 05:53PM UTC
Jobs 1
Files 87
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Nov 2026 05:41PM UTC coverage: 96.26% (-0.002%) from 96.262%
43622461796

push

github

web-flow
Add password: keep typed field values when the template changes (#2166)

* Add password: keep typed field values when the template changes

setTemplate() removed every field row (removeRow() deletes the line edit
and its text) and built new, empty ones. In Add password, changing the
Template box or pressing Ctrl+T after typing into the rows therefore
emptied them, and with a single template Ctrl+T rebuilt the same rows
empty, which was all it did.

setTemplate() now holds every non-empty value, with its verbatim source
line and the typed-OTP mark, before it removes the rows. A value the new
template has a row for goes into that row; any other becomes a field row
of its own (FieldLabel, renamable and removable), built by the new
addFieldRow() that setPassword() now shares. cycleTemplate() returns when
the next template is the current one.

reloadAndTemplateChangeDropOldFieldRows asserted that an applied template
drops an entry's other fields; its point was no duplicates, so it becomes
reloadAndTemplateChangeKeepEachFieldOnce: one login row, written once.
New tests typedValuesSurviveATemplateSwitch and
ctrlTWithOneTemplateKeepsTheRows. Each of the four parts, removed in turn,
fails a test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Anne Jan Brouwer <brouwer@annejan.com>

* Template switch: keep the typed-OTP mark on a value moved to a field row

setTemplate() carried the mark that the OTP value was typed by hand only
into a row of the new template. A value the new template has no row for
became a field row without it, so save() no longer turned a typed bare
secret into an otpauth:// URI. The field row now gets the mark as well.

Test typedOtpStaysMarkedAcrossATemplateSwitch types a bare secret into the
OTP row and, with that row still focused, switches to a template without
it; the saved entry has the URI. It fails without the change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Anne Jan Brouwer <b... (continued)

49 of 50 new or added lines in 1 file covered. (98.0%)

8443 of 8771 relevant lines covered (96.26%)

469.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.75
-0.16% src/passworddialog.cpp
Jobs
ID Job ID Ran Files Coverage
1 43622461796.1 14 Nov 2026 05:53PM UTC 87
96.26
GitHub Action Run
Source Files on build 43622461796
  • Tree
  • List 87
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43622461796
  • 9de85c7b on github
  • Prev Build on main (#43617539964)
  • Next Build on main (#43623853110)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc