Snapshot of modal component

gui

#1

Hi,

I have created a method to create a screenshot of my plugin UI using the createComponentSnapshot(). I trigger it using a keyboard shortcut (using an ApplicationCommandManager). It works well except when I have a ComboBox open.

The ComboBox is not part of the snapshot. I guess it is because the ComboBox menu is a modal component.sw32s

Is there a way to get a snapshot of everything on screen with the modal component included ?

Thanks