Description: Internal screesshot feature cannot copy image to clipboard. Steps to Reproduce: 1.Enable screenshot feature in expert configuration 2.Take a screenshot of a dialog Actual Results: You can only save the screenshot image as a PNG file. Expected Results: Besides saving the screenshot as a PNG file, let it be copied to the clipboard to past in a document. Reproducible: Always User Profile Reset: No Additional Info: Add a button to copy image to the clipboard.
Partial patch submitted. https://gerrit.libreoffice.org/c/core/+/184907 Need to code a way to copy the bitmap object to the clipboard.
Maybe you find inspiration how CopyAnyData() is implemented for SotClipboardFormatId::BITMAP.
Olivier Hallot committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/70c7f6ba49cfc506fc47dac32af98976ecf33cf8 tdf#166391 Add Copy Image button to screenshot dialog. It will be available in 26.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.