linagora / twake-on-matrix

A multi-platform (Flutter) application for connecting to Matrix - an open network for secure, decentralized communication, with your favorite devices.
GNU Affero General Public License v3.0
62 stars 18 forks source link

[Notification] Can't open notification when open Media in chat details #1878

Open nqhhdev opened 4 months ago

nqhhdev commented 4 months ago

Reproduce steps:

Case 1:

  1. Open Twake chat
  2. Open chat A → Open chat details → Open media tab → open the image/video
  3. Received a notification from another chat
  4. Click on notification → Can't open another chat just close preview image/video
  5. Click on back button → back to another chat

https://github.com/linagora/twake-on-matrix/assets/99852347/c31ba7c6-18b4-4865-be1e-906288bb6c09

Case 2:

  1. Open Twake chat
  2. Open chat A → Open the image/video
  3. Received a notification from another chat
  4. Click on notification → Can't open another chat just close preview image/video
Te-Z commented 3 months ago

Check go_router and navigator But be careful of side effects on different platforms (web vs mobile vs tablet)

Warning note: on tablet the display is the same as web but the logic is the same as mobile.

hoangdat commented 2 months ago
  1. how to fix the problem relate to conflict of navigator and go_route?
  2. integration-test ???
tprudentova commented 1 month ago

@hoangdat

https://github.com/user-attachments/assets/2ce5b110-02ec-41a3-8e51-26969ba5b255

You can jump to the notification now, but the previous message is highlighted, not the one from the notification

nqhhdev commented 2 weeks ago

Fixed #2069