FossifyOrg / Messages

An easy and quick way of managing SMS and MMS messages without ads.
https://www.fossify.org
GNU General Public License v3.0
414 stars 29 forks source link

Problem when trying to open a PDF #156

Closed Atellane closed 3 months ago

Atellane commented 3 months ago

Checklist

Affected app version

1.0.1

Affected Android/Custom ROM version

EMUI 12.0.0

Affected device model

Huawei P30 Pro

How did you install the app?

Google Play Store

Steps to reproduce the bug

  1. Go to any conversation
  2. Send a message with a pdf attach to it
  3. Open it (my phone opens it with the pdf viewer from google drive)

Expected behavior

It should show the pdf in the pdf viewer just as it do in all other messaging app I tried (with the exact same pdf).

Actual behavior

It opens the pdf viewer but the pdf never shows.

Screenshots/Screen recordings

Screenshot_20240331_132846_edit_236417747141529 Screenshot_20240331_132850_com google android apps docs_edit_236427706456632

Additional information

I had the same bug with another pdf file so I assume it's not a problem about this specific file but with all pdf files.

SilverPuppy commented 3 months ago

This is a very niche use case. While it is obviously possible to send any suitably small file over the MMS protocol, sending a PDF that way is very uncommon, and you're the first person I've known to actually do it.

Have you confirmed that the PDF is not damaged by long pressing it and saving it to open externally?

Aga-C commented 3 months ago

I close it because despite sending PDF via MMS is a very niche use case (as mentioned above), it also seems that it's a problem not in our app, but in Google Drive. 

I've sent and received MMS with PDF and tried opening it with the following apps: MuPDF Viewer, Librera Reader, Fennec/Firefox, Collabora Office, Microsoft 365, Google Drive. Google Drive was the only one that couldn't open that PDF, others were opening it without any problems.