Bug 473045 - The keyboard shortcut to create a new folder is not displayed in the right-click desktop menu
Summary: The keyboard shortcut to create a new folder is not displayed in the right-cl...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Folder View widget (other bugs)
Version First Reported In: master
Platform: Manjaro Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-05 14:55 UTC by Varaskkar
Modified: 2026-10-30 19:11 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.8.3
Sentry Crash Report:


Attachments
Difference between dolphin and desktop (175.16 KB, image/jpeg)
2023-08-05 14:55 UTC, Varaskkar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Varaskkar 2023-08-05 14:55:54 UTC
Created attachment 160760 [details]
Difference between dolphin and desktop

In the desktop, right click, it doesn’t appear the shortcut to create folder but it does in Dolphin.


In this image you can see the difference between Dolphin and Desktop:

https://i.imgur.com/2FnYJu2.jpg
Comment 1 Nate Graham 2023-08-07 18:11:20 UTC
Can confirm in Plasma 6.
Comment 2 Bug Janitor Service 2026-10-29 18:11:13 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/4146
Comment 3 Niccolò Venerandi 2026-10-30 14:47:44 UTC
Git commit c68d33a9c7cd8e3d32c989a9eadf95e25cc6e79c by Niccolò Venerandi.
Committed on 30/10/2026 at 14:46.
Pushed by niccolove into branch 'master'.

containments/desktop: Show the Create Folder shortcut in the New menu

Ctrl+Shift+N creates a folder on the desktop, but unlike in Dolphin the
"Folder…" entry in the "Create New" menu doesn't show the shortcut.

KNewFileMenu shows the shortcut of the action passed to
setNewFolderShortcutAction(). Dolphin passes its Create Folder action,
but Folder View has none: its shortcuts are handled by the ShortCut
event filter, because actions don't receive key presses in the QML
view. So pass an action that only carries the standard Create Folder
shortcut. It isn't attached to anything, so Ctrl+Shift+N still creates only
one folder.

M  +6    -0    containments/desktop/plugins/folder/foldermodel.cpp

https://invent.kde.org/plasma/plasma-desktop/-/commit/c68d33a9c7cd8e3d32c989a9eadf95e25cc6e79c
Comment 4 Niccolò Venerandi 2026-10-30 14:47:59 UTC
Git commit e8ddeed27c9032b5db196a92b908b1d3d1551785 by Niccolò Venerandi.
Committed on 30/10/2026 at 14:47.
Pushed by niccolove into branch 'Plasma/6.8'.

containments/desktop: Show the Create Folder shortcut in the New menu

Ctrl+Shift+N creates a folder on the desktop, but unlike in Dolphin the
"Folder…" entry in the "Create New" menu doesn't show the shortcut.

KNewFileMenu shows the shortcut of the action passed to
setNewFolderShortcutAction(). Dolphin passes its Create Folder action,
but Folder View has none: its shortcuts are handled by the ShortCut
event filter, because actions don't receive key presses in the QML
view. So pass an action that only carries the standard Create Folder
shortcut. It isn't attached to anything, so Ctrl+Shift+N still creates only
one folder.


(cherry picked from commit c68d33a9c7cd8e3d32c989a9eadf95e25cc6e79c)

Co-authored-by: Niccolò Venerandi <niccolo@venerandi.com>

M  +6    -0    containments/desktop/plugins/folder/foldermodel.cpp

https://invent.kde.org/plasma/plasma-desktop/-/commit/e8ddeed27c9032b5db196a92b908b1d3d1551785