mapeditor / mapeditor/tiled

`Shift+Del` doesn't work as shortcut for Delete.

Open
#3,316 1 comment 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

Is your feature request related to a problem? Please describe.
In Tiled, I can change the keybinding of "delete" from DEL to SHIFT+DEl, but without any effect on deleting Objects.

I talked with @eishiya on Discord on 27.03.2022 (16:28) about the problem, they can confirm that and added further observations:

Set my Delete to Shift+Del
Layers panel: both Del and Shift Del will delete a layer
Properties panel: ditto for custom properties
Map editor, selected tiles: Neither Del nor Shift+Del delete tiles

Set to Ctrl+Del
Del/Shift+Del/Ctrl+Del will delete layers and properties still
Ctrl+Del and nothing else deletes tiles, as expected.

So, I can reproduce Abo's experience with the Shift+Del Delete shortcut. I guess Del is hard-coded for deleting layers and properties, and the configurable shortcut is only for Edit > Delete (i.e. objects and tiles).

Describe the solution you'd like
Being flexible with using dfferent modifiers for such keybindings, like SHIFT + DEL, although Shift is used for Tools.

Describe alternatives you've considered
Being not so clumsy and try to avoid the "DEL" key to prevent deleting stuff accidentally.
Or using CTRL+DEL, but this feels weird.

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 shortcut behavior in Tiled's map editor using the Delete, Shift+Delete, and Ctrl+Delete bindings described in the issue. Trace the map editor's object and tile deletion actions, then verify that a configurable Shift+Delete binding deletes selected objects and tiles while the existing layer and property behavior remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, game-dev
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.