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

IJHack / QtPass / 35599801048
93%

Build:
DEFAULT BRANCH: main
Ran 21 Sep 2026 12:37PM UTC
Jobs 1
Files 114
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 Sep 2026 12:29PM UTC coverage: 79.025% (+0.04%) from 78.987%
35599801048

push

github

web-flow
Menu bar follows a KDE theme switch like the toolbar does (#1874)

* Menu bar follows a KDE theme switch like the toolbar does

Breeze's ToolsAreaManager stamps one "header" palette on the QMainWindow's
menu bar and its top toolbars, and after a runtime light/dark switch it
re-applies that palette from a KSharedConfig it never reparses, so both
bars keep the previous theme. #1669 filtered PaletteChange on the toolbar
and dropped the stale palette; the menu bar, new in 2.0, was left out and
stayed dark on a light window (#1868).

The filter now watches the menu bar too, and one deferred slot judges both
bars. Three things the toolbar fix got wrong are put right for both on the
way, each found by trying to break the generalisation:

- The bars' background role is Button, so the "visible reset" painted the
  button colour (#fcfcfc on Breeze Light, #31363b on Dark), not the window
  colour, and once autoFillBackground was on a header Breeze later stamped
  rightly (dark→light round trip) was kept in the palette yet painted as
  Button. The reset bars paint the Window role, which is also what a header
  palette puts there.
- A bar's palette() reads the inactive colour group while another window
  (the settings app, during a switch) has focus, and Breeze's header set
  has inactive colours of its own; the comparison reads the Active group on
  both sides.
- Breeze stamps the header at startup through the same code, from a fresh
  config; a scheme with a dark header on a light body was undone by QtPass
  alone. A stamp is only suspect once an ApplicationPaletteChange has
  reached the window in its lifetime, noted in MainWindow::event().

Tests (tst_mainwindow, data-driven over both bars): the stale stamp is
dropped after a switch, with the switch drained first so that the bar's own
PaletteChange has to trigger it (the menuBar row is red without the menu
bar filter: the toolbar's PaletteChange from the switch itself used to run
the slot for it), the reset ba... (continued)

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

7294 of 9230 relevant lines covered (79.02%)

79.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 35599801048.1 21 Sep 2026 12:37PM UTC 114
79.02
GitHub Action Run
Source Files on build 35599801048
  • Tree
  • List 114
  • Changed 4
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35599801048
  • 3ff853d0 on github
  • Prev Build on main (#35597732343)
  • Next Build on main (#35616083387)
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