Bug 500755

Summary: Allow selecting multiple entries e.g. to delete them
Product: [Applications] kmenuedit Reporter: Alexander Wilms <f.alexander.wilms>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: nate
Priority: NOR Keywords: usability
Version First Reported In: 6.3.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.6.0
Sentry Crash Report:

Description Alexander Wilms 2025-02-25 23:01:01 UTC
SUMMARY
When installing and uninstalling a lot of applications using Wine (e.g. daily builds of https://vcmi.eu/), the Wine submenu gets cluttered with a lot of empty folders.

STEPS TO REPRODUCE
1. Have a lot of empty folders in the application menu, e.g. by installing and uninstalling VCMI daily builds
2. Right-click on application menu > Edit applications...
3. Try to select multiple empty folders in order to delete them

OBSERVED RESULT
You can't

EXPECTED RESULT
You should be able to

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250219
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.3-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2025-11-16 17:02:39 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kmenuedit/-/merge_requests/51
Comment 2 Bug Janitor Service 2025-11-17 16:48:18 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kmenuedit/-/merge_requests/52
Comment 3 Nate Graham 2025-11-17 19:14:08 UTC
Git commit 1b4ca7df041e89706bc17f9a04a531ff8249653e by Nate Graham, on behalf of Alexander Wilms.
Committed on 17/11/2025 at 19:14.
Pushed by ngraham into branch 'master'.

Allow selecting multiple TreeView items to delete them
FIXED-IN: 6.6.0

Signed-off-by: Alexander Wilms <f.alexander.wilms@gmail.com>

M  +58   -16   treeview.cpp

https://invent.kde.org/plasma/kmenuedit/-/commit/1b4ca7df041e89706bc17f9a04a531ff8249653e