https://bugs.kde.org/show_bug.cgi?id=483079
Bug ID: 483079
Summary: KMenuEdit shows deletion dialog when cutting item with
submenu
Classification: Applications
Product: kmenuedit
Version: 6.0.1
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
When clicking the "Cut" button in KMenuEdit or pressing Ctrl+X, a deletion
dialog appears with the text "All submenus of [Item Name] will be removed. Do
you want to continue?", however it is merely a cut action and having this
dialog appear may confuse users.
STEPS TO REPRODUCE
1. Open KMenuEdit
2. Select an item with submenu (Usually a category)
3. Press "Cut" or with keyboard shortcut Ctrl+X
OBSERVED RESULT
A deletion dialog will appear, as if you are clicking the "Delete" button
instead
EXPECTED RESULT
No dialog should pop up.
SOFTWARE/OS VERSIONS
Linux: Fedora 40
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
ADDITIONAL INFORMATION
The dialog is introduced in
https://invent.kde.org/plasma/kmenuedit/-/commit/d9edce9cddc589044d905e8b86b9b585370485e7
A cut operation will call Treeview::Copy with "cutting" parameter set to true,
which in turn would also call the TreeView::del function, causing the dialog to
appear.
--
You are receiving this mail because:
You are watching all bug changes.