https://bugs.kde.org/show_bug.cgi?id=443512

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-desktop/commit/12 |ma/plasma-desktop/commit/d7
                   |350fb1242c4dbfdb547926bdb09 |bcf6dee0c764cf2fdbd022fd0ba
                   |3eb8da96b4b                 |4d278ff314e

--- Comment #11 from Nate Graham <n...@kde.org> ---
Git commit d7bcf6dee0c764cf2fdbd022fd0ba4d278ff314e by Nate Graham, on behalf
of Derek Christ.
Committed on 19/10/2021 at 14:44.
Pushed by ngraham into branch 'Plasma/5.23'.

Fix create-folder-shortcut (F10)

The create folder shortcut worked as long as the user did not right-
click into an empty space on the desktop to invoke the context menu.

The problem was that the create-folder-action was set to not visible
so that it is not shown in the context menu. But as soon as the context
menu is opened, the action is set to not visible in the plasmoid
contextual action list. The reason it works before opening the menu is
because the action for the plasmoid is created without setting it to
not visible.

This commit fixes the bug by using an already existing workaround class
that uses an event filter to respond to the
KStandardShortcut::createFolder key sequence.


(cherry picked from commit 12350fb1242c4dbfdb547926bdb093eb8da96b4b)

M  +5    -0    containments/desktop/package/contents/ui/FolderView.qml
M  +1    -1    containments/desktop/package/contents/ui/FolderViewLayer.qml
M  +0    -6    containments/desktop/plugins/folder/foldermodel.cpp
M  +2    -0    containments/desktop/plugins/folder/shortcut.cpp
M  +1    -0    containments/desktop/plugins/folder/shortcut.h

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to