You are not logged in

@Philip: do you have some time to test the patch in bug #53186. On linux it works well and allows for invisible Qt figures to be printed, and it also solves the original problem in this bug report with getframe. Hopefully, it can avoid the crash you observe.

@Philip: since you have been involved in testing getframe when it was added, I though you migh also help here. I'd like to know if this bug also happens on Windows (with visible figures only, since osmesa doesn't work on Windows). Thanks in advance.

I attached the resulting png files. When the figure is visible, getframe makes use of glReadPixels and some primitives are simply not drawn. When the figure is invisible, getframe makes use of osmesa pixel buffer and all primitives are drawn properly.