Bug 166391 - [SCREENSHOT] Screenshot should have a copy image button to clipboard
Summary: [SCREENSHOT] Screenshot should have a copy image button to clipboard
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Olivier Hallot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Screenshot
  Show dependency treegraph
 
Reported: 2025-04-29 12:43 UTC by Olivier Hallot
Modified: 2025-05-07 15:48 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Hallot 2025-04-29 12:43:57 UTC
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.
Comment 1 Olivier Hallot 2025-05-02 19:27:27 UTC
Partial patch submitted.

https://gerrit.libreoffice.org/c/core/+/184907

Need to code a way to copy the bitmap object to the clipboard.
Comment 2 Heiko Tietze 2025-05-05 07:44:40 UTC
Maybe you find inspiration how CopyAnyData() is implemented for SotClipboardFormatId::BITMAP.