The preview of the screenshot is blank when the screenshot itself is "small", with respect to the screen size. However I can drop/export/save the screenshot just fine. Reproducible: Always Steps to Reproduce: 1. Take a small screenshot, e.g. using Rectangular region or a very small Active Window Actual Results: Preview is blank. Expected Results: Preview widget shows the screenshot as expected.
Note that I filed the bug from my desktop with proprietary Nvidia drivers. I cannot reproduce it on my laptop with Intel graphics...
I only have an Intel GPU; I can't fix the bug if I can't repro it.
(In reply to Boudhayan Gupta from comment #2) > I only have an Intel GPU; I can't fix the bug if I can't repro it. I see. Well I can try to have a look at the code myself. Could you give me a hint about where should I start?
If when you save the picture a correct image is saved, then the image is being captured by the XCB backend correctly, in which case I strongly suspect this is a Qt bug, to do with the Qt Graphics View framework.
Same problem. Additional details: whenever you resize the window to a size where the preview doesn't need to be downscaled, the preview is gone. If you downsize the window, the preview appears again. The image is always saved correctly.
See also bug 362450