Skip to content

Rebuild native renderer binaries - #770

Merged
SimonCropp merged 3 commits into
mainfrom
native-binaries-fix-mac-viewer-window-never-shown
Aug 21, 2026
Merged

Rebuild native renderer binaries#770
SimonCropp merged 3 commits into
mainfrom
native-binaries-fix-mac-viewer-window-never-shown

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Rebuilt diffengine_viewer from native/ for the four RIDs that load one.
Windows is not among them: that head renders with WinForms.

Produced by the build-native workflow from c4b7324.

SimonCropp and others added 3 commits August 21, 2026 20:35
makeWindow() built the NSWindow, centred it and attached the scroller, but never
ordered it front. The only makeKeyAndOrderFront was in show(), reached from
deview_set_hidden(0) and deview_focus, which the managed loop issues only while
draining window commands off the socket.

So the ordinary launch — a patch on stdin, no second patch behind it — presented
at 60 fps into a window that was never on screen: a Dock icon with nothing under
it until another patch happened to arrive. CI never saw it because the pixel
tests capture with hidden: true, which is the one path that deliberately builds
no window at all.

A visible open now goes through show() as well, so ordering front lives in one
place rather than being a property of how the process was driven.

Note that the committed dylibs under src/DiffEngineViewer.Mac/runtimes are not
rebuilt by this commit; they need a build-native run.
Base automatically changed from fix-mac-viewer-window-never-shown to main August 21, 2026 23:31
@SimonCropp
SimonCropp merged commit 4fec40a into main Aug 21, 2026
9 checks passed
@SimonCropp
SimonCropp deleted the native-binaries-fix-mac-viewer-window-never-shown branch August 21, 2026 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant