Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taskbar shortcuts for existing PWAs broken after update #425

Closed
shortstopryan opened this issue Nov 21, 2023 · 5 comments
Closed

Taskbar shortcuts for existing PWAs broken after update #425

shortstopryan opened this issue Nov 21, 2023 · 5 comments
Labels
bug Something isn't working question Further information is requested

Comments

@shortstopryan
Copy link

shortstopryan commented Nov 21, 2023

Taskbar shortcuts broken after new update with existing PWAs.
Previously, I could create a PWA, open that PWA, pin that open window to the task bar, then access it via clicking the shortcut on the taskbar. After update, all current PWA shortcuts seem to be broken. Says it cannot locate "firefoxpwa.exe".

If I delete shortcut from taskbar, then re-pin it, still broken with same error message.

If I delete PWA, then create new PWA from same site, then add to task bar, it seems to work.

I have 15 PWAs installed, would like to not have to re-create them all.

Windows 10
64-bit architecture
PWA extension info:
Extension version: 2.9.0
Native version: 2.9.0
Runtime version: 119.0.1
Firefox version: 120.0

@shortstopryan shortstopryan added the bug Something isn't working label Nov 21, 2023
@shortstopryan shortstopryan changed the title Taskbar shortcuts broken after new update .. Nov 21, 2023
@shortstopryan shortstopryan reopened this Nov 21, 2023
@shortstopryan shortstopryan changed the title .. Taskbar shortcuts for existing PWAs broken after update Nov 21, 2023
@filips123
Copy link
Owner

filips123 commented Nov 21, 2023

How did you install the previous version and how the latest (using MSI installer, winget, chocolately, etc.)? Also, did you install it per-user or per-machine?

Also, check if firefoxpwa works in CMD, and check what where firefoxpwa returns.

If you previously installed it per-user and now per-machine (or opposite), it's possible that things will break. It's possible to fix this with some manual steps, but first I need to know if this is the case...

@filips123 filips123 added the question Further information is requested label Nov 21, 2023
@shortstopryan
Copy link
Author

Gotcha, thats a point I hadnt considered, I may have done it per-machine previously. I def did it per-user this time. Both times using the MSI installer.

Firefoxpwa works, and its pointing to the local appdata folder for my user account.

@shortstopryan
Copy link
Author

Let me know if there are indeed manual steps to fix this. I need the shortcuts working asap (I use this for work) so I'm at the point where I may just rebuild them.

@filips123
Copy link
Owner

filips123 commented Nov 22, 2023

One option is if you uninstall the per-user version and install back per-machine one. Then, all web apps should start working again.

Other option is to run "Update web apps" from the extension settings. This should basically reinstall your web apps so shortcuts start working again (without deleting data). Also, in this case, you might also want to check if the old per-machine version is still installed and uninstall it.

(The installer not properly detecting existing (per-user/per-machine) installations is a known bug, but I don't know how to fix it. See #268 for details.)

(Also, if uninstallation does not clear everything properly, you can also try to manually clear a few registry keys and directories.)

@shortstopryan
Copy link
Author

Perfect. I uninstalled via appwiz.cpl, then ran the MSI again and chose Per-Machine install this time. This makes it so any PWAs added Pre-Update are able to be pinned to taskbar and opened via clicking the taskbar shortcut.

I did have to re-setup a couple of the PWAs I setup Post-Update and pin them using the new install, but that was to be expected, since those were setup as Per-User.

Thanks for your assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants