thunderbird / thunderbird-android

K-9 Mail – Open Source Email App for Android
https://k9mail.app/
Apache License 2.0
9.47k stars 2.42k forks source link

Missing much external storage while export settings #7750

Closed scruel closed 1 month ago

scruel commented 1 month ago

Checklist

App version

6.801

Where did you get the app from?

None

Android version

13

Device model

No response

Steps to reproduce

  1. Go to settings
  2. Clink on "export settings" - "EXPORT"
  3. Wait Android storage access framework "save document" page open
  4. Compare to import settings, you can see much external storage are missing from the left side storage list.

Expected behavior

Should be able to choose to save exported settings to any external storage which storage access framework is supported. For example, DS File can only be used to import settings, but not be able to used to export settings since it won't appear in the file manager list, meanwhile Synology Drive supported to do both, and will appear on both save document list and open document list.

Actual behavior

Missing much external storage from the "save document" left side list.

Related: https://github.com/thunderbird/thunderbird-android/issues/2844

cketti commented 1 month ago

Import is using the ACTION_GET_CONTENT intent. It's possible for apps to implement support for this, but not the Storage Access Framework. That will lead to the lists being different when selecting a file for import vs. export.

It's not something we can fix. Ask the developers of those apps to add support for the Storage Access Framework. It was introduced in Android 4.4, over 10 years ago.