Zulip Chat Archive

Stream: Zulip meta

Topic: Android app message edits

Shreyas Srinivas (Nov 15 2023 at 00:11):

I am using the zulip android app for this server and often when I edit a message it gets posted as a separate and new message leading to unnecessary near-duplicates. This has already happened twice in the last 24 hours to me.

Shreyas Srinivas (Nov 15 2023 at 00:14):

While I am at it about the android app, the app keeps losing its network connection after a short while (or if I come back to the app from another app, say a browser to find a reference) and the only way to get it working again is, for some mysterious reason, to clear the app from my history deck and re-open it.

Shreyas Srinivas (Nov 15 2023 at 00:14):

I am not sure what the solution to these issues is. I am on Android 13 if it helps. These issues also existed when I was on android 12 a few months ago.

Kevin Buzzard (Nov 15 2023 at 00:27):

I wonder whether this is a network issue? I have double-posted many times over the years and it's always when I'm on a train or something, with patchy network connectivity. My understanding is that with a bad connection it is an extremely difficult problem to make sure that messages get posted exactly once -- you can basically choose one of "at least once" and "at most once" and I think Zulip made the right choice!

Shreyas Srinivas (Nov 15 2023 at 00:28):

But that's the issue. I am certainly on good networks. After a few minutes of usage or switching back from a different app, the Zulip app fails to establish a connection to the server. This after claiming to be connecting for an unreasonable length of time.

Shreyas Srinivas (Nov 15 2023 at 00:29):

I don't have this issue with any other app on the same networks

Kevin Buzzard (Nov 15 2023 at 00:43):

Oh ok. I've only experienced this on crappy networks (I'm also on Android)

Shreyas Srinivas (Nov 15 2023 at 00:57):

It could be that my phone is configured by default to aggressively shut down background services or threads and save battery life, and that affects zulip which might use one or more of these to manage the network connection with the server (note : this happens even when I am not using the battery saver mode). But ideally apps should be able to handle anything of this sort.

Julian Berman (Nov 15 2023 at 20:16):

On the second bit -- there would seem to be only a small chance it's related, but I'd just say I find Zulip on desktop (web) to itself be really "quick to disconnect" -- it's certainly the only chat platform I use (Discord, Slack, and Gitter being the other 3 relevant ones) where when I come back after an hour or two to my computer, the page basically has commonly cleared itself, shows a big zulip logo, and requires a full refresh to get back to messages / load new ones. I've always just assumed there's some very "aggressive"-seeming heartbeats that the client and Zulip servers are requiring to stay in sync or something.

Shreyas Srinivas (Nov 15 2023 at 20:18):

No that also happens to me. I find myself hitting Ctrl+R every time I open Zulip on the desktop. It is just a lot simpler than what I have to do on android

Patrick Massot (Nov 15 2023 at 21:03):

I never had to do that when using Zulip on a web browser.

Julian Berman (Nov 15 2023 at 21:26):

What browser are the two of you on out of curiosity (Patrick + Timo) -- and Shreyas I guess as well

Julian Berman (Nov 15 2023 at 21:26):

I'm on FF here

Patrick Massot (Nov 15 2023 at 21:27):

I use Firefox on Linux.

Julian Berman (Nov 15 2023 at 21:28):

And to state the obvious -- you leave Zulip open in a tab all the time in it too?

Shreyas Srinivas (Nov 15 2023 at 21:28):

Brave/Firefox. I don't use the browser for zulipchat most of the time. On the rare occasion it has been fine. Functionality-wise, the mobile browser version has some advantages (like being able to link to a thread by copying its URL from the address bar), and the app has some advantages (like a delete option)

Julian Berman (Nov 15 2023 at 21:30):

I've never seen the behavior I mentioned on mobile web, but that's I think because I don't leave it open there in a tab. I just mentioned it since it sounded vaguely similar.

Shreyas Srinivas (Nov 15 2023 at 21:31):

The problems that I started this thread with are in the app

Patrick Massot (Nov 15 2023 at 21:40):

I never use the desktop app. I sometimes use the mobile app.

Mac Malone (Dec 07 2023 at 04:19):

TIL that there is a Zulip desktop app. Thanks! :grinning_face_with_smiling_eyes:

Last updated: Dec 20 2023 at 11:08 UTC