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

IJHack / QtPass / 43701036262
96%

Build:
DEFAULT BRANCH: main
Ran 15 Nov 2026 10:02AM 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 09:48AM UTC coverage: 96.249% (-0.03%) from 96.28%
43701036262

push

github

web-flow
Search: Return in the search box only searches (#2180)

QLineEdit emits returnPressed() and leaves the Return key unaccepted, so
after on_lineEdit_returnPressed() had run, the same key reached
MainWindow::keyPressEvent(), which opened the tree's current entry with no
look at the search mode. In content search, Return started the search and
also decrypted and showed that entry, one the user had not asked for:
back in clear after the panel autoclear hid it, copied again with "Always
copy", and after a name search one never opened. Return on an empty box in
content search did the same. In the name search Return decrypted the first
hit twice. Return on a content search result opened the entry hidden
behind the list, not the result.

eventFilter() hands Return and Enter in the search box to the box itself
and then stops them, so returnPressed() runs as before and the window
never sees the key. While the results list hides the tree, keyPressEvent()
opens the focused list's current result, as a click does, and never the
hidden tree's entry.

Tests returnInTheSearchBoxEndsThere (content search, empty box, name
search decrypts once) and returnOnAContentSearchResultOpensIt. Removing
the filter, the hidden-tree branch or the result's opening each fails a
test; stopping Return only in content search fails the "decrypts once"
check (2 decrypts). Finding VIZFX94A.

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

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

3 existing lines in 1 file now uncovered.

8545 of 8878 relevant lines covered (96.25%)

577.93 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
92.37
-2.54% src/nativegrep.cpp
Jobs
ID Job ID Ran Files Coverage
1 43701036262.1 15 Nov 2026 10:02AM UTC 87
96.25
GitHub Action Run
Source Files on build 43701036262
  • Tree
  • List 87
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43701036262
  • 0c2497aa on github
  • Prev Build on main (#43697648335)
  • Next Build on main (#43708158596)
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