[Feat] Add screenshot to clipboard interaction#3184
Conversation
- Modifies F3DStarter.cxx to handle screenshot to clipboard using clip - Modifies CMakeLists for importing clip Resolves f3d-app#2304
Hum, a bash script could run f3d, trigger the screenshot to clipboard interaction then write the clipboard to a file, then compare that file with a baseline ? |
I think that would make the implementation platform-dependent and might require additional dependencies (like |
|
@yashnator I agree we cannot really rely on a script based test. Here's my suggestion:
The new application command this->Internals->Engine->getWindow().renderToImage().toClipboard();Is When this will be done, you will have to add python/C/Java/JS bindings but focus on the C++ implementation for now. |
|
Sounds good. I will update the PR |
|
Need any help moving forward @yashnator ? |
|
@mwestphal Not yet, I will update the PR tomorrow with some changes |
Describe your changes
Adds the feature to take a screenshot to the clipboard by using
Shift+F12Issue ticket number and link if any
Resolves #2304
Checklist for finalizing the PR
AI Disclosure
Continuous integration
Please write a comment to run CI, eg:
\ci fast.See here for more info.