System Information
Operating system: NixOs
Graphics card: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] (rev 02)
Blender Version
Broken: 3.1
Short description of error
Sometimes, the UI in the dope sheet does not refresh until I resize it. It often occurs if I've nothing selected, and then select an object with some animations (loc/rot/scale): no keyframes are visible (click to play the animation):
Exact steps for others to reproduce the error
I can't really find any deterministic way to obtain this behavior, it just occurs from time to time on my projects. But in theory, just add an animation to some objects. Select/deselect the object: at some points your view in the dopesheet should not show the keyframes.

