Summary: | "Paste x files" action in a file context menu should not be there | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | tomashnyk |
Component: | Folder | Assignee: | Eike Hein <hein> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | nate, plasma-bugs |
Priority: | NOR | ||
Version: | 5.23.5 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/commit/542e9a249d1839750ee67695742a8cb7c38edcca | Version Fixed In: | 5.24.2 |
Attachments: | Paste One Item should not be in this context menu. |
Description
tomashnyk
2022-01-21 17:33:31 UTC
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 |