Created attachment 132440 [details] Context menu with extra separator SUMMARY Desktop context menu has an extra separator when you drag'n'drop file(s) onto it. STEPS TO REPRODUCE 1. Open Dolphin 2. Select any file 3. Drag'n'drop it to the desktop SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE neon 5.20 User Edition / X11 KDE Plasma Version: 5.20.0 KDE Frameworks Version: 5.75.0 Qt Version: 5.15.0
possibly dupe of bug 427804
Hah, I was meaning to fix this. Thanks for the reminder.
Git commit c23f16d8f2a258eb090be75a98e40f0159bb8457 by David Redondo. Committed on 11/11/2020 at 12:28. Pushed by davidre into branch 'master'. Do not add unnecessary separators addExtraActions() will already add a separator before the cancel action or the extra actions so we do not need to add one in fillPopupMenu. Also if the first action of the extra actions is a separator we do not need to add an additional one. M +8 -6 src/widgets/dropjob.cpp https://invent.kde.org/frameworks/kio/commit/c23f16d8f2a258eb090be75a98e40f0159bb8457