stork icon indicating copy to clipboard operation
stork copied to clipboard

Account settings - message archiving toggles unresponsive

Open licaon-kter opened this issue 5 years ago • 5 comments

...(Enable, AutoSync, Sync) unless I scroll the view after the first touch

3.0.23.p Xiaomi MIUI11 Android 10

licaon-kter avatar Dec 04 '19 19:12 licaon-kter

Is it marks as disabled (greyed out) or tapping on it doesn't work? Does your server generate response to enabling?

woj-tek avatar Dec 05 '19 11:12 woj-tek

Nope, it is grey out when disconnected, right? While this happens a lot (https://github.com/tigase/stork/issues/3) it's not the issue here.

Does your server generate response to enabling?

I'm on the log level under Debug, and ejabberd does not generate this info, I'd rather not go in stanza-land with level Debug. :)

Video: 31761.zip

licaon-kter avatar Dec 05 '19 11:12 licaon-kter

OK, from what I can see the UI blocks until response from the first change is received, which IMHO makes sense, and it seems there is a rather longer delay receiving response from the server hence perceived "unresponsiveness"?

Maybe adding progressbar (something along the lines of https://material.io/components/progress-indicators/) would be more informative that's something is happening?

woj-tek avatar Dec 05 '19 12:12 woj-tek

Do note that if I scroll the view just a little bit right away it will instantly toggle, not sure it's dependant on server.

licaon-kter avatar Dec 05 '19 12:12 licaon-kter

I tried to reproduce the issue and indeed there is something wrong with the view - it works the first time (I.e. open account settings, toggle it, go back, open settings again, it switches immediately). But it "get stuck" if you try to toggle it more than once without leaving the view.

woj-tek avatar Dec 05 '19 12:12 woj-tek