I guess the missing thumbnail is inevitable, but the present windows effect could at least display an outline for such windows. Reproducible: Always
*cough* https://git.reviewboard.kde.org/r/122435/
Yes, you linked that discarded patch in my previous bug report, where you suggested I open a new report https://bugs.kde.org/show_bug.cgi?id=348550 :) I don't think it would be terribly hard for someone familiar with the code to add a placeholder outline for windows with missing content, and it would improve the usability of present windows, cover switch etc.
Painting a placeholder is trivial, but knowing that the window has no real pixmap probably isn't. I don't think we wire such details to the effects - nor that we should. Effects should not have to deal with broken window texture, being required to add placeholders or something. They paint "windows", whatever that is (This also affects the desktop grid, likely the cube, and for sure the cover and flip switch effects, so if the case shall be handled, it shall be handled in general and ideally by providing a real texture)
Reopen if it's still present in 5.27