Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0000060Dwarf FortressTechnical -- Input/Keybinding/Macrospublic2010-04-01 17:442015-08-25 19:39
ercdvs 
lethosor 
lowminoralways
resolvedno change required 
 
 
0000060: Changing "LEAVE SCREEN" binding from ESC to space closes when typing in orders window
Changing the default 'LEAVE screen' binding from ESC to SPACE (to emulate previous versions) works well, but when typing in work orders, such as "ROCK CRAFTS" the space immediately returns you to the previous screen.
Press ESC. Change the binding from ESC to SPACE and return.

Hit 'q' then 'm' to open the work orders. hit 'q' to enter a new order. Type Rock <space> crafts.

When you hit space, the window will return to the previous list of orders
interface
has duplicate 0000387closed Footkerchief Search feature missing F9 Abort on Manager New Job Menu 
related to 0000097closed Baughn trying to bind a key to ESC leaves key-assignment screen without changing the key 
Issue History
2010-04-01 17:44ercdvsNew Issue
2010-04-01 17:56Draco18sNote Added: 0000046
2010-04-01 18:06ercdvsNote Added: 0000051
2010-04-01 18:09DoctorZuberNote Added: 0000055
2010-04-01 22:15DennisNote Added: 0000101
2010-04-01 22:18DennisIssue Monitored: Dennis
2010-04-01 22:18DennisIssue End Monitor: Dennis
2010-04-02 08:10matthew117Note Added: 0000176
2010-04-02 09:46ercdvsNote Added: 0000208
2010-04-02 11:45ercdvsTag Attached: interface
2010-04-02 13:59HammerDaveNote Added: 0000284
2010-04-02 16:02DoctorZuberNote Added: 0000314
2010-04-02 16:05DoctorZuberNote Edited: 0000314bug_revision_view_page.php?bugnote_id=0000314#r81
2010-04-02 21:18cooky173Note Added: 0000415
2010-04-02 21:24DoctorZuberNote Added: 0000418
2010-04-03 20:06chuzzumIssue Monitored: chuzzum
2010-04-03 20:50DoctorZuberNote Edited: 0000418bug_revision_view_page.php?bugnote_id=0000418#r219
2010-04-04 13:34FootkerchiefRelationship addedhas duplicate 0000387
2010-04-21 12:24FootkerchiefRelationship addedrelated to 0000097
2010-04-29 13:10FootkerchiefCategoryGeneral => Technical
2010-06-29 07:38FootkerchiefCategoryTechnical => Technical -- General
2014-01-27 11:30FootkerchiefCategoryTechnical -- General => Technical -- Input/Keybinding/Macros
2015-08-25 19:39lethosorNote Added: 0032998
2015-08-25 19:39lethosorStatusnew => resolved
2015-08-25 19:39lethosorResolutionopen => no change required
2015-08-25 19:39lethosorAssigned To => lethosor

Notes
(0000046)
Draco18s   
2010-04-01 17:56   
Well, duh. That's why we had SPACE and F9 before.
(0000051)
ercdvs   
2010-04-01 18:06   
So you aren't used to hitting 'space' to close the current window ? and F9 was ever only used to bypass the initial 'this is a beta' screen from toady that i can remember
(0000055)
DoctorZuber   
2010-04-01 18:09   
ugh. This is going to annoy me to tears. I am used to using space to cancel out of most screens.
(0000101)
Dennis   
2010-04-01 22:15   
Also, if you have bound the back key to SPACE and try to bind it back to ESC (which you may want because of this bug) you will fail, because on the key-assignment screen hitting 'k' (for change key) and then pressing ESC will leave the key-binding screen without changing the assignment.

I'm also used to SPACE to go back, because ESC is too far away and generates too much arm movement to be convenient.
(0000176)
matthew117   
2010-04-02 08:10   
Im used to space now as well this will take some getting used to.
(0000208)
ercdvs   
2010-04-02 09:46   
Dennis, I had that problem as well, but after quitting the game, and restarting, it seems the key WAS set back to ESC for me, even though I went back a page.
(0000284)
HammerDave   
2010-04-02 13:59   
The real problem here is that F9 was bound to "abort" in many places and there doesn't seem to even be a category for it in the new list. Setting to space breaks anything with a string entry that isn't terminated by enter. Setting "leave window" to ESC means if you go one entry too far you're in the options menu, unless you use some other unbound key for options, like F9. lol

I'm getting by with not being able to use spaces in the manager screen, but that's screwing up my use of auto hotkey to queue up mass jobs.
(0000314)
DoctorZuber   
2010-04-02 16:02   
(edited on: 2010-04-02 16:05)
Indeed, it's an issue for sure. I always hated f9 as an alternate to space when string entry was needed, it's way over there, and you have to stop and think oh wait I need to press this other key to leave this window.... it slowed me up every time even when I knew to look for it.

as a workaround I've set mine to shift-space which neatly dodges the string entry problems and is fairly easy to adapt my brain to.

(0000415)
cooky173   
2010-04-02 21:18   
If you go backwards through the key bindings (faster) you will see something is bound to space. If you change this, (i did to shift space) you get can use it for entering strings
(0000418)
DoctorZuber   
2010-04-02 21:24   
(edited on: 2010-04-03 20:50)
oh nifty, sure enough, you can replace string space with shift space if you so desire.

That being said, I think the quickest cleanest way to resolve this and make everybody happy, is to add one more key-binding in the list specifically for exiting pages that have string entry elements included.

That would allow people to reproduce the old f9 to quit for those screens, or to substitute a more accessible key if they so choose.

(0032998)
lethosor   
2015-08-25 19:39   
As of 0.40.24, Shift+Space triggers the STRING_A032 keybinding (space) but not LEAVESCREEN when bound to Space.