filips123 / PWAsForFirefox

A tool to install, manage and use Progressive Web Apps (PWAs) in Mozilla Firefox
https://pwasforfirefox.filips.si
Mozilla Public License 2.0
2.27k stars 52 forks source link

Apps start to open as a self contained window, the screen stops loading in new window, and instead opens as a tab in main Firefox window #512

Open ScottYates opened 5 months ago

ScottYates commented 5 months ago

Description

Apps start to open as a self contained window, the screen stops loading in new window, and instead opens as a tab in main Firefox window

Steps to Reproduce

  1. Go to voice.google.com or gmail.com and ask PWA to install/open as an application

Affected Websites

Happens on all sites I try. Including those that are set up to BE PWA's

Environment

filips123 commented 5 months ago

Do you have "Open out-of-scope URLs in a default browser" enabled? If so, you need to add SSO domains to the "Domains always allowed to be opened in the app browser" input. You can check the documentation for a list of recommended values.

ScottYates commented 5 months ago

Tried with both true/false in the firefoxpwa.openOutOfScopeInDefaultBrowser, and with * in firefoxpwa.allowedDomains

image

Does not seem to change behavior. voice.google.com for example, opens in the pwa, starts to load, then pops back into the main FF instance while leaving the pwa window stalled.

Is there something else I can do to provide better information?

ScottYates commented 5 months ago

image

I set it up this way, and try voice.google.com, and it does the same thing.

filips123 commented 5 months ago

Have you restarted all PWAs after changing these settings? Also, can you try any other PWA that doesn't use Google accounts, maybe GitHub for example?

ScottYates commented 5 months ago

I did close all PWAs and try again, with the same results. However, it appears to be just the "googly" sites, as github does work.

Please advise.

filips123 commented 5 months ago

Can you try to install some Google site that causes problems into a new profile (select "Automatically create a new profile" when installing it), and check if it also causes problems there?

ScottYates commented 5 months ago

That looks like it did the trick. Thank you so much. I wonder if that should go in the FAQ? Maybe I should do a PR?

filips123 commented 5 months ago

Well, this issue shouldn't even happen, and it doesn't seem to happen often, so it's probably not needed to add it to FAQ now.

mortenfc commented 3 months ago

I got this issue as well. Didn't have it with previous versions

filips123 commented 3 months ago

Does it happen even if you have "Open out-of-scope URLs in a default browser" disabled?