Skip to content

Draft: plugins/{overview,windowview} clear search text on exit

Nate Graham requested to merge ngraham/kwin:clear-search-on-effect-end into master

If we don't clear the search text on exit, then we end up in an awkward situation where the thing the user searched or filtered for last time is preserved the next time they open one of these effects. As a result, it won't show all the windows they're expecting, and that's probably not what they want.

To accomplish this reliably, the effects now use a new function called endEffect() that includes special logic to clear the search field if needed, rather than directly calling effect.deactivate() in various places.

Maybe also cherry-pick to 5.27? Thoughts?

@teams/usability

Merge request reports