Repository navigation
fix: close out validated 3.6.1 maintenance fixes and Settings appearance - #236
Merged
Merged
Conversation
Use Xcode's resolved build version for the generated footer and forward explicit TB_SENDER_BUILD overrides through the packaging helper. Extend the existing version regression test to cover CFBundleVersion.
startCapture() is async, and the first encoded frame can arrive while it is suspended. handleFirstEncodedFrame then sets captureActive and sessionAckSent. When startCapture returned, the status was set to captureStartedWaitingFirstFrame unconditionally, overwriting captureActive. handleFirstEncodedFrame runs only once per capture, so the status then read "waiting for the first frame" for the whole stream, although the picture was on the receiver. The watchdog already guards this case (startFirstFrameWatchdog returns when sessionAckSent is true); the status now gets the same guard. Seen on an iMac18,3 receiver: after a picture-preset change or a replug the stream was up, but the status kept saying it was waiting for the picture (3 of 4 preset changes). The first frame was logged 175-375 ms after "pipeline started". Co-Authored-By: Claude Opus 5.5 <[email protected]>
Decode every VideoToolbox frame (the HEVC reference chain must stay intact) but upload and present only the newest one, so a backlog after a keyframe burst or a slow present is skipped instead of being rendered one 22 MB 5K upload at a time. - Retain the newest CVPixelBuffer, release any older pending one; present once per main-loop pass; drop the pending frame on disconnect and exit. - Bound each socket drain pass to 8 ms (TB_DRAIN_BUDGET_MS) so presenting is never starved. - Request an 8 MB socket receive buffer, falling back to 6 MB then 4 MB. - FPS log reports decoded and skipped-stale counts when skipping happens. Software/VAAPI decode and the raw NV12 passthrough path are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The 5K 60 profile emitted a keyframe every second. Each one is a large burst that pushes receiver decode past its frame budget, so the stream stalled exactly at keyframes. For native5k60Experimental only: - keyframe every 4 s (maxKeyFrameIntervalDuration 1 -> 4, maxKeyFrameInterval 60 -> 240) - peak bit rate of 1.5x average (225 Mb/s) via kVTCompressionPropertyKey_DataRateLimits over a 1 s window; if the encoder rejects it we log and continue with average-only (old behaviour) Stable profiles keep their previous tuning (covered by testStableProfilesKeepPreviousEncoderTuning). Co-Authored-By: Claude Opus 5.5 <[email protected]>
tb_dec_supports_hevc_hwdecode() only checked that FFmpeg has a VideoToolbox hwaccel config and that a hwdevice context can be created. Both succeed on Macs without an HEVC decode block, where VideoToolbox silently falls back to its software decoder. The receiver then advertised supportsHEVCDecode=1 and the sender's automatic codec choice picked HEVC, which a 2014 iMac 5K can only decode on the CPU (VTDecoderXPCService at ~120% CPU, laggy pointer). Ask VideoToolbox directly with VTIsHardwareDecodeSupported (macOS 10.13+). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…size With the receiver now advertising HEVC only when it has a hardware decoder, an automatic 5K session to e.g. a Haswell iMac would find no codec at all: Apple Silicon has no hardware H.264 encoder at 5120x2880, and HEVC is no longer marked available. Fall back to HEVC (software-decoded on the receiver) so such sessions keep working exactly as before, while sizes H.264 can encode now get hardware-decoded H.264. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Settings window never set a colour scheme, so on a Mac in light mode its controls were light while the background and cards stayed dark. The background now matches the current appearance, and the shared card style tints with the primary colour instead of white. The dark main window looks exactly as before, and a light window gets soft grey cards. Co-Authored-By: Claude Fable 5.1 <[email protected]> (cherry picked from commit ff6c09c)
swellweb
added a commit
that referenced
this pull request
Nov 12, 2026
This was referenced Nov 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Maintenance Closeout - 12 November 2026
Scope
The new report since the rc.2 publication is #235 (Settings in light appearance).
No PR was created after that publication; #234 (4.0) is still a separate proposal.
The new comments on #223 confirm users' Ventura workarounds, not a rebuilt and
certified Ventura distribution. Do not lower the bundle minimum on that basis.
PRs #219, #220, #222, #230, #231 and #232 were already cherry-picked into rc.2.
Their original heads are now merged into the maintenance history, preserving
the reviewed follow-ups. The combined tree before the appearance fix is exactly
the tree at 6180f35: no runtime changes were introduced by those six merges.
In particular, packet-level cooperative yield, explicit software HEVC capability,
fail-closed fallback, build stamps and the #224 menu-bar fix remain intact.
The appearance-only ff6c09c commit from #208 is cherry-picked with its original
author and attribution. No volume-key interception or local-output muting ships
as part of this fix. Settings follows the system appearance; the dashboard and
About window retain their existing dark appearance. The backdrop is a small
production view shared with the new offscreen rendering regressions.
Fresh Validation
four light/dark background and card/subcard contrast regressions. This is not
a fresh application-hosted test run. The prior 196 app-host results remain
documented separately in 3.6.1-rc.2-validation.md.
cooperative budget, EINTR and teardown checks; codec fallback and video-queue
guards pass. All five localization catalogs and 13 negative checker cases pass.
attempt on the Xcode test host failed its copied XCTest framework seal; that
intermediate result is not counted as a distribution-signing failure or pass.
requests select only GraphQL issueCount, never issue/PR content.
Deferred Work
Do not close unrelated support issues merely because this maintenance batch
merges. In particular, intermittent disconnects are not fixed by the appearance
change. No installed app, active session, privacy grant or power policy was
intentionally changed or restarted during this closeout.
Publication And Review Policy
This is a source-maintenance merge, not a stable-release approval. Existing
v3.6.1-rc.2 archives and tag are immutable and do not contain the appearance fix.
Stable signing/notarization, repository Actions (currently disabled), controlled
reconnect/sleep/cable/soak acceptance and older macOS support are still gates.
After this batch, freeze a new UTC baseline in the dedicated GitHub automation.
Only count items created after that baseline, including already-closed items;
old open backlog, updates and reopened items do not count as new submissions.
Resume content review only when new PRs >= 10 AND new issues >= 10.
The Reddit monitor is independent and unchanged.