Open Bug 1808892 Opened 2 years ago Updated 1 year ago

add to home screen does not work on a Xiaomi device

Categories

(Fenix :: General, defect, P2)

Firefox 108
All
Android

Tracking

(firefox109 affected, firefox110 affected, firefox111 affected, firefox112 affected, firefox113 unaffected, firefox114 unaffected)

Tracking Status
firefox109 --- affected
firefox110 --- affected
firefox111 --- affected
firefox112 --- affected
firefox113 --- unaffected
firefox114 --- unaffected

People

(Reporter: ccronemberger, Unassigned, NeedInfo)

References

Details

Attachments

(5 files)

Steps to reproduce:

With a web page open, I select the option "Add to Home screen" in the menu, it asks me to confirm or modify the title, then I tap on "Add".

Actual results:

Nothing happens. I don't see a new icon in any of the home screen pages. This happens in a Xiaomi device (Mi 10T with Android 12 and MIUI 13.0.9). Firefox version 108.2.0 (updated today)

Expected results:

An icon should have been added to the home screen. It works on a Samsung S9+.

I can reproduce this issue with Xiaomi 12 Pro (Android 13) and Xiaomi Redmi Note 8T (Android 11) on Firefox Beta 110.0b2 and Release 109.1.1. Note that the issue is not encountered in Nightly.
The user is not able to add a website to homepage using the "Add to homepage" option, nor to install a website as PWA using the "Install" option. The shortcuts are still not displayed on homepage after restarting the device.

Not reproducible with: Xiaomi Mi11 Lite (Android 11), Xiaomi 9c (Android 10), Xiaomi Pad5 (Android 12). With these devices, the icon is added to homepage, but without the Firefox logo displayed in the corner compared to other devices.

Severity: -- → S2
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached video Xiaomi 12 Pro (Android 13).mp4 (deleted) —
Attached image Xiaomi Mi11 Lite.jpg (deleted) —

@Constantino, can you please try the following:

  • reboot/restart your device to see if the shortcuts are then displayed (on our side, restarting the Xiaomi devices won't solve the issue, but on Samsung devices for examples similar issues are fixed with a restart);
  • use Chrome to see if the issue is also reproducible (adding to home screen works as expected in Chrome on our side);
    Thanks!
Flags: needinfo?(ccronemberger)

Hey,

I have already rebooted the device many times after that operation and never noticed the icons anywhere.
It works with Chrome.

Regards,
Constantino

Flags: needinfo?(ccronemberger)

Reproducible on Firefox 111.1.0 with Xiaomi Pad5 (Android 12).

:adina, it looks like you updated status-firefox113 to unaffected - did you test this on v113 and discover that this issue no longer exists?

Flags: needinfo?(apetridean)

Hello :jmahon,

A month ago, on Nightly 113.0a1, I was unable to reproduce this issue on my Xiaomi Pad5 (Android 13). I have tested it with the latest Nightly 114.0a1 from May 2nd and received the same result. However, I am still able to reproduce this issue on 113.0b9 and RC 113.0. For additional clarification, please check the most recent screen recording.

Flags: needinfo?(apetridean)
Attached video AddToHomescreen.mp4 (deleted) —
Flags: needinfo?(jmahon)
Duplicate of this bug: 1802611
Duplicate of this bug: 1802643
No longer duplicate of this bug: 1802643
No longer duplicate of this bug: 1802611

Note, in case it's helpful for debugging, there are two similar bugs in Focus:


I'm going to rank this as a P2 (rather than a P3) with the hope that whatever Adina saw in 113.0a1 and 114.0a1 could imply that there's a way to fix this. Though it's surprising that it returned in 113.0b9 and RC 113.0.

Flags: needinfo?(jmahon)
Priority: -- → P2

This is yet another example of additional permissions implemented on Xiaomi devices.

In this case, special permission is required to install/save shortcuts on the device's home screen. That explains why on some Xiaomi devices you can do that, and cannot on others. Not sure how they choose what apps have the permission enabled by default and disabled for others.

Not sure we can do something about this, except:

AFAIK after investigating the other Xiaomi-specific permissions there is no option to request the permission from the app code.

We've attached a new screen recordings for this issue with RC 113.0 and Firefox 113.0b9.

Attached video 113.0b9mov.mov (deleted) —
Attached video RC113.0.mov (deleted) —

Oh, interesting, :mcarare! Thanks for the insight.

:ccronemberger@yahoo.com.br, if you're still watching this ticket - could you check Android system settings on your device, and see if there a setting for Firefox like the one described in this Xiaomi forum response, and if so, see if that helps your issue?

Flags: needinfo?(ccronemberger)

Redirect a needinfo that is pending on an inactive user to the triage owner.
:jonalmeida, since the bug has high severity, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(ccronemberger) → needinfo?(jonalmeida942)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: