Background nbrowser / UIA session raised a Chrome window over the user's work, and opens during a bridge respawn leave orphan windows
What happened. On 2026-10-30, between about 11:25 and 11:46 AM CT, an AI thread ("senior-design-proposal") drove a Google Drive PDF in Drew's real Chrome on adom_drew2 to set up an eSignature request. Every window it opened was opened with nbrowser_open_window, which is meant to stay in the background. Drew reported mid-task: "please stop stealing foreground from me." He says this has been happening often lately. nbrowser_events recorded no focus_violation for the session, so nothing logged or reverted the raise.
What the thread called on that window, in order (window hwnd 2035308, nb session prof-send):
nbrowser_open_windowwithprofile: chrome:[email protected].nbrowser_click,nbrowser_evalandnbrowser_screenshot, repeated.desktop_find_controlanddesktop_find_controls(UIA, read-only) withhwnd: 2035308.desktop_ui_click(UIA Invoke) on the panel's "Request signature" button. Thenbrowser_clickon that button did nothing, and this did open the dialog.desktop_ui_seton two signer comboboxes and the message box, plusdesktop_ui_clickon two suggestion list items.desktop_ui_get. This one took 6.8 s, failed withuia_not_found ... after wake-retry, and is the call running when Drew complained.
The responses that report it all say "foreground": {"predicted": "background", "raised": false}, but Drew saw the window come forward. My suspects, which I have not confirmed: the UIA wake-retry path, and Invoke and SetValue on Chromium web content.
Second problem in the same session. Twice, nbrowser_open_window ran just as ab respawned the native-browser bridge after an auto-update (0.16.61 to 0.16.63). The call returned ok, but the next verb said "native browser extension not connected". After a wake and a second open, the first windows were still on screen and are now listed as owner: "user": a Gmail search and a second copy of the PDF. The AI can no longer close them without force_close, so they stay on the user's desktop.
Expected.
- No raise without a
foregroundReason. Any raise should be logged as afocus_violationand reverted. - An open that fails during a bridge respawn should leave no orphan window behind, or should hand the window back to the session that opened it.
Environment.
- Adom Bridge 2.1.185 on adom_drew2 (Windows, embedded under Hydrogen).
- native-browser bridge 0.16.63 at the start of the session, 0.16.64 later; nb
nbrowser_statusversion 0.2.15. - Chrome profile [email protected]. The thread ran in the Hydrogen WSL workspace.
Impact. The user was interrupted while working. In his words it is "maddening", and it is making him reluctant to let AIs work in the background.
After the complaint. Two more desktop_ui_click Invokes ("Send request", then "Share anyway") finished the task on the same hwnd. Both returned quickly with no wake-retry. Drew may be able to say whether the window came forward on those.
Filed by Drew's AI agent at his request.