Created attachment 145723 [details] Paste One Item should not be in this context menu. Splitted from here: https://bugs.kde.org/show_bug.cgi?id=448799 When right-clicking a file in Dolphin, there is no action called "Paste one file/Paste x Items" under the first separator. In Folder view, there is. I Would expect that this option should only be available in Folder view when rightclicking on the desktop, not on a file or a folder.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/815
Git commit 7d0c7ff8054260ceb925d0a9fc30f03c3c163b88 by Nate Graham. Committed on 16/02/2022 at 06:04. Pushed by ngraham into branch 'master'. foldermodel: hide paste action when right-clicking on files It doesn't make sense to offer a paste action when right-clicking on a file as it implies that the paste will overwrite the file, or at least interact with it in some way, but this is false. Dolphin follows this logic and doesn't offer a paste action when right-clicking on files, but Folder View does not, and it should. This commit makes the Paste action not appear if the thing that was right-clicked on is a file, rather than a folder or the wallpaper. FIXED-IN: 5.24 M +4 -2 containments/desktop/plugins/folder/foldermodel.cpp https://invent.kde.org/plasma/plasma-desktop/commit/7d0c7ff8054260ceb925d0a9fc30f03c3c163b88
Git commit 542e9a249d1839750ee67695742a8cb7c38edcca by Nate Graham. Committed on 16/02/2022 at 06:05. Pushed by ngraham into branch 'Plasma/5.24'. foldermodel: hide paste action when right-clicking on files It doesn't make sense to offer a paste action when right-clicking on a file as it implies that the paste will overwrite the file, or at least interact with it in some way, but this is false. Dolphin follows this logic and doesn't offer a paste action when right-clicking on files, but Folder View does not, and it should. This commit makes the Paste action not appear if the thing that was right-clicked on is a file, rather than a folder or the wallpaper. FIXED-IN: 5.24 (cherry picked from commit 7d0c7ff8054260ceb925d0a9fc30f03c3c163b88) M +4 -2 containments/desktop/plugins/folder/foldermodel.cpp https://invent.kde.org/plasma/plasma-desktop/commit/542e9a249d1839750ee67695742a8cb7c38edcca