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

umputun / agterm / 33928854654
93%

Build:
DEFAULT BRANCH: master
Ran 04 Sep 2026 11:19PM UTC
Jobs 1
Files 120
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

04 Sep 2026 11:16PM UTC coverage: 97.281% (+0.001%) from 97.28%
33928854654

push

github

web-flow
fix(titlebar): read the window title in child views, not WindowContentView.body (#548)

PR B for #516, after #547. `WindowContentView.body` read the active session's `displayName` twice, for the OS title token and for the visible title row, so every OSC title tick invalidated the whole body and re-ran SwiftUI's graph and layout for the window. `WindowAccessor.updateNSView` then ran the full `WindowAppearance.sync` when only `NSWindow.title` had changed.

two child views now own those reads. `WindowTitleSync` resolves the OS title in its own body and hosts `WindowAccessor`; `TitlebarLabel` resolves `TitlebarComposition` for the visible row, and the zoom titlebar reuses it. The parent passes the store and ids and no title. `WindowAccessor` writes `window.title` on a token change and keeps the blend on attach, key, main, fullscreen, appearance and accessibility changes, which already carry every other blend input. The custom window name lookup moved into `WindowLibrary` next to `windowName(for:)`, and the dashboard title uses it.

tests: hosted, a `TitleProbeView` title write leaves a separator sentinel the full blend would reset, a title set before attach survives attachment, and `WindowTitleSync` hosted in `NSHostingView` follows an OSC title, a session rename and a window rename to `NSWindow.title`. Host-free, the `customWindowName(for:)` cases.

profile, Time Profiler, Debug builds of a8bbaa5a and this branch, isolated state, sidebar hidden, one session printing numbered OSC 2 titles at about 10 Hz, two recordings of about 20 s each, main thread only. Values are inclusive main-thread sample weight in ms:

| symbol | a8bbaa5a | this branch |
| --- | --- | --- |
| `WindowContentView.body.getter` | 212 | 0 |
| `WindowTitleSync.body` / `TitlebarLabel.body` | absent | 6 / 28 |
| `WindowAppearance.sync` | 70 | 0 |
| `-[NSWindow _dosetTitle:andDefeatWrap:]` | 187 | 213 |
| `GraphHost.flushTransactions` | 1086 | 539 |
| main thread, all samples | 1774 | 978 ... (continued)

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

9661 of 9931 relevant lines covered (97.28%)

4108896.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33928854654.1 04 Sep 2026 11:19PM UTC 120
97.28
GitHub Action Run
Source Files on build 33928854654
  • Tree
  • List 120
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33928854654
  • c3860d1f on github
  • Prev Build on master (#33924276201)
  • Next Build on master (#33937649796)
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