# Backspace (delete) on Mac doesn't work

**URL:** <https://discourse.mapeditor.org/t/backspace-delete-on-mac-doesnt-work/2154>\
**Category:** Bugs\
**Created:** [March 15, 2017, 2:20am UTC](https://discourse.mapeditor.org/t/backspace-delete-on-mac-doesnt-work/2154 "2017-03-15T02:20:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hawken](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/hawken/32/1101_2.png) [@hawken](https://discourse.mapeditor.org/u/hawken)\
**Post date:** [March 15, 2017, 2:20am UTC](https://discourse.mapeditor.org/t/backspace-delete-on-mac-doesnt-work/2154/1 "2017-03-15T02:20:45Z")

</div>

Hi, pretty simple really, this key doesn’t work on Mac (the delete key above Enter), need to go to Edit \> Delete to use.

Would be nice to have for workflow speed!

---

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [March 15, 2017, 11:09am UTC](https://discourse.mapeditor.org/t/backspace-delete-on-mac-doesnt-work/2154/2 "2017-03-15T11:09:06Z")

</div>

Hmm, I can’t reproduce this in Tiled 0.18.2 on OS X 10.11, where both Delete and Back Space keys are working for me. Are you using the latest version?

Note that I don’t have an Apple keyboard though, I have a US-International keyboard attached to it.

---

<div class="post-metadata">

**Author:** ![hawken](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/hawken/32/1101_2.png) [@hawken](https://discourse.mapeditor.org/u/hawken)\
**Post date:** [March 15, 2017, 2:09pm UTC](https://discourse.mapeditor.org/t/backspace-delete-on-mac-doesnt-work/2154/3 "2017-03-15T14:09:32Z")

</div>

I looked into a few other apps that use the delete key and it’s usually abbreviated “del”.

In Tiled it’s a backwards arrow like box with an X in, this sadly isn’t part of OSX keyboards.

I tried a few other combinations, can confirm this is not accessible from the 108 (full) keyboard, the small bluetooth one or macbook keyboards.

---

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [March 15, 2017, 2:35pm UTC](https://discourse.mapeditor.org/t/backspace-delete-on-mac-doesnt-work/2154/4 "2017-03-15T14:35:35Z")

</div>

Heh, I just realized I’ve looked at the same thing last year:

[https://github.com/bjorn/tiled/issues/1296](https://github.com/bjorn/tiled/issues/1296)

I’m afraid that without an Apple keyboard I’m not exactly sure what to do here. Is there any chance you could try compiling Tiled yourself, and fiddle around with the delete shortcuts in the `mainwindow.cpp`?

---

<div class="post-metadata">

**Author:** ![hawken](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/hawken/32/1101_2.png) [@hawken](https://discourse.mapeditor.org/u/hawken)\
**Post date:** [March 15, 2017, 3:06pm UTC](https://discourse.mapeditor.org/t/backspace-delete-on-mac-doesnt-work/2154/5 "2017-03-15T15:06:49Z")

</div>

I had a dig around mainwindow.cpp, not really familiar with C++ but MSDN says it’s VK\_BACK or KEY\_BACKSPACE

In mainwindow.cpp its `deleteKeys.prepend(QKeySequence(Qt::Key_Backspace))` so by all accounts should work? Maybe this line can’t be accessed somehow on OSX?

---

<div class="post-metadata">

**Author:** ![Sammy\_Blythe](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/sammy_blythe/32/2691_2.png) [@Sammy\_Blythe](https://discourse.mapeditor.org/u/Sammy_Blythe)\
**Post date:** [March 25, 2020, 6:09pm UTC](https://discourse.mapeditor.org/t/backspace-delete-on-mac-doesnt-work/2154/6 "2020-03-25T18:09:20Z")

</div>

try **fn+delete**. I’ve been running bootcamp/windows 10 on my mac and this has been killing me for the longest. Finally figured out that delete=backspace and fn+delete=delete. SOLVED it for me.

---

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [March 25, 2020, 7:19pm UTC](https://discourse.mapeditor.org/t/backspace-delete-on-mac-doesnt-work/2154/7 "2020-03-25T19:19:20Z")

</div>

> [@Sammy\_Blythe](#):
>
> try **fn+delete**. I’ve been running bootcamp/windows 10 on my mac and this has been killing me for the longest. Finally figured out that delete=backspace and fn+delete=delete. SOLVED it for me.

Hey @Sammy_Blythe, welcome to the Tiled forums and thank you for your input!

I do wonder a little, because the way I wrote the code both Delete and Backspace are supposed to work. Are you saying that essentially only Backspace works? Which action in particular are you triggering?

Hmm, I wonder if this is something that broke in Tiled 1.3 and is related to the configurable keys, which allows only a single shortcut per action.
