[regression] Screenshot to clipboard: Cannot `CaptureImage` without a view or layout
## Description On ParaView 6.0.1/6.1.0, when capturing a screenshot to clipboard with a modifier key + screenshot button I get the following error: ``` 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. ``` ## Configuration <!-- Operating system, standalone client, client/server, pvpython, pvbatch --> **Operating system and version:** * Windows 10 **ParaView executable and version:** <!-- GUI client, pvpython, pvbatch, etc. --> * Version: 6.1.0 * VTK Version: 9.6.1 * Qt Version: 6.9.0 * vtkIdType size: 64bits * MPI Enabled: Off * ParaView Build ID: superbuild af9bb3207d40b64f97c64a9c319d483ff3b17d03 (!1332) * Disable Registry: Off * SMP Backend: TBB * SMP Max Number of Threads: 24 * OpenGL Vendor: NVIDIA Corporation * OpenGL Version: 3.2.0 NVIDIA 591.44 * OpenGL Renderer: NVIDIA GeForce RTX 5050/PCIe/SSE2 * Accelerated filters overrides available: No **Additional information:** <!-- standalone client, remote server, Catalyst, etc. --> * This bug does not exist on ParaView 5.13.2 and older on the same workstation * This bug does not exist on the exact same ParaView version (6.1.0) installed on Windows 11
issue