foundryvtt / foundryvtt

Public issue tracking and documentation for Foundry Virtual Tabletop - software connecting RPG gamers in a shared multiplayer environment with an intuitive interface and powerful API.
https://foundryvtt.com/
202 stars 10 forks source link

The "Add Shape from controlled Walls" button in the Scene Regions dialog causes the loss of unsaved changes in the Identity tab #10932

Closed Norc closed 3 weeks ago

Norc commented 4 weeks ago

What happened?

When you click the "Add Shape from controlled Walls" button a second time (with the Walls layer activated), all fields on the Identity tab are reverted to their last saved value (or the default state), discarding any unsaved changes.

What ways of accessing Foundry can you encounter this issue in?

Reproduction Steps

  1. In a clean DND5E world, create 4 connected walls in the shape of a square
  2. Activate the Scene Regions layer
  3. Create an empty Scene Region
  4. Activate it, then change every value in the Identity tab from the default state (do not save)
  5. In the Shapes tab, add a Shape from the controlled walls you created
  6. Tab back to the Identity tab

The values that you entered are all cleared back to their default state.

What core version are you reporting this for?

12.322 (latest Dev) DND5E 3.1.2

Relevant log output

No response

Bug Checklist