dfhack icon indicating copy to clipboard operation
dfhack copied to clipboard

Trading Window: Right click cancels Merchants

Open sawatts opened this issue 9 months ago • 2 comments

Trading Window: Right click cancels Merchants

Not sure if this is DFHACK or DF itself. Current versions on Steam/Windows.

This has occurred twice now.

When trading with merchants, while in the window selecting goods to buy and sell, right clicked and received what looks like a DFHACK confirmation dialog.

Wanted to get back to the trading screen, selected ignore option (top left item in dialog).

Trade window closed. Returning to the Trade Depot now lists "There are no merchants trading right now" - no option to reengage with them. The merchants are, of course, still visible and their goods present.

I think the same dialog appears when I then decided to rage-delete the trade depot. The options there were "P:Pause", "S:Settings", and "Enter:Yes"; in which case I pressed "P" with the intent to cancel the action. Doing this with the Trade Depot removal also removed the trade depot rather than acting as a cancel/confirm dialog that it seems to be interposing.

Never the less, we can normally exit and reenter the trade window while the merchants are present without vanishing them. What is the intent with this dialog at this point?

sawatts avatar Mar 08 '25 20:03 sawatts

DFHACK 51.06-r1 DF 51.06

sawatts avatar Mar 08 '25 20:03 sawatts

This might be an issue with UI clarity. The intended flow is to right click or hit Esc to indicate that you didn't intend to do whatever the dialog is warning you about. Clicking the button allows the action to go through.

I'm not sure what happened with not being able to re-enter the trade screen. Was the game unpaused? It could be that they just decided to depart right at that instant if the game was unpaused.

Regardless, I'll look into better working on the dialogs.

myk002 avatar Apr 03 '25 00:04 myk002