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

IJHack / QtPass / 43695847678
96%

Build:
DEFAULT BRANCH: main
Ran 15 Nov 2026 08:54AM 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

15 Nov 2026 08:43AM UTC coverage: 96.275% (+0.02%) from 96.257%
43695847678

push

github

web-flow
Entry text: show and copy it with its whitespace as stored (#2178)

* Entry text: show and copy it with its white space as stored

The text of an entry below its fields went through formatOutput() into
the text browser as rich text, and rich text collapses white space: two
spaces in a row became one, indentation was dropped and a tab became a
space. Select All + Copy then handed back that text, so a recovery phrase
or an indented block copied out of QtPass was not the one stored. With
"Show the file content as-is" the password line went the same way, and a
field value with a link in it (the rich-text branch of valueBrowser())
lost its spacing too. Issue #210 was fixed in 2016 with   and broken
again in 1.4.0 when that step was dropped.

formatOutput() and the linked branch of valueBrowser() now wrap their
HTML in white-space: pre-wrap, so the text reads back as stored and long
lines still wrap. The git and gpg output shown in the same browser keeps
its columns as well. Because white space is kept, formatOutput() first
folds "\r\n" to "\n" (else every CRLF line got a blank line after it) and
shows a lone "\r" as a space, as before: as a block of its own it would
slip past the 10000-line display cap.

With white space kept, Qt's line layout never finishes a wrapped line
with 65536 or more spaces in a row (seen on Qt 6.11 and 6.12; ideographic
and em spaces, \v and U+0085 count too). One crafted entry would have
frozen the window. Util::boundSpaceRuns() cuts every such run to 1000
characters, in one pass, before the text is shown: in formatOutput() and
in both branches of valueBrowser(). The plain branch hung on main already.
The copy buttons still hand over the stored value.

Tests formatOutputKeepsWhiteSpace, formatOutputFoldsCarriageReturns and
formatOutputCutsRunsOfSpacesQtCannotLayOut (tst_qtpass),
entryTextKeepsItsWhiteSpace (tst_mainwindow),
fieldValueWithUrlKeepsItsWhiteSpace and
longRunsOfSpacesAreCutForDisplayOnly (tst_passworddisplaypanel... (continued)

21 of 21 new or added lines in 3 files covered. (100.0%)

8530 of 8860 relevant lines covered (96.28%)

571.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43695847678.1 15 Nov 2026 08:54AM UTC 87
96.28
GitHub Action Run
Source Files on build 43695847678
  • Tree
  • List 87
  • Changed 5
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43695847678
  • 10c1fc70 on github
  • Prev Build on main (#43637362390)
  • Next Build on main (#43697648335)
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