Skip to content

Fix the icon display reset on buttons with multiple states - #1419

Merged
manuelmayer-dev merged 1 commit into
mainfrom
fix/background-reset-multiple-states-1414
Oct 18, 2026
Merged

manuelmayer-dev merged 1 commit into
mainfrom
fix/background-reset-multiple-states-1414

Conversation

@manuelmayer-dev

@manuelmayer-dev manuelmayer-dev commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

Closes #1414

Summary

The icon display Reset sends null, which both Action Button framing setters dereferenced, so the host rejected the reset and the old framing came back. A reset now restores the default framing, stored explicitly per state so the deck does not fall back to the root framing.

Testing

Full solution build and test suites pass, with three new Action Button editor tests. Verified in a browser against a running host: Reset on a multi-state button stays at the defaults and is saved, other states keep their framing.

Checklist

  • Tests were added or updated where needed
  • The change was verified manually where appropriate
  • Documentation was updated if the change affects documented behaviour
  • I reviewed and understand every submitted change

@manuelmayer-dev manuelmayer-dev added bug Something isn't working area:host Host: Domain, Application, Infrastructure area:widgets Built-in widgets and the widget editor area:ui-model Shared UI model contracts area:docs The published developer documentation site labels Oct 17, 2026
@manuelmayer-dev
manuelmayer-dev merged commit 7c1a6e0 into main Oct 18, 2026
18 checks passed
@manuelmayer-dev
manuelmayer-dev deleted the fix/background-reset-multiple-states-1414 branch October 18, 2026 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs The published developer documentation site area:host Host: Domain, Application, Infrastructure area:ui-model Shared UI model contracts area:widgets Built-in widgets and the widget editor bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Background Customization Reset Button Does Not Work With Multiple States

1 participant