Bug 467013 - Enable copying file path to the clipboard in Windows
Summary: Enable copying file path to the clipboard in Windows
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Clipboard (show other bugs)
Version: 7.9.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-07 14:31 UTC by Frederic Da Vitoria
Modified: 2023-03-08 06:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 7.10.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Da Vitoria 2023-03-07 14:31:16 UTC
Currently, "Copy" copies the file to the clipboard. This is required in order to be able to paste in a file manager. But this does not allow pasting the file path in a text editor. In digiKam-users, Gilles suggested adding a button to copy file name & path to the clipboard.
Comment 1 Maik Qualmann 2023-03-07 17:46:42 UTC
Git commit 8943b1f5844b0f76e63a227711de990b034f6d83 by Maik Qualmann.
Committed on 07/03/2023 at 17:45.
Pushed by mqualmann into branch 'master'.

try to add text/plain QMimeData for a test

M  +2    -2    core/app/dragdrop/ddragobjects.cpp

https://invent.kde.org/graphics/digikam/commit/8943b1f5844b0f76e63a227711de990b034f6d83
Comment 2 Maik Qualmann 2023-03-07 18:00:29 UTC
Git commit 33467049029e3e663eb99dd8f510401d1eaa1e3a by Maik Qualmann.
Committed on 07/03/2023 at 17:59.
Pushed by mqualmann into branch 'master'.

this works on Linux with text edit fields

M  +17   -3    core/app/dragdrop/ddragobjects.cpp

https://invent.kde.org/graphics/digikam/commit/33467049029e3e663eb99dd8f510401d1eaa1e3a
Comment 3 Maik Qualmann 2023-03-08 06:42:19 UTC
Git commit 140b7d79d4eac4e0ea0275882d668d3b8120b4af by Maik Qualmann.
Committed on 08/03/2023 at 06:41.
Pushed by mqualmann into branch 'master'.

fix file path in the clipboard under Windows

M  +2    -2    core/app/dragdrop/ddragobjects.cpp

https://invent.kde.org/graphics/digikam/commit/140b7d79d4eac4e0ea0275882d668d3b8120b4af
Comment 4 Maik Qualmann 2023-03-08 06:57:23 UTC
Git commit 3646129dfff77178b22e1ac21068340bd0789211 by Maik Qualmann.
Committed on 08/03/2023 at 06:55.
Pushed by mqualmann into branch 'qt5-maintenance'.

add file paths in text/plain format for clipboard actions
Related: bug 443682, bug 467024
FIXED-IN: 7.10.0

M  +3    -1    NEWS
M  +23   -0    core/app/dragdrop/ddragobjects.cpp

https://invent.kde.org/graphics/digikam/commit/3646129dfff77178b22e1ac21068340bd0789211