Error in Androids Storage Access Framework

REPRODUCIBILITY (% or how often): always
BUILD ID: 3.3.0.16
HARDWARE (Jolla1, Tablet, XA2,…): XA2
UI LANGUAGE: German
REGRESSION: (compared to previous public release: Yes, No, ?): ?

DESCRIPTION:

When using e.g. the FairEmail client, saving an attachment leads to Androids Download Section without anything happened.

PRECONDITIONS:

Install FairEmail (or possibly any other Android application that uses the Storage Access Framework).

STEPS TO REPRODUCE:

  1. Open FairEmail
  2. Go to an e-mail with an attachment
  3. Try to save the attachment by pressing the disk icon

EXPECTED RESULT:

Find the attachment within the Androids Download Section

ACTUAL RESULT:

No file is there

ADDITIONAL INFORMATION:

(Please ALWAYS attach relevant data such as logs, screenshots, etc…)
The logs from FairEmail revealed that the chosen file (the attachment within the e-mail client) is cancelled by Android’s file handling and 0 is returned. See the following logs:
yields the following logs:

09-26 08:12:23.350  1431  1431 I fairemail: Start intent=Intent { act=android.intent.action.CREATE_DOCUMENT cat=[android.intent.category.OPENABLE] typ=application/pdf (has extras) } request=51
09-26 08:12:23.350  1431  1431 I fairemail: android.content.extra.SHOW_FILESIZE=true (Boolean)
09-26 08:12:23.350  1431  1431 I fairemail: android.content.extra.SHOW_ADVANCED=true (Boolean)
09-26 08:12:23.350  1431  1431 I fairemail: android.content.extra.FANCY=true (Boolean)
09-26 08:12:23.350  1431  1431 I fairemail: android.provider.extra.SHOW_ADVANCED=true (Boolean)
09-26 08:12:23.350  1431  1431 I fairemail: android.intent.extra.TITLE=Verkaufsschild.pdf (String)
09-26 08:12:39.047  1431  1431 I fairemail: Result class=ActivityView action=null request=65536 result=0
09-26 08:12:39.048  1431  1431 I fairemail: Result class=FragmentMessages action=null request=51 result=0

Same on XA2 dual.

Opening or saving files in AD is buggy. It should be fixed in 3.4.

https://together.jolla.com/question/226161/xa2-33016-cant-open-files-with-any-android-apps/

https://together.jolla.com/question/226077/xa2-33016-i-can-no-longer-insert-pictures-in-conversations-threema/

Thanks for this info, gives me hope that it’ll be fixed soon :slight_smile:

I can confirm that it is fixed with 3.4.

Well, not completely. One cannot acces Open Keychain from within Fairmail, so I can’t sign and encrypt my mails.

Hmm, seems so

In release notes 3.4