fix(fillbar): la barrette remplit meme quand les raccourcis sont coupes

"Autofill with global hotkey" desactive faisait ignorer a la page toute
demande, barrette comprise. Delphi dit maintenant d'ou vient la demande ;
seuls les raccourcis sont coupes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
r-zakarya
2026-10-05 17:45:34 +01:00
parent 553d9db621
commit e8e93cba56
3 changed files with 8 additions and 5 deletions
+4 -2
View File
@@ -235,8 +235,10 @@ function autofillReportResult(ok) {
// Called by Bridge.onAutofillRequest when a hotkey fires.
// kind: 'full' = Ctrl+Shift+L (user + Tab + pwd) ; 'password' = Ctrl+Shift+P.
async function autofillHandleRequest(windowTitle, kind) {
if (!state.autofillEnabled) return;
async function autofillHandleRequest(windowTitle, kind, fromBar) {
// L'option ne coupe que les RACCOURCIS (« Autofill with global hotkey ») :
// la barrette est un geste explicite, elle remplit quand meme.
if (!state.autofillEnabled && !fromBar) return;
// A blocking operation owns the screen (export, sync, rotation). Covers all
// three hotkeys and both outcomes: the multi-match picker would open behind