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

IJHack / QtPass / 44903167145
95%

Build:
DEFAULT BRANCH: main
Ran 21 Nov 2026 12:31PM 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 12:17PM UTC coverage: 94.663% (+0.009%) from 94.654%
44903167145

push

github

web-flow
Clipboard: ask whether one copy holds the other in linear time (#2285)

* Clipboard: compare the ends of a growing selection, not contains()

trackCopied() merges the steps of a selection that grows or shrinks, so
only where it ends stays tracked. It asked whether the new text contained
the previous one or the other way round. Both are entry text, and that
search can take time in the product of their lengths: a co-writer's entry
with a first line "baaa..." and a body "aaaa..." froze the window for
seconds to minutes once both were copied.

A selection keeps its anchor, so each step shares one end with the one
before. Compare the ends only, which is linear.

Scan finding ANT-2026-RJVIUJLX.

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

* Clipboard: keep merging a step that lies inside the next selection

Comparing only the ends missed a selection widened around a word: a
double-clicked "b", then Ctrl+A over "abc", kept "b" tracked, and a later
copy of "b" by another program would have been cleared. Ask whether one
text holds the other again, with Knuth-Morris-Pratt, which stays linear in
both lengths where QString::contains() did not.

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>

18 of 18 new or added lines in 1 file covered. (100.0%)

9436 of 9968 relevant lines covered (94.66%)

1509.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 44903167145.1 21 Nov 2026 12:31PM UTC 87
94.66
GitHub Action Run
Source Files on build 44903167145
  • Tree
  • List 87
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44903167145
  • e2a9dea8 on github
  • Prev Build on main (#44901831115)
  • Next Build on main (#44908490125)
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