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

Message content can be shown incomplete until scrolled off-screen and back #2155

Closed
rom4nik opened this issue Jan 3, 2024 · 3 comments · Fixed by #2171
Closed

Message content can be shown incomplete until scrolled off-screen and back #2155

rom4nik opened this issue Jan 3, 2024 · 3 comments · Fixed by #2171
Assignees
Labels
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 Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@rom4nik
Copy link
Contributor

rom4nik commented Jan 3, 2024

Steps to reproduce

  1. Have some kind of message in room (I'm not sure of specifics yet, see video below)
  2. Notice that the message appears shorter than a few seconds ago
  3. Scroll it off-screen and back

Outcome

What did you expect?

Message is shown in its entirety at all times.

What happened instead?

screen-20240103-175713-.00.55.575-01.17.824.-.00.09.650-00.16.171.mp4

For some reason it's this glitch happens somewhat repeatedly on this particular message. Rageshake sent before recording this video, after another occurrence on the same message, where the message was initially showing da, then after scrolling up and down once it showed full content, then after a few more scrolls it showed da. a jak wysyłasz, then after a scroll it showed full message again.

I don't think I've ever seen this on 87c8bc1 (previous version I've used) or older builds.

Your phone model

Google Pixel 3

Operating system version

Android 13

Application version and app store

4f6c742, GHA debug build

Homeserver

Synapse 1.98.0

Will you send logs?

Yes

Are you willing to provide a PR?

No

@rom4nik rom4nik added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Jan 3, 2024
@rom4nik
Copy link
Contributor Author

rom4nik commented Jan 4, 2024

A few more recordings:

screen-20240104-095057-.00.00.000-00.09.711.mp4

Additionally, in video above, when the full message is shown the text overlaps the timestamp.

screen-20240104-094652-.00.00.000-00.41.613.mp4

Timestamps for video above:

  1. 12s - full message appears after full scroll off-screen
  2. 12-29s - scrolling and opening an image a few times, message still shown in full
  3. 29-32s - scrolling and opening an image once, scrolling down has a bit of stutter, message now shows only first word again
  4. 34-39s - scrolling and opening an image a few times, message still shown in full
screen-20240103-205851-.00.22.950-00.30.458.mp4

And in video above the message is shown in full, but the timestamp first appears in correct place (extending the bubble a bit), but after a scroll off-screen and back, it's overlapped by text - similar to first video in this comment.

So far it looks like this stuff happens only on messages which are replies.

@frebib
Copy link
Contributor

frebib commented Jan 4, 2024

I've not been able to reproduce the strange words-disappearing bug but I do have a few more instances of timestamps overlapping the message. I'm noting this here because it can be reproduced by scrolling the message on/off the screen
Screenshot_20240104-173235~2.png

Screenshot_20240104-173614~2.png

@jmartinesp jmartinesp added S-Major Severely degrades major functionality or product features, with no satisfactory workaround A-Timeline O-Occasional Affects or can be seen by some users regularly or most users rarely labels Jan 5, 2024
@bmarty
Copy link
Member

bmarty commented Jan 5, 2024

Yes, it may come from ContentAvoidingLayout. We may want to fix this before the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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 Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants