mapeditor / mapeditor/tiled

Scripting: Actions can't have checkboxes

Open
#3,464 9 comments 1 reaction 1 assignee View on GitHub

@saurabh-zz007 is already working on this.

Since Mar 10, 2026.

qt issue
Dominant language
C++
Stars
12.9k
Forks
2k
Avg merge
4h 27m
Merged PRs (30d)
8

Description

If an Action is checkable, its icon is displayed instead of the checkbox, with a button-like look to indicate whether the Action is checked:
Default icon:
image
Custom icon:
image

When an action with an icon is unchecked, it's hard to see that it even can be checked. The default checkbox does a much better job of communicating that an action is checkable.

This only affects scripted actions, as none of the native checkable actions have icons.
Since script authors can simply choose to not assign an icon, it's probably fine that those with custom icons are displayed this way, allowing authors to essentially implement custom toggle styles if they wish. However, there's no way to not have an icon since iconless actions are given the extension icon by default! Therefore, there is no way to display a regular checkbox for a scripted Action.

Possible solutions:

  • Do not show the default extension icon on Actions that are checkable
  • Make the default extension icon small and have it overlap the corner of the checkbox (and possibly any assigned icon as well).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.