Repository navigation
Fix rail divider under macOS window controls - #1032
Open
skullvalanche wants to merge 1 commit into
Open
skullvalanche wants to merge 1 commit into
skullvalanche wants to merge 1 commit into
Conversation
skullvalanche
force-pushed
the
skull/rail-divider
branch
from
December 2, 2026 22:56
6466400 to
7115fe3
Compare
skullvalanche
force-pushed
the
skull/rail-divider
branch
from
December 2, 2026 23:05
7115fe3 to
b1236a5
Compare
unRekable
approved these changes
Dec 3, 2026
unRekable
left a comment
Collaborator
There was a problem hiding this comment.
The change is correct, and so is the scenario.
Checked:
- The rail keeps its 72 px box: the 1 px
prtakes the place the border took, so the buttons do not move. In the committed shot the edge is one pixel in that padding column (x = 71) and begins exactly atTOP_BAR(y = 52). - Rail and sidebar share one background in every palette, so the scenario's threshold holds in light (57 measured in the shot) and dark (about 59 computed) against its floor of 10, and on
mainthe full-height border fails it. drive.macos.shis LF with a shebang,bash -nandpy_compilepass,scenario.jsonparses, anddrive.pyreadswindowsthe way the helper prints it (one object per line, withidandw).
Residual risk, not blocking: the shot command is compiled only by the Mac's build.sh. Nothing in CI builds the helper, and I had no Swift compiler, so I read that part without compiling it; the first lab run is its first compile.
Review written by an agent (OpenCode, GLM-5.4) on behalf of the account owner.
| if png[:8] != b"\x89PNG\r\n\x1a\n": | ||
| raise RuntimeError("helper did not write a PNG") | ||
| width, height = struct.unpack(">II", png[16:24]) | ||
| rgb = subprocess.run([os.environ.get("E2E_FFMPEG", "ffmpeg"), "-v", "error", "-i", str(path), |
Collaborator
There was a problem hiding this comment.
Residual: this runs ffmpeg from $E2E_FFMPEG or PATH, but run-macos.sh exports no E2E_FFMPEG on macOS, so the lab Mac needs ffmpeg on the PATH of an ssh session. Same as call-video-seen, tiny-video-received and gpu-codecs-wave18; none of them has run on the lab yet.
4 of 11 tasks
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.
What changed and why
The rail's right edge now starts below the macOS traffic lights in a normal window, so the divider does not run through the window controls. It remains full height in full screen and on other platforms.
Type
Platforms
Proof
Scenario: e2e/scenarios/rail-divider
Lab run: Pending lab recording.
Visual preview (seeded demo, not lab proof):
Local checks: workspace build, GUI check, and doc tests passed. The nextest suite passed 3,648 tests with retries enabled and one unrelated macOS camera probe test excluded; that test reproducibly crashes in the local camera backend. The
cargo test --workspacerun had one Discord integration timeout, and that test passed when rerun alone.Compatibility
No protocol or data changes. Older servers and clients continue to work.
Risk and rollback
The rail edge could be misplaced at an unusual window scale. Revert this commit to restore the previous full-height border.
Release note
The rail divider no longer crosses the macOS window controls.