Skip to content
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

Hitting resend on failed msg doesn’t reset its send status #1352

Closed
ara4n opened this issue Jul 18, 2023 · 3 comments · Fixed by #2091
Closed

Hitting resend on failed msg doesn’t reset its send status #1352

ara4n opened this issue Jul 18, 2023 · 3 comments · Fixed by #2091
Assignees
Labels
A-Offline A-Timeline O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Needs-Design

Comments

@ara4n
Copy link
Member

ara4n commented Jul 18, 2023

Steps to reproduce

  1. Tried to send two msgs
  2. For whatever reason (bad connectivity? server problems?) they failed.
  3. Conversation moved on
  4. I hit retry on the first one
  5. It moved to the bottom of the timeline, but was still marked as failed-send (i guess it might have immediately failed?). i expected it to move back to sending/unsent state, not failed
  6. I then did the second one; same result. Plus very annoying to have to individually resend them.

Outcome

What did you expect?

resending should be shown as resending, not failed.

Your phone model

No response

Operating system version

No response

Application version

292

Homeserver

No response

Will you send logs?

Yes

@kittykat kittykat added T-Defect S-Major Severely degrades major functionality or product features, with no satisfactory workaround O-Occasional Affects or can be seen by some users regularly or most users rarely Z-Schedule A-Timeline A-Offline labels Jul 19, 2023
@Hywan
Copy link
Member

Hywan commented Aug 14, 2023

Hi,

In the remote_echo_full_trip unit test, we ensure that the EventSendState evolves as expecting when an event is sent, has failed to be sent etc.

In the echo integration test, we test a successful send of an event against a server.

In the retry_failed integration test, we test a send that fails, then is retried, against a server.

I strongly believe that what you see is a very fast retry that ends up failing, like the first send.

To avoid this “nothing has happened??” feeling, the UI may run an animation when retrying, or displaying something to the user that deliberately “takes time”. Thoughts?

@ara4n
Copy link
Member Author

ara4n commented Sep 4, 2023

yup, some kind of animation would solve the perception that the retry hasn't happened.

@Velin92
Copy link
Member

Velin92 commented Sep 8, 2023

@kittykat
I can look into it, but if as explained by @Hywan this is just another resend failing again because the connectivity is bad this requires actually some kind of UI/UX changes and we should include design in it. Since this issue seems to happen when a resend fails again because the connectivity is still bad and having no visual indication that it has failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Offline A-Timeline O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Needs-Design
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants