Repository navigation
Conversation
oneo-me
marked this pull request as ready for review
November 24, 2026 15:09
oneo-me
force-pushed
the
1375-live-resize-checks
branch
from
November 24, 2026 15:09
a2a92bd to
5ca9840
Compare
oneo-me
enabled auto-merge (rebase)
November 24, 2026 15:09
This was referenced Nov 24, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
oneo-me
force-pushed
the
1375-live-resize-checks
branch
from
November 24, 2026 18:12
5ca9840 to
b26e3ae
Compare
auto-merge was automatically disabled
November 24, 2026 18:30
Pull request was closed
Collaborator
Author
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.
Refs #1375
Adds two opt-in live checks (
NSGO_LIVE_RESIZE=1) that read the screen through a window whose app takes 12 ms to style each size, and records what they found inapplication.mdand the roadmap.TestEdgeDragShowsEachSizeLaidOut): drags the right edge with the system pointer through the modal sizing loop, 400 px out and back, sampling the composed screen three times per step. On a Windows 11 desktop (build 26300, scale 1.0): 3 of 3 runs show no stretched frame or window background in 240 samples. WithresizeWaitcut to 1 ns, 3 of 3 runs fail, with 38 to 40 bad samples each. An app that takes 40 ms per size (past the bound) fails either way, so the check does see these frames.TestCompositorResizeShowsEachSizeLaidOut): steps a floating window's width through Hyprland 0.56's Lua dispatchers, with animations off, and reads one row withgrim. Debug logging showed every allocation getting its commit within the wait (about 12.2 ms, no timeouts). Even so, 156 to 159 of 160 samples showed the previous size's layout at the new size, with the last view stretched to the edge. With a 4 ms app about half the samples do, and with a 0 ms app 1 of 160. RaisingresizeWaitto 100 ms changes nothing. This test fails today and documents the Linux gap left in Application: Resizes that keep up on Windows and Linux #1375.Run on Windows from an interactive desktop session:
NSGO_LIVE_RESIZE=1 go tool nsgo test -run TestEdgeDragShowsEachSizeLaidOut ./internal/platform/windows🤖 Claude Opus 5.5
🤖 Generated with Claude Code