Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0001909Dwarf FortressTechnical -- Input/Keybinding/Macrospublic2010-05-16 18:142014-08-22 17:32
Toady One 
0001909: backspace key does not function in OS X
Cannot use backspace key in text fields or in menus. Hitting the backspace key is ignored in the keybinding interface and in entering text fields.
OS X build: For example the title field in setting world generation parameters instead of deleting characters an arrow key glyph is displayed. In the key binding interface, the backspace key appears to do nothing when pressed.
OS X Build
0.40.01, 0.40.05
has duplicate 0002189resolved lethosor Delete key doesn't work for text entry on OSX 
has duplicate 0001924resolved Footkerchief Save mask for embark setup does not process correctly keyboard input 
has duplicate 0002441resolved Footkerchief Cannot delete hotkey names 
has duplicate 0002622resolved Footkerchief Mac: delete (backspace) keypress in text entry fields results in "⌂" character 
has duplicate 0002975resolved Footkerchief Backspace key doesn't work 
has duplicate 0004127resolved Toady One Delete/Backspace button not useful in all cases 
has duplicate 0004858resolved Logical2u Backspace adds a backspace character to burrow names 
related to 0002252resolved Footkerchief Dwarf fortress does not allow me to assign functions to non-english keyboard buttons 
related to 0000447resolved Toady One Can't use question marks when customizing names/professions 
Issue History
2010-05-16 18:14archivisNew Issue
2010-05-18 10:19KanddakNote Added: 0006956
2010-05-18 10:19KanddakNote Edited: 0006956bug_revision_view_page.php?bugnote_id=0006956#r2607
2010-06-05 11:12coldguyIssue Monitored: coldguy
2010-06-06 11:04FootkerchiefNote Added: 0007811
2010-06-06 11:04FootkerchiefTag Attached: Fixed in 31.05?
2010-06-06 11:05FootkerchiefRelationship addedrelated to 0002189
2010-06-07 00:01gxamIssue Monitored: gxam
2010-06-09 15:25paladin_of_lightNote Added: 0008010
2010-06-09 15:30paladin_of_lightNote Edited: 0008010bug_revision_view_page.php?bugnote_id=0008010#r3015
2010-06-10 05:32FootkerchiefRelationship replacedparent of 0002189
2010-06-10 05:33FootkerchiefRelationship addedrelated to 0002252
2010-06-12 15:12GerkIssue Monitored: Gerk
2010-06-17 13:32archivisNote Added: 0008608
2010-06-17 13:45archivisNote Edited: 0008608bug_revision_view_page.php?bugnote_id=0008608#r3293
2010-06-17 13:59KanddakNote Added: 0008609
2010-06-21 11:41FootkerchiefRelationship replacedrelated to 0002189
2010-06-21 11:41FootkerchiefTag Attached: SDL-only
2010-06-21 11:42FootkerchiefRelationship replacedparent of 0002189
2010-06-21 12:42FootkerchiefRelationship addedhas duplicate 0001924
2010-06-22 18:17brainfireIssue Monitored: brainfire
2010-06-22 19:46FootkerchiefRelationship addedhas duplicate 0002441
2010-06-29 07:38FootkerchiefCategoryTechnical => Technical -- General
2010-07-11 10:30FootkerchiefRelationship addedhas duplicate 0002622
2010-07-13 22:03FootkerchiefCategoryTechnical -- General => Technical -- Input/Keybinding
2010-07-13 22:04FootkerchiefRelationship addedparent of 0000447
2010-07-18 13:37FootkerchiefCategoryTechnical -- Input/Keybinding => Technical -- Input/Keybinding/Macros
2010-07-19 14:37FootkerchiefIssue Monitored: Baughn
2010-07-25 11:11kororaNote Added: 0010983
2010-07-25 16:52FootkerchiefRelationship replacedrelated to 0000447
2010-07-28 07:01Yaddy1Issue Monitored: Yaddy1
2010-08-07 10:06FootkerchiefRelationship addedhas duplicate 0002975
2010-09-18 14:30HebaruSanIssue Monitored: HebaruSan
2010-09-18 15:49Dame de la LicorneNote Added: 0012797
2010-10-15 05:06DainNote Added: 0013375
2010-12-05 18:31CespinarveNote Added: 0014421
2010-12-11 09:03DwarfuTag Detached: Fixed in 31.05?
2011-03-06 09:28FootkerchiefRelationship addedparent of 0004127
2011-03-08 12:51bombcarNote Added: 0015970
2011-03-08 17:11bombcarNote Added: 0015982
2011-03-08 17:13bombcarIssue Monitored: bombcar
2011-03-12 14:53discuscardscorysNote Added: 0016169
2011-03-26 18:20bombcarNote Added: 0016648
2011-08-27 08:41Logical2uRelationship addedhas duplicate 0004858
2012-02-14 12:59CespinarveNote Added: 0019546
2012-02-16 00:43etherflanTag Attached: mac
2012-02-16 00:57etherflanIssue Monitored: etherflan
2012-02-22 08:22etherflanTag Attached: 0.34.02
2012-02-28 10:03etherflanTag Detached: 0.34.02
2012-02-28 10:03etherflanTag Detached: mac
2012-06-29 11:59NYDwarfNote Added: 0023124
2014-07-08 11:53ZapperierNote Added: 0025106
2014-07-08 11:54ZapperierTag Attached: 0.40.01
2014-07-08 11:56DwarfuNote Added: 0025108
2014-07-08 11:56DwarfuAssigned To => Dwarfu
2014-07-08 11:56DwarfuStatusnew => acknowledged
2014-07-27 19:13KanddakIssue Monitored: Kanddak
2014-07-28 14:21KanddakNote Added: 0027809
2014-07-28 14:21KanddakTag Attached: 0.40.05
2014-07-28 17:45lethosorStatusacknowledged => confirmed
2014-07-28 17:45lethosorTag Detached: SDL-only
2014-08-06 12:31Toady OneRelationship replacedhas duplicate 0004127
2014-08-06 12:35Toady OneNote Added: 0028479
2014-08-06 12:58Toady OneNote Edited: 0028479bug_revision_view_page.php?bugnote_id=0028479#r10881
2014-08-10 18:52KanddakNote Added: 0028767
2014-08-10 20:06lethosorRelationship replacedhas duplicate 0002189
2014-08-22 17:32lethosorNote Added: 0029514
2014-08-22 17:32lethosorStatusconfirmed => resolved
2014-08-22 17:32lethosorFixed in Version => 0.40.07
2014-08-22 17:32lethosorResolutionopen => fixed
2014-08-22 17:32lethosorAssigned ToDwarfu => Toady One

2010-05-18 10:19   
I had this same issue.
I was able to work around it as follows:
Go to esc -> Key Bindings -> Text entry
Scroll down to "String: Character 127". Press right and then down to select the binding "Logical: U+7F". Press your backspace key. Exit key bindings and enjoy your ability to delete text.

2010-06-06 11:04   
Is this still the case in 31.05?
2010-06-09 15:25   
(edited on: 2010-06-09 15:30)
Appears to work for me in 31.05 but NOT 31.06.

To be more specific, ∆ is repeated indefinitely across the text entry area without a key-press, but the delete key functions.

2010-06-17 13:32   
(edited on: 2010-06-17 13:45)
Confirmed paladin of lights experience on 31.06 with the workaround getting spamming of characters. However once the spam ends it seems to eventually let me rename barrows.

2010-06-17 13:59   
Yeah, I tried to do that workaround in 0.31.06 and got spammed.
Then I copied over my keybinding file from 0.31.04 and things worked again. Not quite sure why.
2010-07-25 11:11   
If you bind character 127 to some other key, the spam goes away.
Dame de la Licorne   
2010-09-18 15:49   
I'm still getting this in 31.12. Whenever I try to use the backspace key to delete something, it instead inserts a little triangle/arrow. The work-around I use is to hold down the "fn" key whenever I want to delete something.
2010-10-15 05:06   
Notice that this does not occurs in *every* place where you put text. For example, when naming the fortress on embark menu, the "e: Select _" menu works perfectly on OSX, regarding backspace, without any remapping. On another hand, naming save file for embark profile, naming notes on world map, naming profession for dorfs, naming shortcuts on fortress mode, have that problem, as well as probably a lot of other places.
2010-12-05 18:31   
Rebinding "String: Character 127" to ` makes deleting work for me.
2011-03-08 12:51   
This happens to me on 0.31.21 (latest), on Mac OS X Snow Leopard and multiple keyboards.

I will try the workarounds above.
2011-03-08 17:11   
I am not able to delete via Cespinarve's workaround. However, by combining it with Kanddak's it works for the Delete key.
2011-03-12 14:53   
Attempting to rebind "String: Character 127" to the ` key did not work for me, but rebinding it to F12 did.
2011-03-26 18:20   
If I only use Kanddak's method, it doesn't fix it. I have to REMAP the 127 to something else, and then backspace works.
2012-02-14 12:59   
Problem persists in 0.34.01. Like before, rebinding 127 to ` works for me.
2012-06-29 11:59   
Using current version (0.34.11?) on OS X 10.7.4. When attempting to save an embark profile, hitting the DELETE key results in the character ⌂ being put into the thing. I can't delete anything. Control-H, Control-?, DELETE, FN-DELETE (laptop keyboard) all don't do anything.
2014-07-08 11:53   
Problem persists in 0.40.01. Combining Kanddack and Cespinarve's methods by rebinding character 127 from U+7F to ` continues to work. Additionally, deleting character 127's binding and adding the U+7F binding to Backspace appears to work, but resulted in a spam of ∆ if character 127 was not assigned a new binding previously.
2014-07-08 11:56   
Thanks for the follow-up in the new version, Zapperier.
2014-07-28 14:21   
Problem persists in 0.40.05.
Fixed by the following procedure: I deleted the U+7F binding from character 127. I then added the ` binding as per Cespinarve. I then said "wait, just for science, let's make sure it still doesn't work with no binding at all" and deleted the ` binding I had just added.
Backspace then worked with no ∆s. I was about to report that it was working again by just deleting the U+7F binding, but realized maybe it's the act of adding the ` binding that fixes the problem, not the ongoing presence of that binding.
Toady One   
2014-08-06 12:35   
(edited on: 2014-08-06 12:58)
Adding the ` binding to 127 breaks the ` key and turns it into a triangle.

On the other hand, a comment in 0002189 suggests that deleting the binding alonge doesn't help? I'm going to go ahead and remove the binding without adding a `, but I'll hold off on marking this and 0002189 off until somebody says something.

edit: I'm just going to remove the string 127 key from the game, and we'll go from there.

2014-08-10 18:52   
Confirmed fixed for me in MacOS X 10.7.5.
2014-08-22 17:32   
I'll mark this as resolved, since I've seen several confirmations of correct behavior but no reports of this still occurring. If anyone can reproduce this in DF 0.40.07+, please let me or another manager know on the forums (http://www.bay12forums.com/smf/index.php?topic=63640.0 [^]).