Bug 113104

Summary: Firefox doesn't understand the news:// protocol.
Product: [openSUSE] openSUSE 10.2 Reporter: Joe Harmon <jharmon>
Component: GNOMEAssignee: Rodrigo Moya <rodrigo>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 5 plus   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Joe Harmon 2005-08-25 18:09:35 UTC
If you are using knoqueror and you click on a news link it will import it into
the knode. If you are using firefox it doesn't understand the news:// protocol
and therefore doesn't import anything. Firefox is installed regardless of
whether you are using KDE or GNOME. However KNode is installed with KDE and Pan
is installed with GNOME. Therefore when this is fixed, we would need to detect
to see which desktop the user has installed and then import this into either
Knode or Pan.
Comment 1 Wolfgang Rosenauer 2005-08-25 19:02:25 UTC
Do you/we want a fix for SL 10.0?
That's not so easy to do right. We can easily add a protocol handler for news
which opens an external application. But that cannot depend on the used desktop
without doing some hardcoded hacks at this stage of beta phase.

I'm not enough GNOME specialist for the other possibility:
Firefox/Mozilla uses gconf for getting handler applications for certain actions
(as done with mailto links). But this is also not doable desktop dependent.

I second that this should be fixed somehow but I see no real priority for SL
10.0 at the moment. The possible solution within our timeframe would be a dirty
hack anyway.

roc, what do you mean?
Comment 2 Joe Harmon 2005-08-25 19:29:51 UTC
Yeah, I think that within the time frame that we have it is not possible to do
both. Perhaps we do it for Pan then since firefox is the default browser for
GNOME and we let Konqueror stay with Knode since it is the default for KDE. I
guess the issue boils down to whether or not firefox will ever be the default
browser for KDE. If so then we will run into many issues like this.
Comment 3 Robert O'Callahan 2005-08-25 20:15:47 UTC
Before we ever make Firefox the default for KDE, we'll have to provide at least
as much integration as we do with GNOME. In particular, we should provide an
external protocol handler that uses KDE's protocol database.
Comment 4 Wolfgang Rosenauer 2005-08-26 05:35:08 UTC
Joe, then we should add a news handler to gconf's desktop.gnome.url-handlers.
This should work with Firefox and would make it more transparent for now than
hardcoding or configure it in Firefox itself.
So reassigning to gnome-maintainers.
Comment 5 Wolfgang Rosenauer 2005-08-29 11:58:47 UTC
Can we get this changed for 10.0?
Comment 6 Stanislav Brabec 2005-09-07 10:38:38 UTC
I have a patch for gnome-vfs, which adds keys for news:// URL handler.

What sould be the default application? Core GNOME does not contain any.

It can be mozilla, pan or anything else.
Comment 7 Stanislav Brabec 2005-09-07 10:43:56 UTC
Pan cannot handle URL from command line, so only mozilla can do it.
Comment 8 Stanislav Brabec 2005-09-07 11:01:17 UTC
I have just tested it - news://something opens mozilla and asks for subscription
of list.

Appropriate gconf key is /desktop/gnome/url-handlers/news/command (editable by
gconftool-2 of gconf-editor). Feel free to change the default, if you have
better suggestion than mozilla.

Please note that mozilla was not included to RPM requires of gnome-vfs2 (the
same is valid for other default handlers, like gnomemeeting and gaim), but for
users of GNOME selection it is already installed.

Done. I will submit it for RC2 today.
Comment 9 Stanislav Brabec 2005-09-15 15:55:49 UTC
The same problem seems to be valid for ftp:// URL - e. g. in evolution. Fixing,
too with firefox as default.

Preferred applications editor needs to be enhanced, too, so reopening.
Comment 10 Stanislav Brabec 2006-01-30 18:39:01 UTC
Mon Jan 30 19:24:37 CET 2006 - sbrabec@suse.cz

- Implemented ftp:// and news:// to
  gnome-default-applications-properties (#113104).
Comment 11 Dan Winship 2006-10-17 18:14:36 UTC
gnome-default-applications-properties was redesigned for GNOME 2.16, and control-center-default-applications-ftp+news.patch needs to be rewritten if we still want to support this functionality. (The gnome-vfs patches still apply fine in 2.16, it's on the GUI for them that's broken.)
Comment 12 JP Rosevear 2007-02-09 21:02:23 UTC
I think this is part of a larger update for two things:
1) Protocol handling in .desktop files
2) Improvement to gnome capplets

For SLED 11.
Comment 13 Stanislav Brabec 2007-04-02 17:23:05 UTC
control-center-default-applications-ftp+news.patch ported to GNOME 2.18 in STABLE.

Minor fix still needed here:
FTP Client settings need "Open in new Window/Tab", too.
Or better: One value should be "Use default Web Browser" and others will not need it.
Comment 14 Stanislav Brabec 2007-04-05 15:59:47 UTC
"Use default web browser" Implemented.

Sent upstream: http://bugzilla.gnome.org/show_bug.cgi?id=426638