Bug 517043

Summary: Removing last widget from grouping widget leaves behind the header as if the content widget was still there
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:22:09 UTC
SUMMARY
Removing last widget from grouping widget leaves behind the header as if the content widget was still there

STEPS TO REPRODUCE
1. Add Grouping widget
2. add any content widget
3. remove content widget

OBSERVED RESULT
Header line is still there; it disappears after the content widget was actually deleted (i.e., after the notification timeout); the widget still does not entirely go back to its empty state, though.

EXPECTED RESULT
Grouping widget goes to the empty state entirely and immediately

SOFTWARE/OS VERSIONS
KDE Plasma Version: git master
KDE Frameworks Version: git master
Qt Version: git master

ADDITIONAL INFORMATION
Comment 1 TraceyC 2026-03-03 21:24:10 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-02 11:40:56 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/1064
Comment 3 Bug Janitor Service 2026-06-02 14:24:36 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/1065