Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripting: Actions can't have checkboxes #3464

Open
eishiya opened this issue Aug 27, 2022 · 0 comments
Open

Scripting: Actions can't have checkboxes #3464

eishiya opened this issue Aug 27, 2022 · 0 comments
Labels
bug Broken behavior. qt issue Qt related issue.

Comments

@eishiya
Copy link
Contributor

eishiya commented Aug 27, 2022

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).
@eishiya eishiya added the bug Broken behavior. label Aug 27, 2022
@bjorn bjorn added the qt issue Qt related issue. label Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Broken behavior. qt issue Qt related issue.
Projects
None yet
Development

No branches or pull requests

2 participants