Closed Bug 791246 Opened 12 years ago Closed 12 years ago

No toast notification on URL home-screen shortcut creation

Categories

(Firefox for Android Graveyard :: General, defect)

18 Branch
ARM
Android
defect
Not set
normal

Tracking

(firefox18 affected)

RESOLVED WONTFIX
Tracking Status
firefox18 --- affected

People

(Reporter: andreea.pod, Assigned: wesj)

Details

(Keywords: regression, Whiteboard: [blocking-webrtandroid1+])

Build: Firefox 18 (2012-09-14)
Device: Samsung Galaxy Nexus
OS: Android 4.1.1

Precondition: An application was successfully installed on a user's device.


Steps to reproduce:
1. go to about:apps
2. Long tap and hold on any installed application
3. Select Add to Home Screen from the context menu

Expected results: - an Android toast notification should appear indicating that the selected application has been added to the home-screen. The notification should indicate the application name and disappear after a few short seconds.

Actual result: - nothing happens
createShortcut seems to be failing

E/GeckoAppShell( 4961): createShortcut with no unique URI should not be used for aType = webapp!
I'm also seeing no notification for regularly added URL's.
Component: Web Apps → General
Keywords: regression
QA Contact: aaron.train
Summary: No toast notification indicating that the selected application has been added to the home-screen from about:apps → No toast notification on URL home-screen shortcut creation
Whiteboard: [blocking-webrtandroid1?]
Assignee: nobody → wjohnston
I was able to reproduce this since "Add to Home Screen" feature was introduced with Bug 711905.
Whiteboard: [blocking-webrtandroid1?] → [blocking-webrtandroid1+]
Are the shortcuts being added? We have no control over the toast. Its shown by Android. I'll have to dig into the Jellybean source to try and figure out why its not being shown.

On my Gingerbread phone the shortcuts are added and the toast is shown. On JellyBean the shortcuts are added with no toast. i.e. Everything is happening correctly, just no toast.

I wrote up a fix for the log message you are seeing Aaron, but it is not the cause of this bug, and if its not causing problems I'd rather just wait and put in a better fix once the JNI.js stuff is done.
These toasts are created by the system. Since (AFAIK) the shortcuts are being created, this must be a bug in Android. I'm going to resolve this WONTFX.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.