dfhack icon indicating copy to clipboard operation
dfhack copied to clipboard

Blueprint Transformation Keys Displaying Wrong

Open mrbenjaminporter42 opened this issue 10 months ago • 3 comments

The transformation keys listed in the DFHack window, <>_=, are only half correct. The rotate buttons are () not <>. I learned this from the DFHack documentation, which has it correctly listed as ().

mrbenjaminporter42 avatar Jan 28 '26 01:01 mrbenjaminporter42

In fact, the transformation keys listed in the window are correct. The issue is that in the font used by DF parentheses and angles look very similar.

Image Image

Further, the key information for a HotkeyLabel cannot easily be wrong, because the shown key is generated from the keycode that the label reacts to. So there is only one definition and they are always in sync.

I do agree though that this looks confusing, and I have stumbled across this in the past myself. I would not be opposed to changing the buttons for blueprint transformations to something else.

chdoc avatar Feb 19 '26 19:02 chdoc

@ab9rf Do you think that this requires any action? If so, what kind of action?

chdoc avatar May 15 '26 19:05 chdoc

Changed the bindings in DFHack/scripts#1627: rotate is now ,/. (the unshifted <> keys) and flip is [/] — all unambiguous in the game font. Verified live that the new keys drive the transforms and the labels render correctly.

While testing I noticed the transform_widgets test in test/gui/quickfort.lua referenced stale A_MOVE_* keys that don't actually reach these widgets anymore (the file is skipped by the in-game harness, so the drift went unnoticed) — updated it to the current bindings.

Alistair-Afton avatar Sep 16 '26 04:09 Alistair-Afton