KDE support for firefox stopped working in 12.04

Bug #949949 reported by AlbertH on 2012-03-08
This bug affects 38 people
Affects Status Importance Assigned to Milestone
Fix Released
firefox (Fedora)
Won't Fix

Bug Description

I have installed firefox-kde-support, but kde integration doesn't work.
Among other things, "open file" dialog and the panel to select applications to open links are not replaced by KDE counterparts.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: firefox-kde-support 0.6.3-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-18.28-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
ApportVersion: 1.94.1-0ubuntu1
Architecture: amd64
Date: Thu Mar 8 14:44:22 2012
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120228.1)
SourcePackage: kmozillahelper
UpgradeStatus: No upgrade log present (probably fresh install)

OpenSUSE has introduced in its latest version some KDE integration which would be nice to also have in Fedora.

List of the features: http://en.opensuse.org/KDE/FirefoxIntegration
Blog post describing the work done: http://www.kdedevelopers.org/node/4099
Source code: http://gitorious.org/firefox-kde-opensuse

Detailed list of features:
- KDE file dialogs are used instead of Gnome/GTK ones
- KDE dialog for choosing "Open with..." application
- MIME types; KDE file associations are read and being used
- protocol handlers (mailto, irc, ...)
- Proxy settings from KDE are read and used
- widget and icon styles (partially)
- plasma notifications
- Preferences dialogs have apply/cancel buttons just like other KDE dialogs
- RSS: support for adding feeds to Akregator
- support for Firefox asking and setting itself as the default KDE browser

For further KDE specific integration we need to provide a class or component which checks for KDE desktop and support and takes over the communication with the external kmozillahelper.

We have to use an external helper? No way we can just support KDE natively like we already do GNOME?

I'm not that deep into KDE but the original author wrote:
"I don't have the ability of some other KDE developers to have clones, and I'm not crazy enough to try to mix Gtk and Qt in one process (which, despite the possibility of a shared event loop, should be nowhere near trivial)."

It's might be possible but I don't see anyone investing that much effort.

*** Bug 544851 has been marked as a duplicate of this bug. ***

We can consider this if it gets accepted upstream. In the meantime, closing this.

AlbertH (alberthilbert) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kmozillahelper (Ubuntu):
status: New → Confirmed
Bug Reporter 11 (bugreporter11) wrote :

See these related forum posts:



Or others that can be found by searching with keywords like "KDE Firefox mime".

In the mean time, here is a possible workaround from Canonical support:

1) stop firefox
2) rm ~/.mozilla/firefox/<profile>/mimeTypes.rdf
3) start firefox
4) download a file
5) open it from the downloads menu and choose the application. Browse to /usr/bin/xdg-open. then check to remember your choice

Now both open and open containing folder should work. You can then change the preferred programs through kde's file associations settings.

melnikov_anton (melnikov-anton) wrote :

But what about "open/save file" dialogs? Using GTK's dialog is far less preferrable option.

avlas (avlas) wrote :

Those were nice features to have, hopefully they'll come back again

vaino (666papito) wrote :

no :)

Murz (murznn) wrote :

Seems that support for KDE file dialog is removed from 12.04 and will not go back: http://www.phoronix.com/scan.php?page=news_item&px=MTA3MjI

firefox-kde-support was removed, so how could you have installed it?

AlbertH (alberthilbert) wrote :

You are right, now it is not into Precise repositories, but at the time of this bug report (beta release) it was there.

summary: - KDE support for firefox doesn't work
+ KDE support for firefox stopped working in 12.04

A user named "sumski" on the Kubuntu forums is currently maintaining kmozillahelper for Precise. Here is the information: http://www.kubuntuforums.net/showthread.php?59011-Firefox-KDE-support&p=300146&viewfull=1#post300146

Here are instructions for setting sumski's PPA as the default source for Firefox updates (to avoid an official Ubuntu update breaking kmozillahelper): http://www.kubuntuforums.net/showthread.php?59011-Firefox-KDE-support&p=302719&viewfull=1#post302719

Mantas Kriaučiūnas (mantas) wrote :

Firefox-kde-support is back with latest packages from Blue-Shell team:


Kubuntu team has picked up again where Canoncial dropped.

Changed in firefox-kde-support:
importance: Unknown → Wishlist
status: Unknown → Confirmed
Changed in debian:
status: Unknown → New
Marcello (marcello-tescari) wrote :

I tryed to install the Blue-Shell plugin from their repositories but i haven't noticed any difference. Still GTK dialogs and still no mime type recognition. Is there anything else that needs to be done (removing some files etc)? I tryed on a fresh installation of 12.10.

Thanks for the answer

Is there a specific bug about the lack of MIME types information in Kubuntu Firefox?

It is absurd that PDFs downloaded with Firefox cannot be opened directly by Okular, the dialog to choose a helper application is ugly and useless and it drops you into the filesystem, without any clear hint of what to do next or where to find the programs. See: http://www.kubuntuforums.net/archive/index.php/t-58564.html

Rafael Belmonte (eaglescreen) wrote :

Lets hope that Blue-Shell team will restore KDE integration in future releases of Kubuntu.
Mimetype fix would be very desirable.

Rohan Garg (rohangarg) wrote :

Are you sure the mimetype detection bug isn't fixed in the latest releases?

Created attachment 711724
kde preferences

Created attachment 711725
Part of the KDE support, named firefox-kde.patch in openSUSE

Created attachment 711727
Part of the KDE support (toolkit), named mozilla-kde.patch in openSUSE

Created attachment 711728
Avoids using gconf for non-gnome DE

I've now attached the current patches openSUSE is using as per Robert's comment to bug 528510.
If you some of them belong in other bugs, please attach them there.

(In reply to Marco Poletti from comment #6)
> Created attachment 711728
> Avoids using gconf for non-gnome DE

This one is currently discussed in bug 824341.
Please note that it's also "resolved" if libproxy usage is enabled in Firefox which is not the default compile option.

It's really needed, chromium already have full KDE support...

Georg Eckert (eckert-georg) wrote :

Actually, firefox-kde-support does still work. The problem is, it only works together with the firefox provided by blue-shells ppa. When ubuntu is faster with providing a new version of firefox, the system will update to that version from the main repos and the kde-firefox from the blue-shell ppa will not be installed.

no longer affects: kmozillahelper (Ubuntu)
Marcello (marcello-tescari) wrote :

I would like to inform that the firefox-kde-support is no longer available on 12.04. It works on saucy (13.10) and I haven't tried in Quantal and Raring. I think that since 12.04 is a LTS the plugin should also be available as long as the distro is supported.

themroc (rauchweihe) wrote :

The firefox package ( 28.0+build2-0ubuntu2~ppa2~trusty1) from "ppa:blue-shell/firefox-kde" will in trusty (14.04) no longer preferred by package manager. The package from ubuntu (28.0+build2-0ubuntu2) will automatic installed instead of the package from blue-shell team.

Force install the blue shell firefox package make kde-support working, but the package-manager will update the blue shell package with the ubuntu package without kde support.

@themroc, create the file "/etc/apt/preferences.d/blue-shell-firefox-kde-pin-1000" containing the following:

Package: *
Pin: release o=LP-PPA-blue-shell-firefox-kde
Pin-Priority: 1000

This should keep your package manager from trying to update Firefox beyond the version contained in the blue-shell PPA.

Harald Sitter (apachelogger) wrote :

Please note that this will potentially leave your web browser vulnerable to known exploits for an unknown amount of time (namely for as long as it takes to rebuild and publish a new version).

themroc (rauchweihe) wrote :

Thank you!

With the new Firefox package (from blue-shell PPA) it works again. Now the package from blue-shell PPA will be preferred again, if it has the same version number.

This issue -- of improving KDE + Firefox integration, generally, and of getting Firefox to use Dolphin, specifically -- has languished for a long time.

It has, after all, been percolating, unresolved, for ~ 12 yrs now.

Atm, it's basically dead & inactive. I'm hoping that that can be reversed.

If "you" are still interested in good/solid KDE+Firefox integration, read-on --

IMO, not getting to a decent solution has not been for lack of trying/interest:

 Bug 140751 - Integrate Mozilla with KDE

 Bug 528598 - provide a class to check for KDE environment and to interface with kmozillahelper

 Provide better Firefox KDE integration

 Bug 528510 - [Tracking] Port OpenSUSE KDE Integration for Firefox

 Firefox on KDE

 (I'm sure there are more ...)

As of this date, there's still no solution that works consistently well. Opensuse's patches are the closest to it (cref packages: "kmozillahelper", "mozilla-kde4-integration"), & have been intermittently available/functional in Opensuse, as well as ported to Ubuntu, Arch, others.

But, even the Opensuse devs say they're not happy with their own, 'hacky' solution.

And, unless I've missed it, the "right people" simply aren't talking to one another.

A "good" solution will need devs -- at least one each -- from KDE, Mozilla/Firefox & Opensuse/other distro devs, to agree that this should get done, and actually talk/work with one another to do so.

I've tried to re-start the discussion about getting a good solution to KDE+Firefox integration.


In that thread I received thoughtful/arguable comments from @Mozilla folks, e.g.

 I believe that there is plenty of good will among
 Mozilla developers to help Firefox + Dolphin along the road (starting
 with reviewing patches and mentoring newcomers).
 firefox-dev and bugs are as good a place as any to start.

They certainly seem willing to work with KDE & others -- but it will NOT happen alone.

So, if "you" are still interested in good/solid KDE+Firefox integration -- pls start by subscribing to "firexfox-dev" mailing list


and consolidating communication to THIS thread:

 "Firefox + KDE integration: Getting FF to use Dolphin reliably. 12+ years and counting."

'Everybody' talking about the issue in one place wouldn't, imo, be a bad 1st step.

The patches on this bug are from last year and I doubt they apply cleanly on trunk any more. If someone has updated patches, please feel free to post them. Please note that in order to get your patches landed, it's usually a good idea to divide them into small self-contained patches that can be reviewed and checked in individually. Giant patches like attachment 711727 that touch all kinds of code in the tree are extremely hard to push through...

On a clean Kubuntu 14.04 installation with a new Firefox profile, Firefox offers to open JPEG files with "Hugin PTO generator" and only with that. Chromium does not offer choices, but it opens it with Gwenview, which is the default. I wonder if Chromium is simply using xdg-open unconditionally. Nonetheless, it is completely obscure even to advanced users how Firefox ends up with "Hugin PTO" as the only choice.

(In reply to M Lopez-Ibanez from comment #13)
> On a clean Kubuntu 14.04 installation with a new Firefox profile, Firefox
> offers to open JPEG files with "Hugin PTO generator" and only with that.

Which application is set up to handle JPEG files in KDE's System Settings/File Associations/Image/jpeg ?

Which application is set up in Firefox to handle JPEG files in Edit/Preferences/Applications tab/JPEG images?


(In reply to Gérard Talbot from comment #14)
> (In reply to M Lopez-Ibanez from comment #13)
> > On a clean Kubuntu 14.04 installation with a new Firefox profile, Firefox
> > offers to open JPEG files with "Hugin PTO generator" and only with that.
> Which application is set up to handle JPEG files in KDE's System
> Settings/File Associations/Image/jpeg ?

Gwenview, then GIMP, then ImageMagick.

> Which application is set up in Firefox to handle JPEG files in
> Edit/Preferences/Applications tab/JPEG images?

Hugin PTO generator (it is the only option apart from Always ask and Save to file)

Petr Svoboda (weits666) wrote :

Hi, there is no firefox-kde-support package in ppa:blue-shell/firefox-kde for Kubuntu 14.10.
I use package from Kubuntu 14.04 and it works, but I am interested if it will be available sometimes for 14.10. Thanks!

Rohan Garg (rohangarg) wrote :


Changed in firefox (Fedora):
importance: Unknown → Medium
status: Unknown → Won't Fix
Changed in debian:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.