New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 594404 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Mar 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

"Add to homescreen" does nothing when there is no space to put an icon

Reported by kdzwinel@gmail.com, Mar 13 2016

Issue description

Chrome Version       : 49.0.2623.91
OS Version: 
URLs (if applicable) :
Other browsers tested:
  Add OK or FAIL after other browsers where you have tested this issue:
     Safari 5:
  Firefox 4.x:
     IE 7/8/9:

What steps will reproduce the problem?
1. Make sure that there is no space on your homescreen
2. Add web app to homescreen

What is the expected result?
Error message should show up or app should still be installed and accesible in some way

What happens instead of that?
Success message shows up, even though app was not installed


Please provide any additional information below. Attach a screenshot if
possible.

UserAgentString: Mozilla/5.0 (Linux; Android 5.0.2; HTC One Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.91 Mobile Safari/537.36



 
screenrecorder.20160313163708_01.mp4
9.1 MB Download
Labels: OS-Android
Owner: dfalcant...@chromium.org
Status: Assigned (was: Unconfirmed)
Cc: rolfe@chromium.org
Nothing we can really do, based on how the Android API works.  Best we can do is say "Site sent to your home screen" or something.  Is this a string worth changing, Rebecca?  We keep getting bugs for situations where the launchers don't do anything when we ask them to.

Comment 4 by rolfe@chromium.org, Mar 15 2016

So we wouldn't even know you're out of room on your home screen (to say something like "Not enough space to add site")?
Nope.  The "API" (if you can call it that) involves firing an Intent as a general broadcast.  This means that any/all/none of the launchers on the device registered as receivers for the Intent may or may not handle the Intent.  It's also why we don't know if anything answered our shortcut adding request.

Fun fact: people installing a second launcher on their devices can often result in both launchers adding the shortcuts to their home screens.

Doubly fun fact: sometimes the AGSA will refuse to add the shortcut until they are relaunched, upon which the user will randomly slide over to another home screen and see the icon be added.

Triply fun fact: Samsung's launcher [used to/still does] fire a toast saying that something was added to your home screen after our own Toast, so users got a double dose of Toast.

Comment 6 by rolfe@chromium.org, Mar 15 2016

Cc: owe...@chromium.org
(+ owencm to give the OK)

Fourth fact: Seems like "<site name> was added to your Home screen" is not a helpful confirmation!

I don't know that a ton of people install two launchers but AGSA is an app we want to work nicely with and we have significant number of Samsung users.

owencm - would it be OK or too weird to change the confirmation to say:
"Request sent to add this site to your Home screen"

Comment 7 by owe...@chromium.org, Mar 16 2016

Yeah it is a shame we can't know the true result in this case, and that there's so many nasty edge cases.

That said, I think that the value of a clear string that is right > 90% of the time is better than one that's confusing 100% of the time.

This unfortunately looks like a WontFix to me unless we can find some other way of determining whether it was added etc. 

Dan - I guess in the Samsung case we may be able to detect their launcher and suppress our toast, if we think it's important enough, but that should probably be a new issue.
That's assuming that a user is using a secondary launcher, or that we can identify when their launcher actually fires their toast :/  I don't think it's a super big deal if the user gets a double toast, though.

Comment 9 by rolfe@chromium.org, Mar 16 2016

I can settle for Wontfix, although I'm open to any other alternative for sure. If we're wrong even 1 time out of 10 it impacts the trustworthiness of the other nine times.

We could just not toast at all, and do some other thing like show the progress loader to simulate a page refresh. I wish we could know when we failed specifically - that would be way more helpful but isn't available to us. Bummer!
Yeah, would settle with WontFix, too :/  Showing the progress loader seems less intuitive to me, because it would just look like the page is being reloaded.
Status: WontFix (was: Assigned)
Sounds like we're all in sad agreement here. 

If anyone thinks of a great idea on how to solve any of these cases then lets reopen, otherwise marking as WontFix.

Sign in to add a comment