dfhack icon indicating copy to clipboard operation
dfhack copied to clipboard

Filters in cold cases justice screen are not working

Open agnieszka-dev opened this issue 1 year ago • 1 comments

DFHack 52.04-r1

Image Image

agnieszka-dev avatar Sep 07 '25 11:09 agnieszka-dev

Found it. The justice filters never applied on the Cold cases tab because the unit list lookup preferred the hidden "Open cases" widget. Named widget lookup finds hidden tabs, so the filter was always installed on (and refreshes sent to) the open cases list even while cold cases was visible.

Fixed in #5927 by selecting the currently visible tab instead. Added tests covering both tabs for the interrogate and convict lists.

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