Bug 430048

Summary: "Start a Slideshow with selected image" Dolphin context menu plugin should only appear when more than one image is selected
Product: [Applications] gwenview Reporter: Nate Graham <nate>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: meven29
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 21.04

Description Nate Graham 2020-12-05 17:26:36 UTC
As the menu title suggests, this action doesn't make much sense when only a single image is selected. It just clutters up the context menu. We should consider only showing it when 2 or more images are selected.
Comment 1 Méven Car 2020-12-07 07:12:41 UTC
Fix proposal at https://invent.kde.org/graphics/gwenview/-/merge_requests/24
Comment 2 Méven Car 2021-02-02 20:32:44 UTC
Git commit a6ceabe9e355581c89b28625ae59a6d7b112bea4 by Méven Car.
Committed on 02/02/2021 at 20:32.
Pushed by meven into branch 'master'.

Replace slideshow ServiceMenu by SlideShowFileItemAction

Using a KAbstractFileItemActionPlugin allows to have more control over when actions are shown in context menus.
Related: bug 429531
FIXED-IN: 21.04

M  +12   -2    app/CMakeLists.txt
D  +0    -70   app/slideshow.desktop
A  +90   -0    app/slideshowfileitemaction.cpp     [License: GPL]
A  +45   -0    app/slideshowfileitemaction.h     [License: GPL]
A  +15   -0    app/slideshowfileitemaction.json

https://invent.kde.org/graphics/gwenview/commit/a6ceabe9e355581c89b28625ae59a6d7b112bea4