Fenix: FNX-3381 ⁃ [Bug] Fenix freezes after Opening Link

Created on 27 Apr 2020  Β·  13Comments  Β·  Source: mozilla-mobile/fenix

Steps to reproduce

It's a little bit complicated:

  1. Works in both, private and normal mode. Probably only works, if no other tabs were previously opened (or if all open tabs are closed manually in step 3)
  2. Open any link from the outside of Fenix. I'm talking Sharing-to-Fenix or using the search widget. Probably any way that doesn't involve pressing the "open-new-tab-button"
  3. Click on the tab-selection-square.
  4. Close the Tab
  5. Press back on your Android-Back-Button.
  6. Enjoy. (now the screen's just white with a [0]-tabs-square at the bottom. If you press your home-button, then re-enter Fenix without properly closing it, you'll see the frozen screen. Alternatively, if you press the tab-button again, then press back AGAIN, you'll get the same freeze. It's really fun, just try it out!)

Expected behaviour

No "0-Tab-white-screen". No freeze

Actual behaviour

See pictures.
11
12
13

Device information

  • Android device: Samsung Galaxy S9
  • Fenix version: 4.3.0
OpenInApp engverified 🐞 bug

All 13 comments

I assume, it's the way Fenix opens Links from outside, as this doesn't happen when opening a website from within Fenix.

Hey @Glitchy-Tozier! How often are you seeing this happen? Do you have some examples of the URLs that you are opening?

@eliserichards Any Url. I can replicate it whenever I want.
The most common url is probably the search engine I use, but it works with any link. Youtube, Google, whatever. There just needs to be a tab to close.

Edit: it even works when you're offline.

It's the same practice as #10211... just that

  1. That guy doesn't know that it doesn't have to be the Home-Screen-Widget.
  2. He apparently uses a different last step to show the actual frozen screen. There probably are even more ways of doing the last step. I think, going into Settings and then comming back to Tab-Zero might work too, but I'm not testing it right now.

Tried to reproduce this on latest Nightly but I couldn't.
@Glitchy-Tozier Can you please confirm if this is still happening on latest Nightly?
A video would also help if so.

@Mugurell This exact way of getting the app to freeze doesn't work anymore as Fenix is closed/suspended by pressing on the back button. (I just tried it out in the regular most up-to-date version of Fenix (5.1.1)). So yes, this path to getting Fenix to freeze seems to be fixed.

Unfortunately, in 5.1.1, there still are other ways to get this to happen by just slightly changing the instructions. See #11472.

If QA can confirm this does not reproduce anymore then this can be closed.

I'm sorry but what does QA mean?

I'm sorry but what does QA mean?

Quality Assurance
Each ticket must go through a more thorough verification to be sure that an issue is or not is fully resolved.

Hi, I've just checked this matter on the latest Nightly Build #200619 from 6/19 using the following devices:
β€’ Google Pixel 3a (Android 10)
β€’ Huawei Mate 20 Lite (Android 9)
β€’ OnePlus A3 (Android 6.0.1)

❌ It's still reproducible using the following STR:
β—‹ Prerequisites
Fenix should be closed

β—‹ Steps to reproduce

  1. Open Gmail
  2. Long tap on a link
  3. Select "Open in Browser"
  4. While the page is loading tap the device back button
  5. Resume Fenix

β—‹ Notes
❗ While stuck with the white screen, the user can use the pull to refresh feature, or at least the loading icon is displayed
If you tap again the back button Fenix's home screen is properly displayed

β–Ί Video
20200619-154021

@Mugurell - Please review and share your thoughts ☺️

Although this might be more similar to #11472 because it requires the user to exit Fenix and revisit it (while this here issue, #10239, works without even leaving the app)

You could copy that comment to #11472 though.

This should be fixed by the patch from #9144.

Hi, verified as fixed on the latest Nightly Build 200624 from 6/24 using the following devices:
β€’ Google Pixel 3a (Android 10)
β€’ Huawei Mate 20 Lite (Android 9)
β€’ OnePlus A3 (Android 6.0.1)

β–Ί Video
20200624-130636

β–Ί Video
20200624-130738

β–Ί Video
20200624-130853

Was this page helpful?
0 / 5 - 0 ratings