mirror of
https://github.com/got-feedBack/feedBack-desktop.git
synced 2026-07-26 23:01:20 +00:00
Users reported that while in Rig Builder, suddenly every text box in the app stops accepting input, app-wide, until they hit the Windows key. Cause: on Windows, VST editors open as top-level windows owned by the out-of-process vst-host sandbox (the WndProc crash fix). When that child-process window closes while holding keyboard focus — the user clicks its X, or a chain rebuild tears editors down — Windows leaves the Electron window looking active while the OS keyboard focus points at nothing: Chromium still gets pointer events but no keys. The Windows key "fix" works because it forces an OS foreground cycle. Fix: preload.ts installs a win32-only capture-phase pointerdown watchdog. A click landing while document.hasFocus() is false means the OS won't type into the window being clicked — it asks main via window:recoverFocus to run win.blur() + win.focus() (blur first: in the stale state Electron may believe the window is already focused, so a bare focus() can no-op). The user's first click inside the dead window self-heals it, covering every trigger path without having to enumerate them. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .claude/skills | ||
| .devcontainer | ||
| .github/workflows | ||
| .packages | ||
| .specify | ||
| cmake | ||
| docs | ||
| JUCE@9971c75b2c | ||
| resources | ||
| scripts | ||
| src | ||
| tests | ||
| .build-config.json | ||
| .gitignore | ||
| .gitmodules | ||
| CMakeLists.txt | ||
| CONTRIBUTORS.md | ||
| LICENSE | ||
| package.json | ||
| THIRD_PARTY_LICENSES.md | ||
| tsconfig.json | ||
| WINDOWS_BUILD_REQUIREMENTS.md | ||