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

IJHack / QtPass / 44938410719
95%

Build:
DEFAULT BRANCH: main
Ran 21 Nov 2026 07:09PM 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

21 Nov 2026 06:58PM UTC coverage: 94.698% (+0.006%) from 94.692%
44938410719

push

github

web-flow
Display: wrap a run of letters without spaces anywhere (#2295)

* Display: wrap a run of letters without spaces anywhere

The display limits count lines, never their length. Qt wraps a run
without a break opportunity at word boundaries in time quadratic in its
length: one line of 400 000 letters in a small compressed entry froze the
window for about ten seconds, longer lines for minutes.

Util::hasLongUnbrokenRun() finds a run of more than 10 000 characters
without white space, which no prose has. The main text browser, a field's
value row and the edit dialog's notes then wrap anywhere, which is linear;
anything else keeps word wrap.

Scan finding ANT-2026-0RRSZ1YR.

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

* Display: decide the main browser's wrap from the text shown

flashText() looked for a long run in the HTML it was given. Markup splits
a run there, not on screen: a link's "<a href" has a space, so 100 links
of 4 000 letters each showed as one run of 400 000 and kept word wrap.
Wrap anywhere while the text goes in, then go back to word wrap unless the
text shown has such a run.

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

* Display: a no-break space does not end a run

Qt does not wrap at U+00A0, U+2007 or U+202F, but isSpace() is true for
them, and toPlainText() turns U+00A0 into a plain space. 4 000-letter runs
joined by no-break spaces kept word wrap. Count those as part of a run and
measure the main browser's raw text.

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

---------

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

12 of 12 new or added lines in 4 files covered. (100.0%)

9502 of 10034 relevant lines covered (94.7%)

2541.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 44938410719.1 21 Nov 2026 07:09PM UTC 87
94.7
GitHub Action Run
Source Files on build 44938410719
  • Tree
  • List 87
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44938410719
  • 5dc34405 on github
  • Prev Build on main (#44933319237)
  • Next Build on main (#44942146864)
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