KDE support for firefox stopped working in 12.04

Bug #949949 reported by AlbertH
178
This bug affects 38 people
Affects Status Importance Assigned to Milestone
firefox-kde-support
Won't Fix
Medium
Baltix
New
Undecided
Unassigned
Debian
Fix Released
Unknown
firefox (Fedora)
Won't Fix
Medium

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)
ProcEnviron:
 LANGUAGE=
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: kmozillahelper
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
In , Lukáš (luk-redhat-bugs) wrote :

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

Revision history for this message
In , Lukáš (luk-redhat-bugs) wrote :

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

Revision history for this message
In , Mozilla (mozilla) wrote :

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.

Revision history for this message
In , Reed Loden (reed) wrote :

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

Revision history for this message
In , Mozilla (mozilla) wrote :

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)."
http://www.kdedevelopers.org/node/4099

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

Revision history for this message
In , Martin (martin-redhat-bugs) wrote :
Revision history for this message
In , Matěj (matj-redhat-bugs) wrote :

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

Revision history for this message
In , Christopher (christopher-redhat-bugs) wrote :

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

Revision history for this message
AlbertH (alberthilbert) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in kmozillahelper (Ubuntu):
status: New → Confirmed
Revision history for this message
Bug Reporter 11 (bugreporter11) wrote :

See these related forum posts:

http://askubuntu.com/questions/112194/kubuntu-12-04-firefox-and-rekong-dont-know-how-to-open-downloaded-files/112820#112820

https://www.linuxquestions.org/questions/slackware-14/make-firefox-aware-of-kde-apps-615686/

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.

Revision history for this message
melnikov_anton (melnikov-anton) wrote :

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

Revision history for this message
avlas (avlas) wrote :

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

Revision history for this message
vaino (666papito) wrote :

no :)

Revision history for this message
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

Revision history for this message
Mechanical snail (replicator-snail) wrote :

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

Revision history for this message
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
Revision history for this message
S. Christian Collins (s-chriscollins) wrote :

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

Revision history for this message
S. Christian Collins (s-chriscollins) wrote :

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

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

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

https://launchpad.net/~blue-shell/+archive/firefox-kde

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
Revision history for this message
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

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

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

Revision history for this message
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.

Revision history for this message
Rohan Garg (rohangarg) wrote :

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

Revision history for this message
In , Marco Poletti (poletti-marco) wrote :

Created attachment 711724
kde preferences

Revision history for this message
In , Marco Poletti (poletti-marco) wrote :

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

Revision history for this message
In , Marco Poletti (poletti-marco) wrote :

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

Revision history for this message
In , Marco Poletti (poletti-marco) wrote :

Created attachment 711728
Avoids using gconf for non-gnome DE

Revision history for this message
In , Marco Poletti (poletti-marco) wrote :

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.

Revision history for this message
In , Mozilla (mozilla) wrote :

(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.

Revision history for this message
In , Cédric Bellegarde (gnumdk) wrote :

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

Revision history for this message
In , Cédric Bellegarde (gnumdk) wrote :
Revision history for this message
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)
Revision history for this message
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.

Revision history for this message
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.

Revision history for this message
S. Christian Collins (s-chriscollins) wrote :

@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.

Revision history for this message
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).

Revision history for this message
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.

Revision history for this message
In , anon2534 (anon2534-deactivatedaccount) wrote :

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
 https://bugzilla.mozilla.org/show_bug.cgi?id=140751

 Bug 528598 - provide a class to check for KDE environment and to interface with kmozillahelper
 https://bugzilla.mozilla.org/show_bug.cgi?id=528598

 Provide better Firefox KDE integration
 https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/494067

 Bug 528510 - [Tracking] Port OpenSUSE KDE Integration for Firefox
 https://bugzilla.mozilla.org/show_bug.cgi?id=528510

 Firefox on KDE
 https://groups.google.com/forum/#!topic/mozilla.dev.platforms.linux/XKyWG8NwSeA

 (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.

 https://mail.mozilla.org/pipermail/firefox-dev/2014-July/001940.html

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

 https://mail.mozilla.org/listinfo/firefox-dev

and consolidating communication to THIS thread:

 "Firefox + KDE integration: Getting FF to use Dolphin reliably. 12+ years and counting."
  https://mail.mozilla.org/pipermail/firefox-dev/2014-July/001940.html

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

Revision history for this message
In , Ehsan-mozilla (ehsan-mozilla) wrote :

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...

Revision history for this message
In , Manuel López-Ibáñez (manuellopezibanez) wrote :

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.

Revision history for this message
In , Bugzilla-gtalbot (bugzilla-gtalbot) wrote :

(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?

Gérard

Revision history for this message
In , Manuel López-Ibáñez (manuellopezibanez) wrote :

(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)

Revision history for this message
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!

Revision history for this message
Rohan Garg (rohangarg) wrote :

Fixed.

Changed in firefox (Fedora):
importance: Unknown → Medium
status: Unknown → Won't Fix
Changed in debian:
status: New → Fix Released
Changed in firefox-kde-support:
importance: Wishlist → Medium
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
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.