Bug 510319

Summary: Section headers in Desktop Effects KCM sometimes appear multiple times after clearing search
Product: [Plasma] kwin Reporter: kskot <288pat0tem>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 6.4.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Desktop Effect section header duplicate

Description kskot 2025-10-06 19:52:15 UTC
Created attachment 185564 [details]
Desktop Effect section header duplicate

SUMMARY

After searching in Desktop Effects and clearing the search input, a section header sometimes appears multiple times. 

STEPS TO REPRODUCE
1. Input "fps" into the Desktop Effects search bar
2. Click on the clear all button
3. Scroll down until you find the tool section
4. In some cases the tool section is now split (see screenshot). The Show Compositing effect is in the first tool section, after that another tool section contains Show FPS and Show Point effect.

OBSERVED RESULT

Sometimes multiple section headers appear after clearing a search input.

EXPECTED RESULT

Section headers should not be duplicated after clearing a search input

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.9-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION

This bug does happen every time, to reproduce the bug do the steps described above multiple times.
Comment 1 Nate Graham 2025-10-07 19:17:21 UTC
I can reproduce the issue.