fix(#349): address Gemini review of window geometry
Three findings from the adversarial review (standards#145), all real, all fixed: - Move-then-close inside the 400ms debounce lost the final position. The service now setPreventClose(true) and saves on onWindowClose before destroying the window, so the closing frame is always persisted. - _isReachable mixed a display's visible ORIGIN with its total SIZE when visibleSize was null, producing a rect offset from the real area. It now uses the visible pair when both are known, else the total pair. Negative visiblePosition (a monitor left of/above primary) is handled by intersect(). - The window listener and debounce timer are now released in onWindowClose. flutter analyze clean, dart format clean, 509 tests pass.feat/349-window-geometry
parent
57d7c0549b
commit
c331d8d037
Loading…
Reference in new issue