shutter-project / shutter

Screenshot tool for Linux
https://shutter-project.org/
GNU General Public License v3.0
501 stars 35 forks source link

Improve handling of images that are pasted from clipboard data #663

Closed Photon89 closed 3 months ago

Photon89 commented 3 months ago

So far, not much has happened. For better handling, a file monitor needs to be added. Otherwise, such pasted images cannot, in particular, be deleted from Shutter.

Photon89 commented 3 months ago

Instead of saving files imported from clipboard in /tmp, save them where files are usually saved. To generate a random unique file name, use https://metacpan.org/pod/Data::UUID as new dependency. Maybe there is a better solution which doesn't involve adding a new dependency though.

Photon89 commented 3 months ago

Are any further changes required before merging this?