You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When "a" activating a disposable or refillable lighter, the "What to do with your lighter" popup stays in the middle of the screen after selecting an option, possibly hiding the character and surroundings and making direction-selection risky.
Steps To Reproduce
Steps to reproduce the behavior:
Zoom out to max or near-max
Approach something you want to burn
Press "a" to activate a lighter, and select "Start a fire quickly"
Choose a direction if you dare
Expected behavior
Upon selecting a menu entry from the "What to do with your lighter?" popup, I am done with that popup and expect it to go away.
Screenshots
Here, the popup just barely obscures my character and the stove to his right. With a wider zoom, the whole 9-tile surroundings is hidden. I already pressed "1" to "Start a fire quickly".
This affects other items with multiple "activation" uses; for instance when activating an entrenching tool or Halligan bar, the same kind of popup menu is displayed for selecting an action. Some of these need a direction (prying a door, digging a pit) and will have the same UI issue.
The width of the popup seems to depend on how long the name of the tool is; for "Halligan bar" (12 characters) there is less chance of overlap than there is with "refillable lighter" (18 characters), at least on my particular resolution/tileset/font:
Finally poring through the code myself, I figure we're inside the query method called from avatar::invoke_item here:
It looks like below this is some core UI event handling (and invoke_item is called all over the place), so I am hesitant to mess around with dismissing or hiding menus, given that menu navigation and action canceling is already inconsistent at best.
I may take a crack at fixing this in my fork, but would certainly appreciate input from other developers about how to approach it, or whether it's worth the effort.
Describe the bug
When "a" activating a disposable or refillable lighter, the "What to do with your lighter" popup stays in the middle of the screen after selecting an option, possibly hiding the character and surroundings and making direction-selection risky.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Upon selecting a menu entry from the "What to do with your lighter?" popup, I am done with that popup and expect it to go away.
Screenshots
Here, the popup just barely obscures my character and the stove to his right. With a wider zoom, the whole 9-tile surroundings is hidden. I already pressed "1" to "Start a fire quickly".
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
No Rail Stations [No_Rail_Stations]
]
The text was updated successfully, but these errors were encountered: