Bug 431753

Summary: Show overlay with metadata in Preview mode
Product: [Applications] digikam Reporter: Milan Knížek <knizek>
Component: Usability-OverlayAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 7.1.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 9.0.0
Sentry Crash Report:
Attachments: digiKAm 9.0.0 will support and overlay of metadata printed over the preview canvas.

Description Milan Knížek 2021-01-17 19:58:26 UTC
SUMMARY

Allow the user to define what metadata should be displayed (comments, file name, tags, etc.) as an image overlay in `Preview` mode.

STEPS TO REPRODUCE

1. Open image in Preview mode

OBSERVED RESULT

No metadata are displayed.

EXPECTED RESULT

Comments of all lang variants, assigned tags, ratings, color lables, file size etc. should be displayable.

(Similar display options as of // Settings // Configure digiKam // Views // Icons should be available for Preview.)

RATIONALE

While adding/reviewing image metadata (tags, comments, face tags) in Preview mode it is rather slow to identify what user metadata are already filled in.

I.e. I have to switch the side panels to Tags (check "Tags already assigned"), to Description (open the language code to see which lang variants are already filled in), etc.

It is possible to increase the icon (thumbnail) size in "Thumbnails" mode to somewhat emulate a Preview mode, however:

- the size is limited

- the image quality is not the same as preview

- it is not possible to add face tags.
Comment 1 Maik Qualmann 2021-01-17 20:13:58 UTC

*** This bug has been marked as a duplicate of bug 302559 ***
Comment 2 Milan Knížek 2021-01-17 20:19:34 UTC
Sorry for the duplicate, I have completely forgotten I even commented the other open bug half year ago...
Comment 3 caulier.gilles 2025-12-14 14:40:14 UTC
Git commit 3f5c8a3bae0e3952051a3093f4306d163122c79e by Gilles Caulier.
Committed on 14/12/2025 at 14:37.
Pushed by cgilles into branch 'master'.

Image preview : Extent tool bar on the top left with editable labels widgets (rating, pick, color)
Related: bug 251891, bug 493779, bug 221142, bug 302559
FIXED-IN: 8.9.0

M  +61   -1    core/app/views/preview/itempreviewview.cpp

https://invent.kde.org/graphics/digikam/-/commit/3f5c8a3bae0e3952051a3093f4306d163122c79e
Comment 4 caulier.gilles 2025-12-23 23:05:12 UTC
Git commit 1ffaa6fbdac8c5b389b75f29002794d724d98b15 by Gilles Caulier.
Committed on 23/12/2025 at 22:56.
Pushed by cgilles into branch 'master'.

Extent video preview toolbar with rating, pick, and color labels support, as for the image preview.
Related: bug 251891, bug 493779, bug 221142, bug 302559

M  +72   -0    core/app/views/stack/stackedview.cpp
M  +10   -2    core/app/views/stack/stackedview.h
M  +5    -0    core/libs/video/player/QtAVPlayer/mediaplayerview.cpp
M  +2    -0    core/libs/video/player/QtAVPlayer/mediaplayerview.h
M  +5    -0    core/libs/video/player/qtmm/mediaplayerview.cpp
M  +2    -0    core/libs/video/player/qtmm/mediaplayerview.h

https://invent.kde.org/graphics/digikam/-/commit/1ffaa6fbdac8c5b389b75f29002794d724d98b15
Comment 5 caulier.gilles 2025-12-25 18:53:49 UTC
Created attachment 187977 [details]
digiKAm 9.0.0 will support and overlay of metadata printed over the preview canvas.
Comment 6 caulier.gilles 2025-12-27 08:56:47 UTC
Git commit 1330744cfcc6947229d85553564dd417e656422c by Gilles Caulier.
Committed on 27/12/2025 at 08:55.
Pushed by cgilles into branch 'master'.

Implement backend settings for the preview overlay support
Related: bug 336593

M  +1    -1    core/libs/settings/CMakeLists.txt
M  +2    -0    core/libs/settings/applicationsettings.cpp
M  +7    -1    core/libs/settings/applicationsettings.h
M  +2    -0    core/libs/settings/applicationsettings_p.h
R  +10   -0    core/libs/settings/applicationsettings_views.cpp [from: core/libs/settings/applicationsettings_iconview.cpp - 097% similarity]

https://invent.kde.org/graphics/digikam/-/commit/1330744cfcc6947229d85553564dd417e656422c
Comment 7 caulier.gilles 2025-12-27 11:02:05 UTC
Git commit ca550bc602480f426dc185750f68c7b0651c51b9 by Gilles Caulier.
Committed on 27/12/2025 at 11:00.
Pushed by cgilles into branch 'master'.

handle ON/OFF preview overlay with item properties.
Related: bug 336593
FIXED-IN: 9.0.0

M  +13   -0    core/app/views/preview/itempreviewvideo.cpp
M  +1    -0    core/app/views/preview/itempreviewvideo.h
M  +3    -1    core/app/views/preview/itempreviewview.cpp
M  +5    -0    core/libs/video/player/QtAVPlayer/mediaplayerview.cpp
M  +5    -0    core/libs/video/player/QtAVPlayer/mediaplayerview.h
M  +5    -0    core/libs/video/player/qtmm/mediaplayerview.cpp
M  +5    -0    core/libs/video/player/qtmm/mediaplayerview.h
M  +8    -1    core/utilities/setup/album/setupalbumview.cpp

https://invent.kde.org/graphics/digikam/-/commit/ca550bc602480f426dc185750f68c7b0651c51b9
Comment 8 caulier.gilles 2025-12-28 10:01:33 UTC
Git commit 0c327ea95ffbe1c30557408c37b444a3fa5f376b by Gilles Caulier.
Committed on 28/12/2025 at 09:59.
Pushed by cgilles into branch 'master'.

start to factorize the OSD settings shared between Slideshow and preview canvas
Related: bug 336593

M  +1    -0    core/libs/threadimageio/CMakeLists.txt
A  +64   -0    core/libs/threadimageio/preview/previewosdsettings.cpp     [License: GPL(v2.0+)]
A  +119  -0    core/libs/threadimageio/preview/previewosdsettings.h     [License: GPL(v2.0+)]

https://invent.kde.org/graphics/digikam/-/commit/0c327ea95ffbe1c30557408c37b444a3fa5f376b
Comment 9 caulier.gilles 2025-12-28 10:37:50 UTC
Git commit 2f0adde96aeb7b93917f16861ba8003acf64176a by Gilles Caulier.
Committed on 28/12/2025 at 10:36.
Pushed by cgilles into branch 'master'.

fix layout again.
Prepare to factorize
Related: bug 336593

M  +46   -44   core/dplugins/generic/view/slideshow/dialogs/setupslideshow_dialog.cpp

https://invent.kde.org/graphics/digikam/-/commit/2f0adde96aeb7b93917f16861ba8003acf64176a
Comment 10 caulier.gilles 2025-12-28 12:06:04 UTC
Git commit 12be985a120ac350b28ab832a801a120b27ceae0 by Gilles Caulier.
Committed on 28/12/2025 at 12:05.
Pushed by cgilles into branch 'master'.

Factoring preview osd widget and settings in Slideshow tool.
Related: bug 336593

M  +4    -23   core/dplugins/generic/view/slideshow/common/slideshowsettings.cpp
M  +6    -55   core/dplugins/generic/view/slideshow/common/slideshowsettings.h
M  +8    -84   core/dplugins/generic/view/slideshow/dialogs/setupslideshow_dialog.cpp
M  +11   -11   core/dplugins/generic/view/slideshow/widgets/slideproperties.cpp
M  +1    -0    core/libs/threadimageio/CMakeLists.txt
A  +180  -0    core/libs/threadimageio/preview/previewosdwidget.cpp     [License: GPL(v2.0+)]
A  +53   -0    core/libs/threadimageio/preview/previewosdwidget.h     [License: GPL(v2.0+)]

https://invent.kde.org/graphics/digikam/-/commit/12be985a120ac350b28ab832a801a120b27ceae0
Comment 11 caulier.gilles 2025-12-28 15:08:16 UTC
Git commit 64de0847d85a449655a75a43e71d1b01d5ef7789 by Gilles Caulier.
Committed on 28/12/2025 at 15:05.
Pushed by cgilles into branch 'master'.

Uses factored preview OSD settings for the item preview view/video
Related: bug 336593

M  +37   -22   core/app/views/preview/itempreviewosd.cpp
M  +2    -1    core/app/views/preview/itempreviewosd.h
M  +4    -1    core/app/views/preview/itempreviewvideo.cpp
M  +4    -1    core/app/views/preview/itempreviewview.cpp
M  +2    -2    core/dplugins/generic/view/slideshow/common/slideshowsettings.cpp
M  +2    -2    core/dplugins/generic/view/slideshow/dialogs/setupslideshow_dialog.cpp
M  +2    -2    core/libs/threadimageio/preview/previewosdsettings.cpp
M  +2    -3    core/libs/threadimageio/preview/previewosdsettings.h
M  +18   -1    core/utilities/setup/album/setupalbumview.cpp

https://invent.kde.org/graphics/digikam/-/commit/64de0847d85a449655a75a43e71d1b01d5ef7789