element-hq / element-x-android

Android Matrix messenger application using the Matrix Rust Sdk and Jetpack Compose
GNU Affero General Public License v3.0
1.07k stars 155 forks source link

New messages in timeline no longer appear with an animation #2480

Open rom4nik opened 8 months ago

rom4nik commented 8 months ago

Steps to reproduce

  1. Send or receive a message.

Outcome

What did you expect?

New messages have a "slide in" animation, like they used to a few versions ago.

What happened instead?

https://github.com/element-hq/element-x-android/assets/46846000/e42ec5d9-90e2-4a5e-9990-fdb045e5355f

Your phone model

Google Pixel 7 Pro

Operating system version

Android 14

Application version and app store

v0.4.5 release build

Homeserver

Synapse v101.0

Will you send logs?

No

Are you willing to provide a PR?

No

jmartinesp commented 8 months ago

This animation was automatic AFAICT (we don't have any explicit code for it) so it's weird that it's now gone. Do you remember in which version this was working as expected?

I suspect adding the typing notifications may be related to it since they are now at the bottom of the timeline, but I'm not 100% sure.

frebib commented 6 months ago

I was just playing around with Francois' jump-to-message implementation and noticed that the animation works again on that branch. I presume it's because the typing notifications were disabled https://github.com/element-hq/element-x-android/compare/develop...feature/fga/permalink_timeline#diff-594345b3940e91c8414ebe16d73e789d073cb7f057f03b7e9dc4d0941bc97096R132-R137

frebib commented 6 months ago

I've spent some time pondering this over the last couple of days and I have a few thoughts