-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Space setting category doesn't show up #7989
Comments
@restitux Thanks for raising the issue. Not sure but it seems to me we should use |
Hey! I took care of it |
Looking at @criticalAY 's PR, is there any reason why the spaces settings are gated behind the new layout being enabled? The "Show all spaces in Home space" setting seems applicable to both layouts supported by Element Android, especially since it also controls whether filters are automatically applied when launching the app via message notifications. |
I had to reset my Element on my Android tablet (clearing cache & data), and after I started it again, it's missing the setting "Show all rooms in home space". Is it possible to toggle that on somehow? |
I am having my university exams right now so, I will look into it when I get lil time and fix whatever is required |
Though let me know for which layout we want it to be visible? |
I'm confused why this settings panel is limited to one of the layouts. The setting in question (Show all rooms in Home) applies in both layouts AFAIK. |
I agree, can we then just remove those conditions mentioned in the first message (and display the setting always)? |
Hello, so to clarify the situation about this setting:
|
I installed the 1.5.24 version on my Android tablet, but the setting is not still there, even in the changelog there is:
I also tried to enable and then disable the new layout / view, but the setting is still not showing up. Is there need to clear the cache and data, and re-login into Matrix? |
@mnaturel the problem with only showing it for the old layout is that it breaks the fix in #5827. That change made it so you have to enable this setting to disable the auto space focus on notification click behavior. If this setting is not available in the new layout, you are unable to switch this behavior without going back to the old layout. |
Any news about this? I think this issue should be reopened, because it's not possible to set that "Show all rooms in home" setting on, because it's still missing from the view if the new layout is disabled...? |
As a workaround I edited manually the file: /data/data/im.vector.app/shared_prefs/im.vector.app_preferences.xml file, by chaning the parameter: So I think the setting and functionality is definitely there, but this setting is only missing from the UI, even the "new layout" is not activated... |
@restitux / @mnaturel: Could you please reopen this issue, or should I create a new issue and refer to this? There is definitely bug in the Android Element now, because it does not show the Space category setting at all in the UI, even it's possible manually to tune that value in its XML configuration file. And this used to work just fine earlier (the setting was visible in the UI), but I think the new layout and its changes messed it up. |
Hello @bmarty , maybe you could have a look to this issue ? I will let you check what should be done with it. |
The space setting category doesn't show up. This blocks users from changing settings like "Show all rooms in home space". New app users cannot change this setting at all, forcing them into space filters when interacting with notifications for rooms in spaces (similar to the issue fixed in #5827).
Here is where the visibility settings for the spaces category are defined:
https://github.com/vector-im/element-android/blob/6b98b3023e6507b211d849d14dcb167c130cd3d4/vector/src/main/java/im/vector/app/features/settings/VectorSettingsPreferencesFragment.kt#L105-L108
Here is where
isNewAppLayoutFeatureEnabled
is hardcoded to true. This causesprefs.isVisible
to always be false.https://github.com/vector-im/element-android/blob/6b98b3023e6507b211d849d14dcb167c130cd3d4/vector/src/main/java/im/vector/app/features/VectorFeatures.kt#L62
The text was updated successfully, but these errors were encountered: