Repository navigation
Conversation
crmne
added a commit
to crmne/fastframe
that referenced
this pull request
Oct 2, 2026
The forks section now lists every patch the egui and winit forks carry, with its fork commit and its upstream pull request (or that it needs one), under the rule that a patch stays in the fork until an egui or winit release includes it. The recommended revisions move to crmne/egui ba6790fe and crmne/winit ed7caa90, which add the accessibility focus fix (emilk/egui#8621), an OpenGL compatibility-profile fallback (#8655), the window size restored at any zoom (#8656) and a dropped macOS window ordered out before it closes (rust-windowing/winit#4728). An app that worked around the zoom shrink drops its workaround with them. The block builds in a scratch app on fastframe v0.2.3 with one egui and one winit, both from the forks.
crmne
added a commit
to crmne/zapfast
that referenced
this pull request
Oct 3, 2026
The shared forks now carry four fixes every app on them wanted: - winit orders a dropped macOS window out before closing it. On Touch Bar Macs AppKit threw while tearing the window down, and the closed window stayed on screen, looking frozen (#260, rust-windowing/winit#4728). - egui moves the accessibility focus to the root when the focused widget has no node yet, which crashed renaming a group on Windows (#313, emilk/egui#8621). - eframe falls back to a compatibility-profile OpenGL context, so drivers without OpenGL 3.3 or ES through WGL can still start the app (#349, emilk/egui#8655). - eframe saves the zoom factor with the window size, so a window no longer shrinks each time it reopens at a zoom other than 100% (#293, emilk/egui#8656). ZapFast's own window_builder hook for that is removed: with the fixed eframe it would scale the size twice.
intellq
pushed a commit
to intellq/zapfast
that referenced
this pull request
Oct 3, 2026
The shared forks now carry four fixes every app on them wanted: - winit orders a dropped macOS window out before closing it. On Touch Bar Macs AppKit threw while tearing the window down, and the closed window stayed on screen, looking frozen (crmne#260, rust-windowing/winit#4728). - egui moves the accessibility focus to the root when the focused widget has no node yet, which crashed renaming a group on Windows (crmne#313, emilk/egui#8621). - eframe falls back to a compatibility-profile OpenGL context, so drivers without OpenGL 3.3 or ES through WGL can still start the app (crmne#349, emilk/egui#8655). - eframe saves the zoom factor with the window size, so a window no longer shrinks each time it reopens at a zoom other than 100% (crmne#293, emilk/egui#8656). ZapFast's own window_builder hook for that is removed: with the fixed eframe it would scale the size twice. (cherry picked from commit 4b0f79b) Fork: vendor/winit recebe o diff fb8b24c..ed7caa9 do crmne/winit, mantendo o patch de posição do arrasto; fica o size_within_monitor do fork.
On Macs with a Touch Bar, closing a window made AppKit throw an NSRangeException in the next display-cycle flush, from -[_NSTouchBarFinderObservation invalidate], because the view it observed for nextResponder had already been unregistered. An application that catches the exception keeps running, but the Core Animation transaction is cut short and the closed window stays on screen. Resign the first responder while the view still exists, order the window out and flush the Core Animation transaction before closing.
crmne
force-pushed
the
macos-close-orderout-before-close
branch
from
October 14, 2026 21:16
340c46f to
0ccb76d
Compare
3 tasks done
Author
|
Rebased onto master to resolve the changelog conflict. The 0.30 backport is #4764. |
This was referenced Oct 20, 2026
caue-r
pushed a commit
to caue-r/zapfast
that referenced
this pull request
Nov 8, 2026
The shared forks now carry four fixes every app on them wanted: - winit orders a dropped macOS window out before closing it. On Touch Bar Macs AppKit threw while tearing the window down, and the closed window stayed on screen, looking frozen (crmne#260, rust-windowing/winit#4728). - egui moves the accessibility focus to the root when the focused widget has no node yet, which crashed renaming a group on Windows (crmne#313, emilk/egui#8621). - eframe falls back to a compatibility-profile OpenGL context, so drivers without OpenGL 3.3 or ES through WGL can still start the app (crmne#349, emilk/egui#8655). - eframe saves the zoom factor with the window size, so a window no longer shrinks each time it reopens at a zoom other than 100% (crmne#293, emilk/egui#8656). ZapFast's own window_builder hook for that is removed: with the fixed eframe it would scale the size twice.
aleliras
added a commit
to aleliras/zapfast
that referenced
this pull request
Nov 23, 2026
The shared forks now carry four fixes every app on them wanted: - winit orders a dropped macOS window out before closing it. On Touch Bar Macs AppKit threw while tearing the window down, and the closed window stayed on screen, looking frozen (crmne#260, rust-windowing/winit#4728). - egui moves the accessibility focus to the root when the focused widget has no node yet, which crashed renaming a group on Windows (crmne#313, emilk/egui#8621). - eframe falls back to a compatibility-profile OpenGL context, so drivers without OpenGL 3.3 or ES through WGL can still start the app (crmne#349, emilk/egui#8655). - eframe saves the zoom factor with the window size, so a window no longer shrinks each time it reopens at a zoom other than 100% (crmne#293, emilk/egui#8656). ZapFast's own window_builder hook for that is removed: with the fixed eframe it would scale the size twice.
This branch has not been deployed
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.
On Macs with a Touch Bar, dropping a
Windowcalls-[NSWindow close], and in the next display-cycle flush AppKit throws:NSRangeException: Cannot remove an observer <_NSTouchBarFinderObservation> for the key path "nextResponder" from <WinitView> because it is not registered as an observer.The stack runs from
NSTouchBarFinderSetNeedsUpdateOnMain_block_invoke_2throughNSDisplayCycleFlushandCA::Transaction::committo a run loop observer inside-[NSApplication run]. An application that catches the exception keeps running, but the Core Animation transaction is cut short, so the closed window stays on screen and looks frozen. This was reported against an Intel MacBookPro16,1 on macOS 26 by an app that keeps running in the tray after its window closes (crmne/zapfast#260).Before closing,
Window::dropnow:CATransaction(looked up at runtime, so no new dependency), so the window leaves the screen before anything later in the display cycle can interrupt it.Then it calls
close()as before. Each of these steps is harmless on Macs without a Touch Bar.Tested: built on macOS (arm64, no Touch Bar), where windows that are created and dropped while the event loop keeps running leave the screen at once and the loop exits cleanly. Draft until it is confirmed on Touch Bar hardware.
changelogmodule