<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>407657</bug_id>
          
          <creation_ts>2019-05-17 17:43:31 +0000</creation_ts>
          <short_desc>Add Context Menu In Video Preview</short_desc>
          <delta_ts>2025-12-25 10:53:52 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Usability-Menus</component>
          <version>6.1.0</version>
          <rep_platform>Microsoft Windows</rep_platform>
          <op_sys>Microsoft Windows</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>hardy.public</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>caulier.gilles</cc>
    
    <cc>emanuel</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/digikam/-/commit/0e723a0e0c109d855b0e6ffda2bc166256959fa9</cf_commitlink>
          <cf_versionfixedin>9.0.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1856817</commentid>
    <comment_count>0</comment_count>
    <who name="">hardy.public</who>
    <bug_when>2019-05-17 17:43:31 +0000</bug_when>
    <thetext>SUMMARY
In preview mode, right-clicking on a video doesn&apos;t show any menu unlike thumbnail mode.

Would like &apos;Move To Wastebin&apos; and &apos;Open&apos;/&apos;Open With...&apos; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2228316</commentid>
    <comment_count>1</comment_count>
    <who name="MrBond">emanuel</who>
    <bug_when>2023-05-05 20:34:15 +0000</bug_when>
    <thetext>After nearly 6 years a solution to the problem?! :) Wow. That took a long time!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2479265</commentid>
    <comment_count>2</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2025-12-24 15:51:11 +0000</bug_when>
    <thetext>Git commit 32a97a0f9c928973f94e7c533feb129d3065f376 by Gilles Caulier.
Committed on 24/12/2025 at 15:50.
Pushed by cgilles into branch &apos;master&apos;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2479332</commentid>
    <comment_count>3</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2025-12-24 20:24:07 +0000</bug_when>
    <thetext>Git commit 6ab6bc95936bde4214d3344aa7c47f1c9e99bafe by Gilles Caulier.
Committed on 24/12/2025 at 20:23.
Pushed by cgilles into branch &apos;master&apos;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2479346</commentid>
    <comment_count>4</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2025-12-24 22:49:39 +0000</bug_when>
    <thetext>Git commit 697308143ed4da1460a53f7c910e30bb5b5ead7a by Gilles Caulier.
Committed on 24/12/2025 at 22:49.
Pushed by cgilles into branch &apos;master&apos;.

add rate menu

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

https://invent.kde.org/graphics/digikam/-/commit/697308143ed4da1460a53f7c910e30bb5b5ead7a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2479384</commentid>
    <comment_count>5</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2025-12-25 05:00:57 +0000</bug_when>
    <thetext>Git commit 3265a07254b0b4d4cd775aec4edce42956e390bb by Gilles Caulier.
Committed on 25/12/2025 at 04:59.
Pushed by cgilles into branch &apos;master&apos;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2479394</commentid>
    <comment_count>6</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2025-12-25 08:29:19 +0000</bug_when>
    <thetext>Git commit 0e723a0e0c109d855b0e6ffda2bc166256959fa9 by Gilles Caulier.
Committed on 25/12/2025 at 08:27.
Pushed by cgilles into branch &apos;master&apos;.

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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>