Bug 407657 - Add Context Menu In Video Preview
Summary: Add Context Menu In Video Preview
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Menus (other bugs)
Version First Reported In: 6.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-17 17:43 UTC by hardy.public
Modified: 2025-12-25 10:53 UTC (History)
2 users (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 hardy.public 2019-05-17 17:43:31 UTC
SUMMARY
In preview mode, right-clicking on a video doesn't show any menu unlike thumbnail mode.

Would like 'Move To Wastebin' and 'Open'/'Open With...' at least.

STEPS TO REPRODUCE
1. Right click on video.
2. 
3. 

OBSERVED RESULT
No context menu appears.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 

ADDITIONAL INFORMATION
Comment 1 MrBond 2023-05-05 20:34:15 UTC
After nearly 6 years a solution to the problem?! :) Wow. That took a long time!
Comment 2 caulier.gilles 2025-12-24 15:51:11 UTC
Git commit 32a97a0f9c928973f94e7c533feb129d3065f376 by Gilles Caulier.
Committed on 24/12/2025 at 15:50.
Pushed by cgilles into branch 'master'.

prepare the video preview to host context menu

M  +7    -0    core/app/DigikamGuiTarget.cmake
A  +138  -0    core/app/views/preview/itempreviewvideo.cpp     [License: GPL(v2.0+)]
A  +50   -0    core/app/views/preview/itempreviewvideo.h     [License: GPL(v2.0+)]
M  +0    -19   core/app/views/preview/itempreviewview.cpp
M  +2    -9    core/app/views/preview/itempreviewview.h
M  +1    -1    core/app/views/stack/itemiconview_p.h
M  +5    -78   core/app/views/stack/stackedview.cpp
M  +2    -10   core/app/views/stack/stackedview.h

https://invent.kde.org/graphics/digikam/-/commit/32a97a0f9c928973f94e7c533feb129d3065f376
Comment 3 caulier.gilles 2025-12-24 20:24:07 UTC
Git commit 6ab6bc95936bde4214d3344aa7c47f1c9e99bafe by Gilles Caulier.
Committed on 24/12/2025 at 20:23.
Pushed by cgilles into branch 'master'.

Video Preview: first version of the context menu. Functional but not yet complete.

M  +31   -1    core/app/views/preview/itempreviewvideo.cpp
M  +1    -0    core/app/views/preview/itempreviewvideo.h
M  +12   -2    core/libs/video/player/QtAVPlayer/mediaplayerview.cpp
M  +4    -0    core/libs/video/player/QtAVPlayer/mediaplayerview.h
M  +14   -1    core/libs/video/player/qtmm/mediaplayerview.cpp
M  +4    -0    core/libs/video/player/qtmm/mediaplayerview.h

https://invent.kde.org/graphics/digikam/-/commit/6ab6bc95936bde4214d3344aa7c47f1c9e99bafe
Comment 4 caulier.gilles 2025-12-24 22:49:39 UTC
Git commit 697308143ed4da1460a53f7c910e30bb5b5ead7a by Gilles Caulier.
Committed on 24/12/2025 at 22:49.
Pushed by cgilles into branch 'master'.

add rate menu

M  +4    -2    core/libs/video/player/qtmm/mediaplayerview.cpp

https://invent.kde.org/graphics/digikam/-/commit/697308143ed4da1460a53f7c910e30bb5b5ead7a
Comment 5 caulier.gilles 2025-12-25 05:00:57 UTC
Git commit 3265a07254b0b4d4cd775aec4edce42956e390bb by Gilles Caulier.
Committed on 25/12/2025 at 04:59.
Pushed by cgilles into branch 'master'.

Video Preview: context menu is now complete.

M  +57   -0    core/app/views/preview/itempreviewvideo.cpp
M  +8    -0    core/app/views/preview/itempreviewvideo.h
M  +1    -1    core/app/views/preview/itempreviewview.cpp
M  +6    -0    core/app/views/stack/stackedview.cpp

https://invent.kde.org/graphics/digikam/-/commit/3265a07254b0b4d4cd775aec4edce42956e390bb
Comment 6 caulier.gilles 2025-12-25 08:29:19 UTC
Git commit 0e723a0e0c109d855b0e6ffda2bc166256959fa9 by Gilles Caulier.
Committed on 25/12/2025 at 08:27.
Pushed by cgilles into branch 'master'.

Video Preview: the video rotate event captured by the right mouse button is in conflict with the context menu.
Add a new action button in the tool bar to rotate the video. This action is also present in the context menu.
FIXED-IN: 8.9.0

M  +2    -1    NEWS
M  +10   -8    core/libs/video/player/QtAVPlayer/mediaplayerview.cpp
M  +6    -0    core/libs/video/player/QtAVPlayer/mediaplayerview.h
M  +10   -7    core/libs/video/player/qtmm/mediaplayerview.cpp
M  +6    -0    core/libs/video/player/qtmm/mediaplayerview.h

https://invent.kde.org/graphics/digikam/-/commit/0e723a0e0c109d855b0e6ffda2bc166256959fa9