element-hq / element-android

A Matrix collaboration client for Android.
https://element.io/
GNU Affero General Public License v3.0
3.38k stars 729 forks source link

Bug: When coming from the share menu, media is not visible in the timeline #2003

Open jtrees opened 4 years ago

jtrees commented 4 years ago

Describe the bug After reaching the app from Android'd share menu, all media (photos, videos, etc.) is invisible on the timeline.

To Reproduce Steps to reproduce the behavior:

  1. Open an image in an image viewer app on Android
  2. Tap the share button
  3. Share to Element
  4. Pick a room

Expected behavior The timeline should look the same as always, including media.

Screenshots Correct Timeline Screenshot_20200826-094740

Broken Timeline Screenshot_20200826-094815

Smartphone (please complete the following information):

Additional context

github-tomster commented 3 years ago

@jtrees i suffer from the very same bug ... 💩 🤷‍♂️

rkfg commented 2 years ago

Also happens randomly when I upload a photo using the + button in the app. Sometimes it's visible, sometimes it's a narrow empty line just like in the screenshots (all other media is also invisible except url previews). I don't think it's sharing related, I very rarely share from other apps and it still happens regularly. Going to the home screen and back to the dialog makes them visible again.