Actions without keys should be rejected #14868

Open
opened 2026-01-31 04:21:46 +00:00 by claunia · 0 comments
Owner

Originally created by @lhecker on GitHub (Aug 13, 2021).

Extracted from #10933.

Steps to reproduce

Add this to your "actions":

{
    "command": "unbound",
    "keys": ""
}

Expected behavior

The application should ignore/reject such actions and optionally remove or warn about them.

Actual behavior

ActionMap is being filled with such actions without validation.
Additionally the bug reporter (@Rosefield) mentioned that they can't remember adding such an action by themselves. It might thus be necessary to add further assert()s to find further causes elsewhere.

Originally created by @lhecker on GitHub (Aug 13, 2021). Extracted from #10933. # Steps to reproduce Add this to your "actions": ```json { "command": "unbound", "keys": "" } ``` # Expected behavior The application should ignore/reject such actions and optionally remove or warn about them. # Actual behavior `ActionMap` is being filled with such actions without validation. Additionally the bug reporter (@Rosefield) mentioned that they can't remember adding such an action by themselves. It might thus be necessary to add further `assert()`s to find further causes elsewhere.
claunia added the Area-SettingsIssue-BugProduct-Terminal labels 2026-01-31 04:21:46 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14868