diff --git a/delphi-backend/UMainForm.pas b/delphi-backend/UMainForm.pas index 33299e2..51651c5 100644 --- a/delphi-backend/UMainForm.pas +++ b/delphi-backend/UMainForm.pas @@ -1514,6 +1514,13 @@ initialization // Must be set BEFORE the TMS FNC WebBrowser instantiates its // CoreWebView2Environment, hence the unit initialization block. SetEnvironmentVariable('WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS', + // Keep the renderer responsive while the window is hidden in the tray. + // Without these, Chromium freezes/throttles a backgrounded renderer, so + // the first autofill hotkey after a tray-only start (Start with Windows) + // waits 3-5s for the renderer to wake before onAutofillRequest runs. + '--disable-background-timer-throttling ' + + '--disable-backgrounding-occluded-windows ' + + '--disable-renderer-backgrounding ' + '--disable-background-networking ' + '--disable-sync ' + '--disable-component-update ' +