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

IJHack / QtPass / 43713983634
96%

Build:
DEFAULT BRANCH: main
Ran 15 Nov 2026 12:39PM 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 12:28PM UTC coverage: 96.263% (+0.07%) from 96.196%
43713983634

push

github

web-flow
Hide on close and Start minimized: only into a tray icon (#2185)

MainWindow::closeEvent() turned a close into a hide whenever "Hide on
close" was set, without asking whether a tray icon existed to bring the
window back. The setting outlives the icon: unticking "Show tray icon"
saves useTrayIcon=false with hideOnClose still true (the box is only
disabled, and readSettings() keeps a disabled box's value), and in a
session without a system tray initTrayIcon() gives up while the setting
stays. Closing the window then left QtPass running with no window and no
tray icon; only starting qtpass again brought it back, with the last entry
still in the panel, and the password stayed on the clipboard (with
autoclear off, the default) where a real close clears it.
restoreWindow() armed "Start minimized" the same way.

Both now hide only when m_tray exists; otherwise the close goes ahead, and
the window starts shown.

Test closeWithoutATrayIconDoesNotHide (tray asked for but none in the
session, and tray switched off); trayIconFollowsTheSetting expects the
window to stay shown without a system tray. Removing either guard fails a
test. closeWindowHonoursHideOnClose and
closeEventSavesGeometryAlsoWhenHidingToTray run the closing branch
offscreen now; their comments say so. Finding SWZB47G8.

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

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

2 existing lines in 1 file now uncovered.

8579 of 8912 relevant lines covered (96.26%)

585.74 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
97.6
0.51% src/mainwindow.cpp
Jobs
ID Job ID Ran Files Coverage
1 43713983634.1 15 Nov 2026 12:39PM UTC 87
96.26
GitHub Action Run
Source Files on build 43713983634
  • 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 #43713983634
  • 1587ec81 on github
  • Prev Build on main (#43712119443)
  • Next Build on main (#43715891009)
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