Bug 513735

Summary: Feat Req: A search bar for window rules
Product: [Applications] systemsettings Reporter: nihalxkumar <2tv8xupqg>
Component: kcm_kwinrulesAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: isma.af, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description nihalxkumar 2025-12-23 10:49:37 UTC
As a power user with many window rules and sometimes different rules for the same app I find myself manually scrolling the entries to find what I need. This can be solved with a search bar.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS
KDE Plasma Version: 6.5.4  
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Comment 1 Ismael Asensio 2025-12-23 21:35:59 UTC
As a note for other devs and my future-self,  I've tried implementing this in the past but failed due to an unexpected blocker:

The DragItemHandler item (the arrows used to reorder the rules) fails to work correctly when the list has a standard QML sort-filter proxy model (KItemModels.KSortFilterProxyModel), which is necessary for the filtering of the search items. This happens even if both functionalities don't need to be used at the same time.