mapeditor / mapeditor/tiled

Pasted objects should be inserted next to the currently-selected object

Open
#2,998 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

This is a quality of life improvement request. I often find myself copying and pasting existing objects, and I find it annoying that the pasted / cloned object is inserted as the first object of the layer group. I'd find it nicer if it was inserted as the last object of the layer group, or possibly right after the copied object (when the copied object is indeed part of the same layer group).
I know some programs do it the other way around and put the duplicated item right above the original (like Paint.NET or Photoshop when duplicating layers). I find that less convenient than putting it after the original item, but that'd still be better than putting the cloned object as the first of the group. Putting the cloned objects after the original ones is a better approach to me, especially when cloning multiple objects at the same time.
Thank you.

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

The issue names no files, tests, or entry points. Start by locating the editor's paste/clone handling and the layer-group ordering logic; compare single and multiple pasted objects, then verify that they appear after the original objects or at the end of the group as specified.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.