Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

[Bug Report] Incorrect Downloaded File Snackbar Intent

  • 1 답장
  • 1 이 문제를 만남
  • 17 보기
  • 최종 답변자: 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

모든 댓글 (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?