← Commit history

v0.9.150: park = minimize-no-activate from first sighting (hwnd churn during eeschema load reset the fight threshold and every positional round flickered)

John Lauer ·a8d01798d8 ·1mo ago ·parent 3b8871c
5 files changed +11−8
BRIDGE_VERSION+1−1
@@ -1 +1 @@-0.9.149+0.9.150
adom-bridge-kicad-manifest.json+5−5
@@ -1,15 +1,15 @@ {   "manifest_version": 1,   "name": "kicad",-  "version": "0.9.149",-  "url": "https://wiki.adom.inc/download/adom/kicad-bridge/0.9.149/adom-bridge-kicad-v0.9.149.zip",-  "sha256": "c7a6c63fb953b57cb1e014661b2ce2e31dea3cc896dc7e872647146fc34f45e3",-  "size": 419858,+  "version": "0.9.150",+  "url": "https://wiki.adom.inc/download/adom/kicad-bridge/0.9.150/adom-bridge-kicad-v0.9.150.zip",+  "sha256": "9cd704b9ae8027d0e9e1ec6f90f2715542d539a24704aef8b1bd65d02ddd08f9",+  "size": 419952,   "verbPrefixes": [     "kicad_"   ],   "healthEndpoint": "/status",-  "released_at": "2026-08-17T14:38:31Z",+  "released_at": "2026-08-17T14:39:55Z",   "hero": "https://wiki.adom.inc/blob/app/kicad-bridge/kicad-hero.png",   "languages": [     "Python",
adom-bridge-kicad-v0.9.150.zipadded
⋯ 1 unchanged line ⋯
bridge.json+1−1
@@ -2,7 +2,7 @@   "manifest_version": 1,   "name": "kicad",   "displayName": "KiCad EDA",-  "version": "0.9.149",+  "version": "0.9.150",   "description": "Reverse bridge for KiCad \u2014 board/schematic introspection, lint via kicad-cli, plugin install, multi-instance probe, in-process DRC.",   "homepage": "https://wiki.adom.inc/adom/adom-bridge",   "author": "Adom Inc.",
handlers/win_focus.py+4−1
@@ -508,7 +508,10 @@ def _park_offscreen(hwnd) -> None:         # instead. wx does not un-minimize itself; the taskbar button still         # works; the screenshot path restores off-screen for capture.         _park_fights[hwnd] = _park_fights.get(hwnd, 0) + 1-        if _park_fights[hwnd] >= 4:+        if _park_fights[hwnd] >= 1:  # minimize from first sighting: eeschema+            # recreates hwnds during load, resetting any higher threshold, and+            # every positional fight round is a visible flicker. Minimize wins+            # instantly and wx never un-minimizes itself.             wp.flags = 2 if was_max else 0  # WPF_RESTORETOMAXIMIZED             wp.showCmd = 7  # SW_SHOWMINNOACTIVE             _user32.SetWindowPlacement(hwnd, ctypes.byref(wp))