Closed Bug 968427 Opened 11 years ago Closed 8 years ago

Updating Firefox will change the icons for homescreen bookmarks and webapps

Categories

(Firefox for Android Graveyard :: General, defect, P5)

27 Branch
All
Android
defect

Tracking

(fennec+)

RESOLVED WONTFIX
Tracking Status
fennec + ---

People

(Reporter: briner, Unassigned)

References

Details

Attachments

(1 file)

Attached image galaxyS3_screenshot.png
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release)
Build ID: 20140127194636

Steps to reproduce:

On my Galaxy S3, I've installed firefox. I've see that within Firefox you can acces the marketplace. So I decided to give a try to some applications.

Firefox update from 26 to 27  …


Actual results:

After the udpate of firefox on my mobile device, all the applications lost their icon (W for wikipedia, blue bird for twitter…) and get replaced by the firefox icon.


Expected results:

Expect that the icon did not change.

I've also try to launch the application, to see if they still works ? They do.

I was hoping that the icon will be refreshed after the launch of the application. But I had no luke.
Component: General → Web Apps
OS: Linux → Android
QA Contact: aaron.train
Hardware: x86_64 → All
I am able to reproduce this with latest Aurora build and Nightly too. 

Build. 30.0a1 and 29.0a2 (02/06)
Device: HTC Sensation 4G and Galaxy Tab 2 (Android 4.0.4 and 4.1 )

Steps to reproduce:
1. Have yesterdays build (02/05) on the device
2. Add some bookmarks to the homescreen (for these versions t5hw webapps are synthetic APKs so add to homescreen won't work from fennec)
3. Download today's build (02/06) and install it (an update install will take place)
4. Take a look at the screen shortcuts for the bookmarks . 

Nite:
This is not reproducible on gingerbread devices so I would say it is for Android 4+ only
Status: UNCONFIRMED → NEW
Component: Web Apps → General
Ever confirmed: true
QA Contact: aaron.train
Summary: after a update of firefox, I lots my application Icons → Updating Firefox will change the icons for homescreen bookmarks and webapps
wesj, do you know what's up with this?
tracking-fennec: --- → ?
Flags: needinfo?(wjohnston)
No idea why this would happen.
Flags: needinfo?(wjohnston)
tracking-fennec: ? → 29+
If this is a dupe of the one you suggested WON'T FIXing, please won't fix this.
Assignee: nobody → rnewman
Please reopen if this occurs when upgrading from 27 to 28.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Status: REOPENED → RESOLVED
Closed: 11 years ago10 years ago
Resolution: --- → WONTFIX
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
tracking-fennec: 29+ → +
filter on [mass-p5]
Priority: -- → P5
Seems to happen on an S3 and an S5 according to the above dupe.
I understand this is not a crucial bug, but I personally moved from installing applications to make homepage shortcuts of websites. I prefer this for various reasons (battery consumption, privacy, wanting to use a browser, etc.), and this bug is really annoying for my usage: each time I get an update to the browser, I need to re-create all of my websites shortcuts.
Per the most-recent dupe, this affects Galaxy S4 as well.  General Samsung issue?

FWIW, I have a similar problem with the OpenVPN client... my home screen shortcuts for my two VPNs that I use lose their *name* in OpenVPN's case, every time it updates, going back to the default "Connect to VPN" instead of the name of the VPN, which means I can't tell them apart.  The Firefox shortcuts icons do *not* lose their name, only the icon.  So Maybe compare with OpenVPN for Android to see what Firefox is doing differently that the name sticks, and see if something Firefox is doing to the name isn't being done to the icon?
https://github.com/schwabe/ics-openvpn/issues/269 for the OpenVPN for Android issue, though he closed it out because he couldn't reproduce (probably because he didn't have a Samsung device).
Assignee: rnewman → nobody
Status: REOPENED → NEW
Given the number of dupes, we should probably fix this if we want to start promoting our "Add to home screen" feature.
This is an old issue, but might have a similar solution to whatever we figure out for bug 1268455.
Flags: needinfo?(s.kaspari)
(In reply to :Margaret Leibovic from comment #18)
> This is an old issue, but might have a similar solution to whatever we
> figure out for bug 1268455.

Bug 1268455 occurred because we manually modified the launcher entry in the manifest. This resulted in Android removing the old home screen shortcuts because the referenced manifest entry does not exist anymore (and there's no migration strategy).

This one here is different, especially if this is happening for almost every update; and if it's only the icon that is going to be replaced with the app icon. When creating a home screen shortcut we pass a label and a bitmap to the system. From thereon the system is responsible for storing those values. So if they partially disappear then this sounds like a launcher bug for now. It's also suspicious that all reports here mention only Samsung devices.
Flags: needinfo?(s.kaspari)
We can follow up this bug if we want to add custom support to Samsung device / launcher app in the future.
Hi Sebastian
Do you think we should add a tag like "manufacturer-specific" to curate this kind of bug?
Please give me some advice. Thanks!
Flags: needinfo?(s.kaspari)
FWIW, I don't think this should be tagged "manufacturer-specific". This happens on my Asus tablet, Motorola (Moto G & Moto X Style) and white-labelled (MyPhone - Philippines) phones as well. I saw this on KitKat and Marshmallow using both the stock Android launcher and NovaLauncher.
(In reply to timveer from comment #22)
> FWIW, I don't think this should be tagged "manufacturer-specific". This
> happens on my Asus tablet, Motorola (Moto G & Moto X Style) and
> white-labelled (MyPhone - Philippines) phones as well. I saw this on KitKat
> and Marshmallow using both the stock Android launcher and NovaLauncher.

You see this happen on multiple devices? What triggers this? Is this after every update?
Flags: needinfo?(s.kaspari) → needinfo?(timveer)
(In reply to Sebastian Kaspari (:sebastian) from comment #23)
> (In reply to timveer from comment #22)
> > FWIW, I don't think this should be tagged "manufacturer-specific". This
> > happens on my Asus tablet, Motorola (Moto G & Moto X Style) and
> > white-labelled (MyPhone - Philippines) phones as well. I saw this on KitKat
> > and Marshmallow using both the stock Android launcher and NovaLauncher.
> 
> You see this happen on multiple devices? What triggers this? Is this after
> every update?

FWIW, I saw this consistently on an old Samsung Galaxy S2, and it was "clearly" a Samsung Launcher bug.  I could provoke it with packages that weren't Firefox.  I doubt I have the device to reproduce, unfortunately.
Hi Max
I think you have dealt with this issue. Could you help give me some idea?
Flags: needinfo?(max)
Flags: needinfo?(timveer)
I think this symptom is highly "Launcher" app dependent.
In my previous job/project experience, Launcher app have to store the icon of shortcut into db itself and listen to system broadcast of package add/remove intent. If Launcher didn't handle intent with extra "EXTRA_REPLACING", it will assume the app is uninstalled, not remove temporary for upgrade. So the shortcut will be removed from workspace, or re-bind the icon from app with default icon, or any other weird symptom, that's all by Launcher app implementation.

Can any one reproduce the symptom on HTC devices? ;)
Flags: needinfo?(max)
(In reply to Sebastian Kaspari (:sebastian) from comment #23)
> (In reply to timveer from comment #22)
> > FWIW, I don't think this should be tagged "manufacturer-specific". This
> > happens on my Asus tablet, Motorola (Moto G & Moto X Style) and
> > white-labelled (MyPhone - Philippines) phones as well. I saw this on KitKat
> > and Marshmallow using both the stock Android launcher and NovaLauncher.
> 
> You see this happen on multiple devices? What triggers this? Is this after
> every update?

Sorry for the delay Sebastian, I was away.
Yes, I have tried on multiple phones (Kitkat & Marshmallow; samsung, motorola and LG) The end result is the same. The homepage icons for web shortcuts are reset to the Firefox icon on every update.
(In reply to timveer from comment #27)
> (In reply to Sebastian Kaspari (:sebastian) from comment #23)
> > (In reply to timveer from comment #22)
> > > FWIW, I don't think this should be tagged "manufacturer-specific". This
> > > happens on my Asus tablet, Motorola (Moto G & Moto X Style) and
> > > white-labelled (MyPhone - Philippines) phones as well. I saw this on KitKat
> > > and Marshmallow using both the stock Android launcher and NovaLauncher.
> > 
> > You see this happen on multiple devices? What triggers this? Is this after
> > every update?
> 
> Sorry for the delay Sebastian, I was away.
> Yes, I have tried on multiple phones (Kitkat & Marshmallow; samsung,
> motorola and LG) The end result is the same. The homepage icons for web
> shortcuts are reset to the Firefox icon on every update.

**UPDATE**
Today I just tried the update to FF v50.10 on Android and the icons retained their custom appearance. They did not reset as previously. I don't know when this fix took effect, but on my devices it now appears to work correctly. Dean
I'm going to close this now: As described previously we hand an intent and an icon (the actual bitmap, not a path or anything) to the launcher and from there on it's the launcher's responsibility to display and maintain this. If at some point the launcher does something else then we don't know about it and we can't do anything about it either.

Please reopen/comment if you disagree.
Status: NEW → RESOLVED
Closed: 10 years ago8 years ago
Resolution: --- → WONTFIX
I've tested :
fennec-51.0a2.multi.android-arm.apk
fennec-52.0a2.multi.android-arm.apk
fennec-53.0a1.ca.android-arm.apk
Updating Firefox won't change the icons for homescreen bookmarks nor webapps.
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: