Space automatically selected on startup
Element Android automatically selects the first space when you start the application, causing a lot of confusion.
PS: It would help if Element could make it clearer that the current view is filtered by a space, for example by coloring the background of the top part of the app.
Is there a way to make it stop opening a space by default?
Culprit appears to be this piece of code that switches spaces every time user taps on a notification from a specific space:
https://github.com/element-hq/element-android/blob/c3b923c27def396c0ee42f179602d6ac98b63141/vector/src/main/java/im/vector/app/features/home/room/detail/TimelineViewModel.kt#L244
There was a setting to disable this behavior, but it appears that the toggle has not been added in the last settings rewrite.
Found a workaround, but it requires root:
- Open
/data/data/im.vector.app/shared_prefs/im.vector.app_preferences.xmlwith the text editor - Set
SETTINGS_PREF_SPACE_SHOW_ALL_ROOM_IN_HOMEtotrue - Force stop Element & re-open it