studio icon indicating copy to clipboard operation
studio copied to clipboard

Dashboard screenshot action

Open fietser28 opened this issue 10 months ago • 2 comments

I would like to have a way to have my dashboard generate screenshots (from a selected page or container of the dashboard?) so they can be saved to file or history (see #344).

I think a action to take the screenshot and output the image as a blob is the way to go. Inside the widget the user can select from a list of pages or containers the scope of the screenshot. I think containers are more flexible for this.

fietser28 avatar Apr 21 '24 13:04 fietser28

Electron framework, that we use in Studio, has a capturePage(rectangle) API - so, it should be possible to implement this feature. But, it will be limited in the way that dashboard page or selected container must be visible at the time when capture API is called.

mvladic avatar Apr 21 '24 20:04 mvladic

I think that is fine for now: Just like physical instruments where a screen capture is a common feature.

Creating images from non visible containers is more like a report generation feature. Maybe somewhere in the future.

fietser28 avatar Apr 21 '24 20:04 fietser28