Támogatás keresése

Kerülje el a támogatási csalásokat. Sosem kérjük arra, hogy hívjon fel egy telefonszámot vagy osszon meg személyes információkat. Jelentse a gyanús tevékenységeket a „Visszaélés bejelentése” lehetőséggel.

További tudnivalók

A témacsoportot lezárták és archiválták. Tegyen fel új kérdést, ha segítségre van szüksége.

[Bug Report] Incorrect Downloaded File Snackbar Intent

  • 1 válasz
  • 1 embernek van ilyen problémája
  • 17 megtekintés
  • Utolsó üzenet ettől: Paul

more options

Hi,

Firefox for Android 68.9.0. Android 9 also replicated on Fennec F-Droid on Galaxy S7 with Android 8.0.0


I'm working on an open source app, and we're getting reports that Firefox's Snackbar implementation for opening a downloaded file appears broken: https://github.com/ankidroid/Anki-Android/issues/5374#issuecomment-638112300 . This is fairly heavily battle-tested code, I don't believe this is our bug, and I've reproduced the issue, but I'm happy to be mistaken.

Steps (fails)

  • Scroll to the bottom of the page: https://ankiweb.net/shared/info/920300037
  • Download
  • Select "Open" in the snackbar
  • A significant number of apps appear in the screen
  • Select our application
  • We receive an Intent with no data. The extra is "com.android.browser.application_id"

`Intent { act=android.intent.action.VIEW flg=0x3000000 hwFlg=0x400 cmp=com.ichi2.anki/.Reviewer (has extras) } `

Steps (works as expected)

  • Scroll to the bottom of the page: https://ankiweb.net/shared/info/920300037
  • Download
  • Select the Android Notification Firefox places in the Notification Drawer
  • A small number of apps appear (our app, file pickers, and zip openers).
  • Select our application
  • We receive an Intent with data containing the file (happy days!):

`Intent { act=android.intent.action.VIEW dat=content://org.mozilla.firefox.fileprovider/root/storage/emulated/0/Download/WSET_Level_1_Study(14).apkg flg=0x4000000 cmp=com.ichi2.anki/.DeckPicker }`

Here is the relevant lines of our Manifest, in case we're doing something silly: https://github.com/ankidroid/Anki-Android/blob/7d83fd251e059269fd5832fd6e30c4fba3a2c95d/AnkiDroid/src/main/AndroidManifest.xml#L104-L172

I don't think you'll need the app to test, but: https://f-droid.org/en/packages/com.ichi2.anki/ or https://play.google.com/store/apps/details?id=com.ichi2.anki or https://github.com/ankidroid/Anki-Android/releases/tag/v2.10.4

Thanks for your time,

David

Hi, Firefox for Android 68.9.0. Android 9 also replicated on Fennec F-Droid on Galaxy S7 with Android 8.0.0 ---- I'm working on an open source app, and we're getting reports that Firefox's Snackbar implementation for opening a downloaded file appears broken: https://github.com/ankidroid/Anki-Android/issues/5374#issuecomment-638112300 . This is fairly heavily battle-tested code, I don't believe this is our bug, and I've reproduced the issue, but I'm happy to be mistaken. '''Steps (fails)''' * Scroll to the bottom of the page: https://ankiweb.net/shared/info/920300037 * Download * Select "Open" in the snackbar * A significant number of apps appear in the screen * Select our application * We receive an Intent with no data. The extra is "com.android.browser.application_id" `Intent { act=android.intent.action.VIEW flg=0x3000000 hwFlg=0x400 cmp=com.ichi2.anki/.Reviewer (has extras) } ` '''Steps (works as expected)''' * Scroll to the bottom of the page: https://ankiweb.net/shared/info/920300037 * Download * Select the Android Notification Firefox places in the Notification Drawer * A small number of apps appear (our app, file pickers, and zip openers). * Select our application * We receive an Intent with data containing the file (happy days!): `Intent { act=android.intent.action.VIEW dat=content://org.mozilla.firefox.fileprovider/root/storage/emulated/0/Download/WSET_Level_1_Study(14).apkg flg=0x4000000 cmp=com.ichi2.anki/.DeckPicker }` Here is the relevant lines of our Manifest, in case we're doing something silly: https://github.com/ankidroid/Anki-Android/blob/7d83fd251e059269fd5832fd6e30c4fba3a2c95d/AnkiDroid/src/main/AndroidManifest.xml#L104-L172 I don't think you'll need the app to test, but: https://f-droid.org/en/packages/com.ichi2.anki/ or https://play.google.com/store/apps/details?id=com.ichi2.anki or https://github.com/ankidroid/Anki-Android/releases/tag/v2.10.4 Thanks for your time, David

Összes válasz (1)

more options

Hi David

Thank you for your question.

The best thing to do if you have a bug to file is to report it at https://bugzilla.mozilla.org/home. You will see progress reports on the issue and have the opportunity to provide more information.

However...it is worth considering that our focus at the moment is on Firefox Preview. Does this issue still occur with Firefox Preview installed?