I use Alt-PrintScreen to capture screen-dumps of windows. This often works well.
But frequently, it will not, and the only thing that happens, is that a screen dump image is created in ~/Pictures/
folder of size 0 bytes.
OS: 21.04
GPU: nVidia
Driver: NVIDIA 460.80