Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Plasma Desktop Plasma Desktop
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 31
    • Issues 31
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 61
    • Merge requests 61
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PlasmaPlasma
  • Plasma DesktopPlasma Desktop
  • Merge requests
  • !607

Fix create-folder-shortcut (F10)

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Derek Christ requested to merge derek/plasma-desktop:work/fix_create_folder into master Oct 18, 2021
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 5

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.

BUG: 443512

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/fix_create_folder