Bug 517044

Summary: Grouping widget does not appear immediately after undoing deletion from edit mode
Product: [Plasma] plasmashell Reporter: Tobias Fella <tobias.fella>
Component: Grouping widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kdedev, nate
Priority: NOR    
Version First Reported In: 6.6.80   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.7.0
Sentry Crash Report:

Description Tobias Fella 2026-03-03 16:24:24 UTC
SUMMARY


STEPS TO REPRODUCE
1. Add grouping widget
2. go to edit mode
3. delete widget (important to delete from edit mode and not from context menu!)
4. click undo in the notification

OBSERVED RESULT
Widget does not show up again; after restarting the shell, it appears again

EXPECTED RESULT
widget shows up again

SOFTWARE/OS VERSIONS
KDE Plasma Version: git master
KDE Frameworks Version: git master
Qt Version: git master
Comment 1 TraceyC 2026-03-03 21:26:03 UTC
I can reproduce
KDE Plasma Version: git master (6.6.80)
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Comment 2 Bug Janitor Service 2026-06-01 15:11:16 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libplasma/-/merge_requests/1507
Comment 3 Tobias Fella 2026-06-01 15:54:04 UTC
Git commit cce426f18e21b046d39d0a901240c9678ab50f9d by Tobias Fella, on behalf of Tobias Fella.
Committed on 01/06/2026 at 15:48.
Pushed by tfella into branch 'master'.

Ensure that grouping applet is visible after removing and restoring it

In order for the containment to handle removal and restoring correctly, it's important that the same signals as for a normal (non-containment) applet are emitted.
We must be careful not to emit them for other containments (e.g., the panel) though, as this causes other problems.

M  +2    -2    src/plasma/private/applet_p.cpp

https://invent.kde.org/plasma/libplasma/-/commit/cce426f18e21b046d39d0a901240c9678ab50f9d