The searchbox panel updates its state on URL changes by parsing thea searchURL URL.
For baloo queries (`baloosearch:/`) current parsing produces some quirks, such as showing the baloo terms on the user searchbar.
This patch tries to fix the following issues:
- Avoid inserting baloo search terms into the searchbarimproves the parsing of Baloo query `searchString` to represent its parameters properly in the search box.
Other related issues has been splitted to the following revisions:
- Avoid insert- Add missing quotation marks when searching by filenameparsing of type 'Folder' D24448
- Add missing parsing of type 'Folder'- Do not toggle 'From Here'/'Everywhere' on reloads D24449
- Do not toggle 'From Here'/'Everywhere' on reloads- Reset search options to default when needed D24450
- Reset facetsWidget options when needed- File type is not updated for places' default search URLs (e.g. baloosearch://videos) D24433
There are two standing issues, which should be addressed on later patches:
- File type is not updated for places' default urls (e.g.is a remaining issue, baloosearch://videos) because Baloo only fills the query parameter `type` when using a JSON searchString (D24433)which should be addressed on a later patch:
- When selecting 'Everywhere' the search path is set to Home folder, so we lose track of which folder the user was previously on