Bug 495361 - Copy path and image properties to clipboard
Summary: Copy path and image properties to clipboard
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Showfoto-Thumbs (other bugs)
Version First Reported In: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-25 19:34 UTC by Jürgen Weber
Modified: 2025-12-25 10:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 9.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jürgen Weber 2024-10-25 19:34:43 UTC
In the context menue of an image thumb there should be two entries to copy image path (on disk) and image properties (those that are shown in the properties tooltip) to clipboard.
Comment 1 Maik Qualmann 2024-10-26 06:14:29 UTC
Copying the image path is already available in the context menu function "Copy". We write in the clipboard metadata not only the file URL, but also as a text list. So if you use a text editor, it will take the text part and insert the paths as a list.

How do you present the properties? The tooltip is basically formatted as HTML. How should the properties be inserted into other programs (in which ones)? As HTML, text or image data?

Maik
Comment 2 Jürgen Weber 2024-10-27 12:42:32 UTC
I do not see metadata after pasting into mousepad:
file:///home/weberjn/Pictures/phototest/b/IMG_7969.JPG

> present the properties
I thought of simple text, but it would be nice, if csv could be configured.

Anyway, it is surprising, that after copy in digiKam you cannot paste into Thunar. 
I'd rather expect that copy results in something that can be pasted into Thunar, and copy path results in something, that can be pasted into a text editor.
Comment 3 Maik Qualmann 2024-10-27 13:00:34 UTC
Paste URL/Text works fine here in Dolphin or Kate.
Which platform are you using?

Maik
Comment 4 Jürgen Weber 2024-10-27 14:11:51 UTC
I tried

Devuan GNU/Linux 5 (daedalus), DigiKam 7.9.0, Thunar 4.18.4
FreeBSD 14.1, DigiKam 8.4.0, Thunar 4.18.11

The paste menue in Thunar is greyed out after the copy command in digiKam.
Comment 5 caulier.gilles 2025-12-04 14:10:25 UTC
Git commit 62c9e98c18c924dbc9bccd3321ffb62267da8d64 by Gilles Caulier.
Committed on 04/12/2025 at 14:08.
Pushed by cgilles into branch 'master'.

Image Properties: Add new button to copy all properties as text in clipboard.
FIXED-IN: 8.9.0

M  +2    -1    NEWS
M  +19   -0    core/libs/properties/itempropertiessidebar.cpp
M  +4    -0    core/libs/properties/itempropertiessidebar.h
M  +4    -0    core/libs/properties/itempropertiessidebardb.cpp
M  +64   -0    core/libs/properties/itempropertiestab.cpp
M  +4    -0    core/libs/properties/itempropertiestab.h
M  +8    -8    core/libs/properties/itempropertiestab_p.h
M  +2    -0    core/libs/properties/itempropertiestab_setters.cpp

https://invent.kde.org/graphics/digikam/-/commit/62c9e98c18c924dbc9bccd3321ffb62267da8d64