Browser opens and closes on this scenario

Hi All

got the following scenario

{
  "Name": "zz companies",
  "CreationDate": "2022-3-3",
  "Commands": [
    {
      "Command": "XDesktopAutomation",
      "Target": "true",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "true",
      "Value": "!errorignore",
      "Description": "reconcile"
    },
    {
      "Command": "open",
      "Target": "https://login.xero.com/identity/user/login?ReturnUrl=%2Fidentity%2Fconnect%2Fauthorize%2Fcallback%3Fclient_id%3Dxero_business_xeroweb_hybrid-web%26redirect_uri%3Dhttps%253A%252F%252Fgo.xero.com%252Fsignin-oidc%26response_mode%3Dform_post%26response_type%3Dcode%2520id_token%26scope%3Dxero_all-apis%2520openid%2520email%2520profile%26state%3DOpenIdConnect.AuthenticationProperties%253D99I0lUjBnjVCCV95M1d0c0gp7-rtn947t7SV0tPoSOF84fmQ3cxwA9-cQuPVlmP-THARGwiy3dkIaybA54bMMU9jxdIrqbaN2CM5swUI-a1RVxUfWtsUw-m3WEPr4nmW8sdXU5asJS1JToWVczTgMpxCYeVoyom1X4HqXpWIYdTCutRvvDGstyf6R7Vp-3vdEFX7xBQtpqTZgV9xqUnt9_0RR80%26nonce%3D637593523510143016.MmEyOWE4ODktMWY5NS00YjcyLTg4MWEtMGU5N2ZhNTdiMjYwZDM1ZmE0MjctY2RhMi00ZWI2LTg3ZDUtNTg2NDI1YWFjYWE4%26x-client-SKU%3DID_NET451%26x-client-ver%3D1.3.14.0",
      "Value": "",
      "Description": "login"
    },
    {
      "Command": "click",
      "Target": "id=xl-form-email",
      "Value": "",
      "Description": "login"
    },
    {
      "Command": "type",
      "Target": "id=xl-form-email",
      "Value": "generic email address",
      "Description": "login"
    },
    {
      "Command": "type",
      "Target": "id=xl-form-password",
      "Value": "password",
      "Description": "login"
    },
    {
      "Command": "click",
      "Target": "id=xl-form-password",
      "Value": "",
      "Description": "login"
    },
    {
      "Command": "click",
      "Target": "id=xl-form-submit",
      "Value": "",
      "Description": "login"
    },
    {
      "Command": "XType",
      "Target": "${KEY_CTRL+KEY_ALT+KEY_A}",
      "Value": "",
      "Description": "authy"
    },
    {
      "Command": "pause",
      "Target": "10000",
      "Value": "",
      "Description": "authy"
    },
    {
      "Command": "XClick",
      "Target": "xeroauth_dpi_144.png",
      "Value": "",
      "Description": "authy"
    },
    {
      "Command": "pause",
      "Target": "500",
      "Value": "",
      "Description": "authy"
    },
    {
      "Command": "XClick",
      "Target": "copy2_dpi_144.png",
      "Value": "",
      "Description": "authy"
    },
    {
      "Command": "pause",
      "Target": "500",
      "Value": "",
      "Description": "authy"
    },
    {
      "Command": "XType",
      "Target": "${KEY_ALT+KEY_F4}",
      "Value": "",
      "Description": "authy"
    },
    {
      "Command": "pause",
      "Target": "500",
      "Value": "",
      "Description": "authy"
    },
    {
      "Command": "type",
      "Target": "/html/body/div/div/div/div/form/div[1]/div/input",
      "Value": "${!clipboard}",
      "Description": "login"
    },
    {
      "Command": "clickAndWait",
      "Target": "xpath=//*[@id=\"auth-splashpage\"]/div/div/form/button",
      "Value": "",
      "Description": "login"
    },
    {
      "Command": "open",
      "Target": "https://my.xero.com/!2J!Yq/Dashboard/Practice#New_ZZ_Companies",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "XDesktopAutomation",
      "Target": "false",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "30",
      "Value": "!timeout_wait",
      "Description": ""
    },
    {
      "Command": "visualVerify",
      "Target": "zzcom_dpi_87.png@0.8",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "storeText",
      "Target": "xpath=//*[@id=\"ext-comp-1063\"]/a[3]/span[2]",
      "Value": "zz",
      "Description": ""
    },
    {
      "Command": "open",
      "Target": "https://mail.google.com/mail/u/0/#inbox?compose=new",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "30",
      "Value": "!timeout_wait",
      "Description": ""
    },
    {
      "Command": "visualVerify",
      "Target": "email2_dpi_96.png@0.8",
      "Value": "emailavailable",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "3000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "XType",
      "Target": "montaque@cfo360.co.za${KEY_ENTER}${KEY_TAB}ZZ Companies${KEY_TAB}",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "XType",
      "Target": "There are currently ${zz} shell companies remaining.${KEY_TAB}${KEY_ENTER}",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "visualSearch",
      "Target": "email2_dpi_96.png",
      "Value": "emailsent",
      "Description": ""
    }
  ]
}

that at the xtype portion near the end, where it types in the email address and the body of the email, it seems to minimize and then waits, but none of my commands tell it to minimize. in fact I have another similar scenario where it saves values, access the email page, types it out and sends it without issue.

any ideas, this is on version 6.2.8 due to the playing error on the latest version

So this appears to be linked to the xdesktop automation being set to true/false, as when I remove that line, it works