Unable to capture screenshot of Krita loading window

This also appears if I attempt to use the GUI’s “Active window” mode on plasmashell’s desktop:/:

An error occurred while taking a screenshot.
KWin screenshot request failed:
Invalid window requested
Potentially relevant information:

  • Method: CaptureActiveWindow
  • Method specific arguments: QMap(("include-decoration", QVariant(bool, true))("include-shadow", QVariant(bool, false))("native-resolution", QVariant(bool, true)))

…but doesn’t reproduce if I use the key bind for it!

It’s just a bug in Spectacle, I suppose.