Bug 113512

Summary: Firefox in KDE - Only Uses GNOME Programs
Product: [openSUSE] openSUSE 11.0 Reporter: Alex Radu <exigentsky>
Component: FirefoxAssignee: E-mail List <kde-maintainers>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P3 - Medium CC: al4321, andreas.hanke, dmueller, francis, hugo.costelha, johnelliottmartin, kde-maintainers, martin.schlander, rodw, wolfgang
Version: Alpha 2   
Target Milestone: ---   
Hardware: i686   
OS: SuSE Linux 10.0   
Whiteboard: gnome-usability desktop-interop
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Alex Radu 2005-08-27 03:51:14 UTC
I recently downloaded a few gunzip, zip and ogg files and noticed that even in
KDE, only GNOME programs opened. For the gunzip and zip files, File Roller
opened when I clicked "Open" in the Firefox "Downloads" dialog. When I clicked
"Open" for the ogg file, Totem opened. And even when I clicked my username
following the "All files are downloaded to:" fragment, Nautilus opened.

As a KDE user, I'm really annoyed. I have better alternatives to Nautilus and
Totem, I want Firefox to use my KDE programs.
Comment 1 Wolfgang Rosenauer 2005-08-27 08:20:01 UTC
Firefox doesn't support the usage of the KDE applications database.
The applications which are started from within Firefox are all defined in gconf
resp. gnome-vfs because Firefox is more a GNOME application as a KDE application.
And yes, this is annoying. But it's not so easy to fix/extend. So it's
definitely nothing which can be done for 10.0.
So I have to lower the severity and keep it as enhancement request for future
versions.

@kde-maintainers: What do you think. Would it be possible to use KDE's database
optionally? I think that a QT Firefox is still far away and even with it it is
not so easy to provide both flavours of Firefox.
Please see http://lxr.mozilla.org/seamonkey/source/uriloader/exthandler/unix/
how it's done for GNOME. The gconf and gnome-vfs stuff is loaded there by
mozilla's flavour of dlopen. It should be possible to write such a class for KDE
stuff.
Comment 2 Alex Radu 2005-08-27 09:03:48 UTC
Alright, I understand. I don't even use Firefox all that much (I usually use
Konqueror), but this really annoyed me. I hope in the future there will be
better KDE integration.
Comment 3 Adrian Schröter 2005-08-29 06:41:33 UTC
Dirk Mueller is working on this atm. 
 
However, should firefox not use either neutral programs (like xine in this 
case) or at least check if they are installed ? 
Comment 4 Alex Radu 2005-08-29 07:06:16 UTC
Xine has a terrible UI imo and I think if you are in KDE, Kaffeine should be the
prime choice for that kind of stuff. 
Comment 5 Wolfgang Rosenauer 2005-08-29 07:35:16 UTC
(In reply to comment #3)
> However, should firefox not use either neutral programs (like xine in this 
> case) or at least check if they are installed 

Before Firefox use gnome-vfs to find an application it works with /etc/mailcap,
/etc/mime.types and there user specific versions.
I think those should be generic enough but we have to provide useful entries
there. A Firefox-specific mime database is also possible but if we are going for
generic we should use a generic solution.
Comment 6 Robert O'Callahan 2005-08-31 04:50:52 UTC
If we're going to do any work to fix this, we should try to do it right. If
someone added support for the KDE application database, I'm sure the patch would
be accepted upstream.
Comment 7 Alex Radu 2005-08-31 08:13:06 UTC
I think that's a good way to approach the problem. However, do you expect such a
task to be finished before SUSE 10.0 is gold?
Comment 8 Wolfgang Rosenauer 2005-08-31 17:56:26 UTC
I would say: No. We only can take it as feature request but it should really be
implemented.
But maybe Dirk (or some other KDE maintainer) can comment.
Comment 9 Dirk Mueller 2005-08-31 21:53:41 UTC
working on it.. no promises though.  
Comment 10 Lubos Lunak 2007-02-27 10:35:09 UTC
*** Bug 248986 has been marked as a duplicate of this bug. ***
Comment 11 Wolfgang Rosenauer 2007-09-26 07:43:21 UTC
*** Bug 299597 has been marked as a duplicate of this bug. ***
Comment 13 JP Rosevear 2007-11-14 18:59:27 UTC
*** Bug 219331 has been marked as a duplicate of this bug. ***
Comment 14 Rodney Wilder 2007-12-08 18:03:56 UTC
is anything being done on this?  Other than marking multiple bugs as duplicates of this bug for the past 2 years, there appears to be zero effort to make this work.
Comment 15 Wolfgang Rosenauer 2007-12-08 20:21:01 UTC
*** Bug 347116 has been marked as a duplicate of this bug. ***
Comment 16 Wolfgang Rosenauer 2008-04-03 16:44:07 UTC
BTW: I'm not sure if we actually need to patch Firefox for that.
It depends what we need. Currently things like mailto protocol handlers are read from gconf that could be implemented to get read from KDE.

For helper applications (opening files with the associated desktop applications) that's probably not needed anymore.
The shared mime stuff and desktop file handling covers most of it "correctly" recommending already KDE applications if there is no Gnome application installed which would fit. If the Gnome pattern is not installed chances are that KDE applications are chosen automatically but if both are available gnome-vfs will recommend the gnome/gtk application naturally.
Comment 17 JP Rosevear 2008-06-06 14:56:39 UTC
*** Bug 397429 has been marked as a duplicate of this bug. ***
Comment 18 pragnesh radadiya 2008-09-19 16:49:13 UTC
*** Bug 213884 has been marked as a duplicate of this bug. ***
Comment 19 Lubos Lunak 2008-11-06 10:44:49 UTC
*** Bug 441426 has been marked as a duplicate of this bug. ***
Comment 20 Lubos Lunak 2009-05-14 09:44:47 UTC
I'm afraid we don't have the resources to do this. Please follow up in the upstream bugreport mentioned in comment #12.