Bug 487775 - Cannot delete directories from the projects panel
Summary: Cannot delete directories from the projects panel
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-30 00:34 UTC by erentar2002
Modified: 2025-12-10 20:55 UTC (History)
1 user (show)

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


Attachments
No delete option for directories (26.02 KB, image/png)
2024-05-30 00:34 UTC, erentar2002
Details

Note You need to log in before you can comment on or make changes to this bug.
Description erentar2002 2024-05-30 00:34:25 UTC
Created attachment 169962 [details]
No delete option for directories

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY


STEPS TO REPRODUCE
1. open kate by running `kate .` from a code folder
2. create a directory by right-clicking on the projects pane
3. right click on the created directory, no delete option.

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2025-09-26 02:52:00 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1895
Comment 2 Christoph Cullmann 2025-12-10 20:55:13 UTC
Git commit 6bf0969460611c0ebd9e6fa3098a82badf2ef2e0 by Christoph Cullmann, on behalf of leia uwu.
Committed on 10/12/2025 at 20:48.
Pushed by cullmann into branch 'master'.

addons/project: allow deleting folders

also uses KIO::WidgetsAskUserActionHandler for the confirmation dialog

M  +37   -14   addons/project/kateprojecttreeviewcontextmenu.cpp
M  +17   -10   addons/project/kateprojectviewtree.cpp
M  +2    -2    addons/project/kateprojectviewtree.h

https://invent.kde.org/utilities/kate/-/commit/6bf0969460611c0ebd9e6fa3098a82badf2ef2e0