Skip to content

"Window" selection in ingredient randomly changing #639

Description

@manuelhuber

Describe the bug
The settings of my ingredient keep changing randomly, sometimes when I execute the recipe, sometimes when I leave the recipe menu and come back and sometimes just while switching from one ingredient to another within the same recipe. I've mainly observed this issues with the "window" setting where it will go from "Search for Window" to "Foreground Window" or to not selection at all. The json of the recipe is also updated - so it's not just a display bug, the actual recipe changes.

Video
In the video I regularly click outside of MaxTo - I'm just refreshing Notepad++ to see how the recipe in the config.json looks (unfortunately it didn't record that). The config.json regularly updates though sometimes it is out of sync with what's displayed but it does change the ingredients in the json by itself. When you see the loading spinner around the mouse I'm executing the recipe.
https://www.youtube.com/watch?v=VZGbpGbZn1k

System information:

  • Windows version: Windows 10, Version 1903
  • MaxTo version: 2.1.0

Additional context
My logs (there's a whole bunch of exceptions in there - I've been having trouble with MaxTo all day)
maxto20201031.log
My config (as .txt since json isn't allowed):
config.txt

This is the ingredient:

{
      "name": "_LoadLeftMonitor",
      "hotkey": null,
      "triggers": [
        {
          "type": "keyboard:hotkey",
          "Hotkey": "Windows+NumPad0"
        },
        {
          "type": "monitor:connected",
          "Monitor": "L5LMQS024838"
        }
      ],
      "ingredients": [
        {
          "command": "uncategorized:launch",
          "parameters": {
            "executable": "%LOCALAPPDATA%\\WhatsApp\\WhatsApp.exe",
            "waitforinputidle": true,
            "bringtofront": true,
            "waitforwindow": "\\\\\\"
          }
        },
        {
          "command": "uncategorized:launch",
          "parameters": {
            "executable": "%APPDATA%\\Spotify\\Spotify.exe",
            "waitforinputidle": true,
            "waitforwindow": "\\\\\\"
          }
        },
        {
          "command": "uncategorized:launch",
          "parameters": {
            "executable": "%LOCALAPPDATA%\\Discord\\Update.exe",
            "arguments": "--processStart Discord.exe",
            "waitforinputidle": true,
            "waitforwindow": "\\\\\\"
          }
        },
        {
          "command": "window:move",
          "parameters": {
            "window": "\\\\\\*Spotify*",
            "monitor": "L5LMQS024838",
            "region": "top left",
            "virtualdesktop": null
          }
        },
        {
          "command": "window:move",
          "parameters": {
            "window": "\\\\\\WhatsApp",
            "monitor": "L5LMQS024838",
            "region": "bottom left"
          }
        },
        {
          "command": "window:move",
          "parameters": {
            "window": "\\\\\\* - Discord",
            "monitor": "L5LMQS024838",
            "region": "center"
          }
        }
      ]
    }
}

Metadata

Metadata

Assignees

Labels

bugConfirmed bug in MaxTo.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions