Bug 446767

Summary: Pressing the home button doesn't clear the search listing in the sidebar
Product: [Applications] systemsettings Reporter: Raghavendra kamath <raghu>
Component: sidebarviewAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: minor CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.24
Sentry Crash Report:

Description Raghavendra kamath 2021-12-10 04:27:52 UTC
SUMMARY
When I search for a setting in the system setting application, it filters the sidebar to show the particular settings that match my querry. After I change the settings, I press the home button to quickly go to the main page. The page changes to quick settings as it should but the search filter is still not cleared in the sidebar. I have to clear the search by using the clear text icon in the search input box. 

In discover pressing the home button clears the search and takes the user to home listing as expected. I think systemsettings should also follow the same behaviour.


STEPS TO REPRODUCE
1. Open system settings application and search something - example task switcher
2. Now press the Home button in the top toolbar.
Comment 1 Nate Graham 2021-12-14 18:14:13 UTC
Git commit cdcbd858ab5d260850cdaa671d3a17097c7313f6 by Nate Graham.
Committed on 14/12/2021 at 18:13.
Pushed by ngraham into branch 'master'.

Sidebar: clear search when pressing Home button
FIXED-IN: 5.24

M  +4    -1    sidebar/package/contents/ui/CategoriesPage.qml

https://invent.kde.org/plasma/systemsettings/commit/cdcbd858ab5d260850cdaa671d3a17097c7313f6