mapeditor / mapeditor/tiled

Updating tileset (.tsx) image does not update relevant tileset properties.

Open
#3,453 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

**Describe the bug**
The properties of a tileset does not update in response to changes in the source image. For example, if I have a tileset with 6 columns and I edit the source image so that it now has 8 columns, the tile palette will reflect the additional tiles but the tileset (.tsx) properties will still say 6 columns.

**To Reproduce**
Steps to reproduce the behavior:
1. Create a tileset with some source image.
2. Update the source image so that it has more (or less tiles).
3. Observe that the tile palette updates to reflect the modified tile image but the properties do not.

**Expected behavior**
I would expect the tileset properties to update in order to reflect the updated image.

**Specifications:**
- OS: Windows 10.
- Tiled 1.9.0

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.

Research direction

Start by reproducing the issue in Tiled: create a tileset, change its source image dimensions, and compare the tile palette with the tileset properties. Trace the refresh path for the source image and verify that the tileset properties update for both increased and decreased tile counts.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.