Skip to content

Conversation

@carsteneu
Copy link
Contributor

Fixes #13402

Users expect to find default home folders (Downloads, Documents, Pictures, Music, Videos, Desktop, Home) when searching in the menu, but currently they only appear if they're enabled in the sidebar settings.

This fix separates search functionality from sidebar visibility. Default home folders are now always searchable regardless of the show* settings. The settings only control whether folders appear in the sidebar, not whether they're searchable.

Changes:

  • Added PlaceSearchResultButton class for place search results
  • Added _searchablePlaces array containing all default places
  • Modified _refreshPlaces to populate searchable places independently of sidebar visibility
  • Modified _searchAppSystem to search through _searchablePlaces and display results

Default home folders (Downloads, Documents, Pictures, Music, Videos,
Desktop, Home) are now searchable in the menu regardless of sidebar
visibility settings. The show* settings only control sidebar display,
not search availability.

- Add PlaceSearchResultButton class for place search results
- Add _searchablePlaces array containing all default places
- Search places independently of sidebar visibility settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Menu search no longer return default home folders nor allow to directly navigate to a folder

1 participant