Desktop link for Progressive Web Apps incorrect
Bug #1863897 reported by
WBGSReject
This bug report is a duplicate of:
Bug #1732482: [snap] doesn't properly save desktop files for "create shortcuts" action.
Edit
Remove
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Since the change to a Snap package, PWA "add to homescreen" (A2HS) does not seem to be working.
I am using Xubuntu 19.10
A link is created on the desktop with the app name, but the icon is a generic one and clicking on the link just brings up a blank Chromium page.
I tested it from my own PWA to start with, but to check it is a generic problem I used the MDN PWA page:
https:/
which has a PWA demo app called "Awesome Fox Pictures". If you open the live demo page:
https:/
you should be able to add the app to your desktop, but this creates the broken link I described.
To post a comment you must log in.
The Exec line in the generated desktop file has:
Exec= /snap/chromium/ 1026/usr/ lib/chromium- browser/ chrome --profile- directory= Default --app-id=…
Replacing the path to the chrome executable by /snap/bin/chromium seems to fix the issue.
This is a duplicate of bug #1732482, marking as such.