Screenshot to clipboard: Cannot `CaptureImage` without a view or layout

Hi all,

I’m used to hit a modifier key and click the screenshot button to capture a screenshot to the clipboard. It works fine on ParaView 5.13.2 and older but I get the following error on 6.0.1 and 6.1.0:

ERROR: In vtkSMSaveScreenshotProxy.cxx, line 832
vtkSMSaveScreenshotProxy (0000020D5F782F40): Cannot CaptureImage without a view or layout.

ERROR: In vtkSMSaveScreenshotProxy.cxx, line 659
vtkSMSaveScreenshotProxy (0000020D5F782F40): Failed to prepare to capture image.

I have this issue on 2 workstations which are still running Windows 10 but no problem on my laptop running Windows 11.

Do you know what could cause this issue and if there is a workaround?

Thanks!
Yann

Same here, looks like a bug :confused:

Could you open an issue: https://gitlab.kitware.com/paraview/paraview/-/work_items ?

FYI @cory.quammen

Hi Mathieu, that’s a pretty fast answer! :grinning_face: :folded_hands:

Here is the issue: https://gitlab.kitware.com/paraview/paraview/-/work_items/23271