"Enable notifications for this session" nominally-respected across restarts, but "Background sync mode" automatically reset to "Optimised for real time" – with the persistent notification or "1 app is active" – and needs to be enabled/toggled/disabled each time to revert
nabijaczleweli opened this issue · comments
Steps to reproduce
- Settings -> Notification -> Background synchronisation -> Background Sync Mode: set to No background sync
- Settings -> Notification -> Notifications -> Enable notifications for this session: disable
- (I'm assuming "session" means device as a matrixism)
- Fully exit out of the app, make sure it's dead
- Next time it opens the startup will take a while with a throbber and "Importing your data"
- The persistent "Listening for notifications" notification appears
- OBSERVE: Settings -> Notification -> Notifications -> Enable notifications for this session: it's "disabled"
- OBSERVE: Settings -> Notification -> Background synchronisation -> Background Sync Mode: somehow set to "Optimised for real time"
- toggling "Enable notifications for this session" (and even "... for this account") doesn't kill the persistent notification or change the "Background synchronisation" mode
- Need to: Settings -> Notification -> Notifications -> Enable notifications for this session: enable (since this undisables the Background Sync Mode button)
- Need to: Settings -> Notification -> Background synchronisation -> Background Sync Mode: set to No background sync
- Need to: Settings -> Notification -> Notifications -> Enable notifications for this session: disable
Outcome
What did you expect?
My configuration is preserved.
What happened instead?
See above, steps 6-.
Your phone model
Sony Xperia Z
Operating system version
9
Application version and app store
1.6.6 [40106051] (F-fd6a45a3)
Homeserver
nabijaczleweli.xyz Synapse 1.93.0-1
Will you send logs?
No (I would've said yes to this but (a) even after enabling the rage shake it doesn't work, (b) "shaking my phone to make something happen" is demeaning bull shit I ideologically refuse to do, and (c) /rageshake
doesn't work! it does on desktop, why did you remove it? what purpose does this serve?).
Are you willing to provide a PR?
No
I'm also affected by this issue. Have you succeeded to reproduce the problem ?
Still reproduces consistently for me.
+1
Element 1.6.12 from F-Droid
Android 10 (LineageOS 17.1)
I can repro this on a system so fresh you can't put it down to compat: LineageOS 21 (Android 14), im.vector.app 1.6.12.
If you select "No background sync", exit, then start again, you get the "1 app is active" thing in the notif drawer and it's Element:
and Settings -> Notifications -> Background Sync Mode is reverted to "Optimised for real time".
Setting it to "No background sync" again kills the activeness for one time, and then the next time it's the same thing.