Skip to content

🐞 Fix trigger key being re-added after import #1080

@utopiaeh

Description

@utopiaeh

Bug Description

Prevent automatic assignment of a trigger key when importing shortcuts.
Allow keybindings to work with shortcut combinations only, without
requiring a trigger key.

keybinds

{
  "actions" : [
    {
      "direction" : "Center",
      "keybind" : [
        8,
        58,
        59
      ]
    },
    {
      "anchor" : 8,
      "direction" : "Custom",
      "height" : 50,
      "keybind" : [
        51,
        58,
        59
      ],
      "name" : "Reasonable Size",
      "positionMode" : 0,
      "sizeMode" : 0,
      "unit" : 1,
      "width" : 50
    },
    {
      "cycle" : [
        {
          "direction" : "BottomHalf",
          "keybind" : [

          ]
        },
        {
          "direction" : "BottomThird",
          "keybind" : [

          ]
        },
        {
          "direction" : "BottomTwoThirds",
          "keybind" : [

          ]
        }
      ],
      "direction" : "Cycle",
      "keybind" : [
        58,
        59,
        125
      ],
      "name" : "Bottom Cycle"
    },
    {
      "cycle" : [
        {
          "direction" : "LeftHalf",
          "keybind" : [

          ]
        },
        {
          "direction" : "LeftThird",
          "keybind" : [

          ]
        },
        {
          "direction" : "LeftThreeFourths",
          "keybind" : [

          ]
        },
        {
          "direction" : "LeftTwoThirds",
          "keybind" : [

          ]
        }
      ],
      "direction" : "Cycle",
      "keybind" : [
        58,
        59,
        123
      ],
      "name" : "Left Cycle"
    },
    {
      "cycle" : [
        {
          "direction" : "RightHalf",
          "keybind" : [

          ]
        },
        {
          "direction" : "RightThird",
          "keybind" : [

          ]
        },
        {
          "direction" : "RightThreeFourths",
          "keybind" : [

          ]
        },
        {
          "direction" : "RightTwoThirds",
          "keybind" : [

          ]
        }
      ],
      "direction" : "Cycle",
      "keybind" : [
        58,
        59,
        124
      ],
      "name" : "Right Cycle"
    },
    {
      "cycle" : [
        {
          "direction" : "TopHalf",
          "keybind" : [

          ]
        },
        {
          "direction" : "TopThird",
          "keybind" : [

          ]
        },
        {
          "direction" : "TopTwoThirds",
          "keybind" : [

          ]
        }
      ],
      "direction" : "Cycle",
      "keybind" : [
        58,
        59,
        126
      ],
      "name" : "Top Cycle"
    },
    {
      "direction" : "Maximize",
      "keybind" : [
        36,
        58,
        59
      ]
    },
    {
      "direction" : "NextScreen",
      "keybind" : [
        56,
        58,
        59,
        124
      ]
    },
    {
      "direction" : "PreviousScreen",
      "keybind" : [
        56,
        58,
        59,
        123
      ]
    }
  ],
  "triggerKey" : [
    63
  ],
  "version" : "1.4.2"
}

Affected Scope

Other

Steps to Reproduce

loop_issues.mp4

Reproducibility

Always

Expected vs Actual Behavior

Expect trigger key to remain unset

Screen Recordings / Screenshots

No response

Severity

Blocker (cannot proceed)

macOS Version

Tahoe 26.4 (25E246)

Loop Version

1.4.2 (1693)

Did You Try the Development Build?

No

Additional Context

No response

Final Checks

  • My issue is written in English.
  • My issue title is descriptive.
  • This is a single bug (multiple bugs should be reported individually).
  • I have looked to see if this is a duplicate of another bug report.
  • I can help with further investigation.
  • I can help with developing a fix for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions