Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upPrompt/query hotkeys (e.g. when repairing) are "masked" by global binds (regression) #20065
Comments
keyspace
referenced this issue
Jan 21, 2017
Closed
Revert "Prevent hotkeys in uimenu that are already mapped to actions." #20066
This comment has been minimized.
This comment has been minimized.
|
Correction: reverting |
This comment has been minimized.
This comment has been minimized.
|
Tested on f136e3d (merge commit previous to #20041), works OK. Attaching save file used: test-repair-hotkeys.zip - character has soldering iron and items to repair/practice. |
This comment has been minimized.
This comment has been minimized.
|
Repeated bisect, 73bc2a4 culprit for repair menu/query/prompt failure. Anecdotal, similar issue reported on IRC for "Use which component?" prompt - didn't ask for build/system info. |
BevapDin
self-assigned this
Jan 22, 2017
This comment has been minimized.
This comment has been minimized.
|
That "skipping" feature is pretty seriously wrong: menu autoassignment SHOULD go 1-9-0-a-z, with no breaks in between. |
This comment has been minimized.
This comment has been minimized.
|
There's worse: mapping |
This comment has been minimized.
This comment has been minimized.
|
I'm very much leaning toward just reverting 18d78a0. Theres no apparent
upside, and it broke a number if menus.
|
This comment has been minimized.
This comment has been minimized.
|
As I've mentioned in PR #20072, reverting that one commit is not enough. It'll make things even worse. #20065 (this issue) was introduced by PR #20041, which fixed issue #20037, which was introduced in PR #19961, which doesn't seem to reference any then-open issue, but outlines as issue by itself, namely different input handling - " #20065 (this issue) is conflated - three separate ones by now, described "as examples" rather than underlying broken functionality. PR #20072 fixes one of three (EDIT: only partially). I guess I'll go split them into separate ones (retaining the original mess). EDIT: reworked OP, commented in already-open #20091, and opened #20147. |
keyspace
changed the title
Some hotkeys no longer do anything
Prompt/query hotkeys (e.g. when repairing) are "masked" by global binds (regression)
Jan 28, 2017
keyspace
referenced this issue
Jan 28, 2017
Closed
No special input in debug/cheat sub-menus (regression) #20147
This comment has been minimized.
This comment has been minimized.
|
Almost forgot: PR #19961 introduced issue #20047, which was fixed in #20063. The graph looks like this (rewrote actual names with descriptions):
As always, sorry for the noise. :/ |
This comment has been minimized.
This comment has been minimized.
|
The problem I'm seeing is that a series of PRs starting at #19961 has
introduced a number of different bugs with menu handling, and the fixes for
these bugs each target a different place in the code rather than
systemically adressing the root cause. In this kind of situation what I
want to do is roll back the changes to the last known good code and then
reapply the fixed version of the original code all at once.
A shorter version is that the menu bugs we have now are worse than the fix
that caused them, so the most direct fix is to revert and try again, more
carefully this time.
On Jan 28, 2017 10:15 AM, "Keyspace-1" <notifications@github.com> wrote:
As I've mentioned in PR #20072
<#20072 (comment)>,
reverting that one commit is not enough. It'll make things even worse.
18d78a0
<18d78a0>
is part of PR #20041
<#20041>.
#20065 <#20065> (this
issue) was introduced by PR #20041
<#20041>, which fixed
issue #20037 <#20037>,
which was introduced in PR #19961
<#19961>, which doesn't
seem to reference any then-open issue, but outlines as issue by itself,
namely different input handling - "getch in (*nix?) curses, native
functions in SDL (and/or?) Windows".
#20065 <#20065> (this
issue) is conflated - three separate ones by now, described "as examples"
rather than underlying functionality. PR #20072
<#20072> fixes one of
three.
I guess I'll go split them into separate ones (retaining the original mess).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#20065 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA0gdOO6SFhadS8dCOXwH0pDno1aFeiqks5rW4W8gaJpZM4LqM4h>
.
|
This comment has been minimized.
This comment has been minimized.
|
To be clear though, if there is a systemic solution to all the menu
breakage, we can go that way, I just don't want to be playing whack-a-mole
with this for the next month.
|
This comment has been minimized.
This comment has been minimized.
|
Is there anybody working on fixing this? Those problems on UI input are really annoying. |
This was referenced Feb 2, 2017
This comment has been minimized.
This comment has been minimized.
AdonaiJr
commented
Feb 7, 2017
keyspace
referenced this issue
Feb 10, 2017
Closed
Advanced inventory 'm'ove autofills dialogue #20234
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
Looked at #20033 more, above seems unrelated. |
keyspace
referenced this issue
Feb 10, 2017
Closed
[Proposal] Revert last month's input context handling changes #20251
This comment has been minimized.
This comment has been minimized.
|
All of that is actually fixed with #20174 |

keyspace commentedJan 21, 2017
•
edited
PR #20041 made some keys (most importantly,
2andq, but also others) unavailable in queries, e.g. when repairing an item with a tool.Savefile demonstrates this. Character has a soldering iron and a pocket knife. Activating the iron and choosing the knife for repair brings up a repair/practice window, where
2andqare shown as hotkeys for "repair as long as you can" and "cancel" respectively. Pressing those keys results in the selection moving down and no-action respectively.This issue is only partially addressed by follow-up PR #20072 ATM -
qdoes quit, but2/8, for example, are still mapped to scrolling.This issue has been split for easier tracking. Original many-edit braindump after the double break.
Several issues conflated.
System: Arch Linux, curses, self-built, current git master
0.C-20721-g82a1273ad9.Cheat menu actions skip mappings
See #20091.
Works as intended? Missing keys are
2/8(up/down on numpad),f(find),j/k(vi up/down), andq(quit).Guess PR #20041, commit 18d78a0 ("Prevent hotkeys in uimenu that are already mapped to actions.") - confirmed by bisect.
Can provide save if necessary, but easier to test through cheat menu (that's what I did). Previously, all actions in it were mapped to keys (seemingly sequentially). Now, several actions don't have a key associated.
Commit can be easily reverted (will submit PR), but perhaps it was needed for fixing the bug?..
Mapping
fto "find" breaks cheat-wishing contained liquidIncorrect! See #20147.
Now, both
/andfare mapped to "find".Could be
easilyremedied by mapping something else to "contained" (c?). Won't work well with wishing for a friendly monster, though.Crafting prompts don't map
qSee top of this report.
Repairing an item with a soldering iron no longer maps "quit" to
qkey. Theqis highlighted in the "Repairing/Practicing" prompt, but pressing the key does nothing.For testing save, see below.
Pressing
ESCdoes nothing either (pre-existing).Ping @BevapDin.
EDIT: Removed EDIT notes for readability, re-structured.