EsotericSoftware / EsotericSoftware/spine-editor

Improving the “Name Conflict” Dialog

Open
#953 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
33
Forks
2
PR merge metrics
No merged PRs in 30d

Description

In Spine, each element—such as bones and slots—must have a unique name. While a bone named “Head” and a slot named “Head” can coexist, two bones cannot share the same name. Therefore, if an element with the same name already exists, the following dialog appears:
Image
Pressing OK returns you to the rename dialog, where you can enter a different name.

However, this workflow becomes inconvenient when you want to swap the names of two bones. For example, if you wish to exchange the names of `Bone1` and `Bone2`, you must first rename `Bone1` to a temporary name, then rename `Bone2` to `Bone1`, and finally rename the temporarily renamed bone to `Bone2`.

To streamline this process, it would be helpful to support quicker name swapping—for instance, by showing the conflicting names in a dialog and allowing both names to be edited at once.

Related forum post:
https://esotericsoftware.com/forum/d/29501-feature-request

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing “Name Conflict” dialog and the rename dialog workflow described in the issue, then read the related forum post for additional context. The requested behavior is not specified beyond making swaps between conflicting bone names quicker, so clarify the interaction and acceptance criteria before identifying the relevant editor code and tests.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.