This indeed is the issue. Initial "patch" . Will post the final patch in
a while ( rebuilding is a sloow process ).


--- a/uriloader/exthandler/unix/nsGNOMERegistry.cpp     2014-02-24 
23:38:31.303287298 +0530
+++ b/uriloader/exthandler/unix/nsGNOMERegistry.cpp     2014-02-25 
00:04:12.643350922 +0530
@@ -148,7 +148,12 @@ nsGNOMERegistry::GetFromType(const nsACS
     nsCOMPtr<nsIGIOMimeApp> gioHandlerApp;
     if (NS_FAILED(giovfs->GetAppForMimeType(aMIMEType, 
getter_AddRefs(gioHandlerApp))) ||
         !gioHandlerApp) {
-      return nullptr;
+        // Unable to find mime handler, probably a protocol. moz bz#947868
+        // Need a better way to identify if this is a scheme - check for 
nsMIMEInfoBase::eProtocolInfo ?
+        if (NS_FAILED(giovfs->GetAppForURIScheme(aMIMEType, 
getter_AddRefs(gioHandlerApp))) ||
+            !gioHandlerApp) {
+            return nullptr;
+        }
     }
     gioHandlerApp->GetName(name);
     giovfs->GetDescriptionForMimeType(aMIMEType, description);

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1201954

Title:
  Firefox 22+ protocol handler doesn't work properly

Status in The Mozilla Firefox Browser:
  New
Status in “firefox” package in Ubuntu:
  Confirmed

Bug description:
  After upgrading to Firefox 22 protocol handler doesn't work properly

  for example, when I click on link skype:skype_name?chat I can select
  Skype from list in Firefox 21- but can't do that in Firefox 22+

  Google Chrome, xdg-open works correct

  ~$ grep x-scheme-handler/skype /usr/share/applications/*
  /usr/share/applications/mimeinfo.cache:x-scheme-handler/skype=skype.desktop;
  /usr/share/applications/skype.desktop:MimeType=x-scheme-handler/skype;

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: firefox 23.0~b4+build1-0ubuntu0.13.04.1
  ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2
  Uname: Linux 3.8.0-26-generic i686
  ApportVersion: 2.9.2-0ubuntu8.1
  Architecture: i386
  BuildID: 20130709135739
  Date: Tue Jul 16 23:02:55 2013
  InstallationDate: Installed on 2013-02-12 (154 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=uk_UA.UTF-8
   SHELL=/bin/bash
  SourcePackage: firefox
  UpgradeStatus: Upgraded to raring on 2013-04-25 (82 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1201954/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to