https://bugs.kde.org/show_bug.cgi?id=418841

Harald Sitter <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #10 from Harald Sitter <[email protected]> ---
I think it would be good if everyone actually established if they are behind
portals. For the record firefox is portaled on neon by default.

If this bug is only appearing with portals, which I expect is the case from the
comments, then it is a firefox bug and should be reported on the firefox
bugzilla really.

> nsGNOMEShellService::IsDefaultBrowser

calls 

> nsGIOService::GetAppForURIScheme

which returns a flatpakHandlerApp due to hitting the portal detection

>   if (ShouldUseFlatpakPortalImpl()) {
>     nsFlatpakHandlerApp* mozApp = new nsFlatpakHandlerApp();
>     NS_ADDREF(*aApp = mozApp);
>     return NS_OK;
>   }

nsGIOService::GetAppForURIScheme will then attempt to cast this to a
nsCOMPtr<nsIGIOMimeApp>, which it is not since it is a nsFlatpakHandlerApp

>       gioApp = do_QueryInterface(handlerApp);
>       if (!gioApp) return NS_OK;

as a result IsDefaultBrowser just always returns right there.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to