RocketChat/Rocket.Chat

Opening of downloaded files in the dialog

Anders-77 opened this issue · 8 comments

Hello there!
When I receive some files, except images, I can download them and I expect to open them by clicking on the link in the dialog. But I can only open them from the destination, where these files were downloaded to. When I go to the list of the files of this dialog, I have only the download link. It looks like a bug.
It happens on the desktop app and on the Android app. But I noticed, that sometimes the Android app works correctly (only for some users), or sometimes it opens some types of files and downloads again the others.

Server Version 6.6.6
Desktop app 3.9.14
Android 4.48.0.59929
Windows Home

Please provide some video resouce so that I can get started

InShot_20240415_172245358.mp4

sometimes, the links work correctly, sometimes not, sometimes partially correctly.
pdf files sometimes direct to Google Play offering to pick app for them.
this behavior is very unstable and unpredictable..

bandicam.2024-04-15.17-43-10-358.mp4

it would be more convenient to do like there:

321253478-2855dac7-5a2a-4c19-8c89-119b69698a34

By default, I thik this is the natural behaviour that on hitting the files it gets downloaded and then you can view it from your device. The solution you said looks more like a feature than a bug.

for the desktop app it looks so, but mobile app changes its behaviour without reasons..
as I wrote before, sometimes it works like it realized in whatsup, for example, just openning files in assosiated apps.

reetp commented

Android 4.48.0.59929

Lastest is 4.48.0.60773 so please test on that.

Note that if it is an issue with the React Android app you should close this and open a bug in the correct repo - or ask in https://open.rocket.chat/channel/react-native - there is also a link there to the Beta versions to test.

On mine with Android 14 on a S23 a PDF popups the "Open With" dialog (there is no PDF rendering library in Rocket)

Images have a download button to save to your gallery.