From c6b695eca8919b34b9fff9f5393d74f9ed0520d7 Mon Sep 17 00:00:00 2001 From: Dom Date: Thu, 23 Apr 2026 08:15:47 +0200 Subject: [PATCH] fix(ORA): Win+D via xdotool key au lieu de pyautogui.hotkey pyautogui.hotkey('super','d') ne traverse pas la VM. xdotool key super+d avec setxkbmap fr fonctionne. Co-Authored-By: Claude Opus 4.6 (1M context) --- core/execution/observe_reason_act.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/execution/observe_reason_act.py b/core/execution/observe_reason_act.py index 3806c8336..1104889ca 100644 --- a/core/execution/observe_reason_act.py +++ b/core/execution/observe_reason_act.py @@ -934,9 +934,11 @@ Règles: time.sleep(0.3) pyautogui.click() time.sleep(0.5) - pyautogui.hotkey('super', 'd') + # Win+D via xdotool (pyautogui.hotkey ne traverse pas la VM) + subprocess.run(['setxkbmap', 'fr'], timeout=2) + subprocess.run(['xdotool', 'key', 'super+d'], timeout=2) time.sleep(1.0) - print(f"✅ [ORA/recovery/overlay] Clic + Win+D envoyé") + print(f"✅ [ORA/recovery/overlay] Clic + Win+D (xdotool) envoyé") # --- Étape 3 : Retry l'action originale --- act_ok = self.act(decision, step_params)