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.1k stars 156 forks source link

Competing notifications blinking in home view #3928

Open divarvel opened 4 days ago

divarvel commented 4 days ago

Screenshot_2024-11-22-09-08-58-06_508fb70dcdbd51b3b84edd38d0498869~2 Screenshot_2024-11-22-09-08-59-19_508fb70dcdbd51b3b84edd38d0498869~3

Steps to reproduce

  1. Where are you starting? What can you see?

I had the "Confirm recovery key" (see screenshot) displayed since a few days, after logging in to element x. This morning a new "update available" notification appeared.

Outcome

What did you expect?

I expected the two notifications to be displayed one below the other, or maybe just one. I expected the UI to stay usable.

What happened instead?

The two notification pop-ups seemed to be competing for rendering, each getting displayed in turn (for about 200ms each, making it hard to close them). Since they were of different height, this caused a layout shift making it also difficult to open a conversation.

Closing and reopening the application did not solve the issue.

Speed-tapping on the screen (where the "disconnect and update" button was located) worked, I ended up being able to tap the screen at the same time the button was displayed and active. This made me disconnect and at the next login the update prompt was not there anymore, leaving me with just the "confirm recovery key" notification.

Your phone model

OnePlus 8T

Operating system version

OxygenOS 14.0

Application version and app store

Element X 0.7.3

Homeserver

No response

Will you send logs?

No

Are you willing to provide a PR?

No