Summary: | Allow folder creation on desktop via F10 shortcut | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Patrick Silva <bugseforuns> |
Component: | Folder | Assignee: | Eike Hein <hein> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | kde, nate, pandom79, plasma-bugs |
Priority: | NOR | Keywords: | junior-jobs |
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/commit/59dfa775049fd76c4f438df3b22e9d9bbd83d436 | Version Fixed In: | |
Sentry Crash Report: |
Description
Patrick Silva
2020-08-10 14:54:07 UTC
I am developing it but i need a help. At the moment i can see in systemsettings -> standard shortcut > Create Folder F10. Now i should change the icon, translate the message (Create Folder) and i suppose associate a linux command ( mkdir ...) Who can help me? You don't want to be invoking linux commands... Read the existing code for how the context menus work. Both the context menus and shortcuts are both managed by "actions". Read through how refresh works (which has a shortcut) and how other file actions are made, for example deleting a dir. I have modified the following files: kconfig/kstandardshortcut.h kconfig/kstandardshortcut.cpp kconfigwidgets/kstandardaction.h kconfigwidgets/kstandardaction.cpp kconfigwidgets/kstandardaction_p.h I followed "deletefile" as example. I runned ~/kde/build/plasma-workspace/login-sessions/install-sessions.sh I Log in plasma-development. I see a standard shortcut (Create Folder F10) in systemsettings but it isn't translated. I go in desktop screen and if i press F10 it does nothing. Obviously, missing some steps. Help? This is the second time that i try to resolve bug. Be patient please! ;) There's no way of knowing without seeing your code. You could post it as a WIP patch on https://invent.kde.org, or ask for help in the kde-devel channel. See https://community.kde.org/Get_Involved/development#Communicate_with_the_team Done. https://invent.kde.org/frameworks/kconfig/-/merge_requests/19 https://invent.kde.org/frameworks/kconfigwidgets/-/merge_requests/19 Possible solution is gettable from these three merge request https://invent.kde.org/frameworks/kconfig/-/merge_requests/19 https://invent.kde.org/frameworks/kconfigwidgets/-/merge_requests/19 https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/136 Can I mark as solved this bug? No because it's not solved yet. :) https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/136 hasn't been merged. If this is merged, should I do it or do you? It happens automatically as long as the final commit message has `BUG: 425191` in it somewhere. :) ok. :) Git commit 59dfa775049fd76c4f438df3b22e9d9bbd83d436 by David Edmundson, on behalf of Domenico Panella. Committed on 09/09/2020 at 14:51. Pushed by davidedmundson into branch 'master'. [folderview] Allow folder creation on desktop via F10 shortcut M +1 -1 containments/desktop/package/contents/ui/FolderViewLayer.qml M +13 -2 containments/desktop/plugins/folder/foldermodel.cpp M +1 -0 containments/desktop/plugins/folder/foldermodel.h https://invent.kde.org/plasma/plasma-desktop/commit/59dfa775049fd76c4f438df3b22e9d9bbd83d436 |