NewTools icon indicating copy to clipboard operation
NewTools copied to clipboard

[Debugger][Enhancement] Copy a screenshot of the debugger in the OS clipboard

Open labordep opened this issue 1 year ago • 1 comments

In connection with https://github.com/pharo-spec/NewTools/issues/549, I suggest adding a functionality to the debugger's window menu that allows users to capture a screenshot of the debugger window and automatically copy it to the operating system clipboard.

This enhancement is designed to simplify the process of copying a screenshot of the debugger from the system clipboard into an github issue, documentation, chat, or any other relevant context.

labordep avatar Jan 20 '24 11:01 labordep

I checked a bit the SDL support for this issue, although they mention there is some kind of support, the source does not seem to reflect this yet.

An ugly workaround to this is to use the Morphic methods:

self copyToPasteBuffer: self window.
World activeHand pasteBuffer.

But probably there's another way to handle it. I need to investigate further.

hernanmd avatar Apr 05 '24 15:04 hernanmd