You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Auto-collapse and click-outside dismissal blocked by thin KVM hot-border windows etc. #548
[macos 27.2] The popup detection in AutoCollapsePopupGuard has two geometry-related problems:
Thin windows can incorrectly block auto-collapse. Narrow screen-edge windows may be classified as menu-bar popups simply because they touch the area below the menu bar. This prevents both timed auto-collapse and click-outside dismissal, even when no menu is open.
Locally tested fix:
Ignoring popup candidates with a width or height below 8 points resolves this case. This also covers thin horizontal hot-border windows. Existing popup tests and additional hot-border regression tests passed.
Actual popups can fail to block auto-collapse. The detection rejects windows whose upper edge extends above the menu-bar band. On macOS 27, legitimate menu-bar popups can have such bounds. Hidden Bar then collapses the icon section while the popup is still open.
Locally, excluding extremely thin windows and allowing popup bounds to extend above the screen resolved both behaviors: open menus keep the section expanded, and automatic collapse works again after they close.
Locally tested fix:
Removing the lower bound on frame.minY, while retaining the intersection, downward-extension, ownership/layer, and thin-window checks, resolves the observed case.
After the change, all menus tested remained open without triggering collapse, and automatic collapse worked again after closing them. All 20 popup-guard tests passed, including new regression tests for above-screen popup bounds and thin hot-border windows.
Activity
fix(native): auto-hide popup guard, clock replay point, hold logging (c…