Fenix: [Bug] Fenix opens a "302 Moved Permanently" tab, before opening native app

Created on 30 Jun 2020  路  3Comments  路  Source: mozilla-mobile/fenix

Steps to reproduce

  1. Enable "Open links in app" in Fenix settings
  2. Click on link for website which has a native app installed on device, for example GitHub.com or Reddit.com

Expected behavior

Fenix opens native app after clicking on link.

Actual behavior

Fenix opens a new tab, with "302 Moved Permanently" text, and then opens native app.

Device information

Tested on latest Nightly build available in Play Store, on Android 10 devices.

  • Android device: Samsung Galaxy Tab S6 (Android 10), OnePlus 6 (Android 10)
  • Fenix version: Nightly 200629 06:01
OpenInApp S2 馃悶 bug

Most helpful comment

@SS1113 I fail to see how opening an empty website with "302 Moved Permanently" warning may be considered a feature. This looks like a bad UX - returning from application requires more back presses to skip empty site, and it can generate lots of empty tabs.

All 3 comments

I think it's an useful feature. Let's say a link is going through a link shortner and then the respective app opens, in this case having a unshortened url would be really useful as I don't have to go through the shortened url again.

And instead the webpage could be made to look good on mobile screens as it is really small if the Fenix is handling it.

@SS1113 I fail to see how opening an empty website with "302 Moved Permanently" warning may be considered a feature. This looks like a bad UX - returning from application requires more back presses to skip empty site, and it can generate lots of empty tabs.

@igorkurek okay, for me this is how it works;

I visit a lot of website which have link shorteners applied to the links in them. Now what happens is that, I takes me a lot of time to unshorten them and when the webpage that contains unshortened URL finally comes around Fenix opens that in a webpage ( just containing the with the unshortened link) also redirects to the respective app as well. This way even if I close the particular app the unshortened link is always there in the Fenix and I can easily open that in that. Particular app by clicking 'Open in app' in 3-dot menu.

Of course if the Fenix team finds it unnecessary they can remove this behaviour and I can live with that too It is just that if this is the side effects of fixing 'Open links in app' then it's very good one for me. And if they are gonna keep it I suggest them some improvements. That's it.

Was this page helpful?
0 / 5 - 0 ratings