After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 71632 - no way to set simple, basic defaults like browser without going through mime-types
no way to set simple, basic defaults like browser without going through mime-...
Status: RESOLVED DUPLICATE of bug 78037
Product: gnome-control-center
Classification: Core
Component: [obsolete] File types and programs
1.99
Other other
: Urgent major
: GNOME2.0
Assigned To: jacob berkman
Control-Center Maintainers
: 75410 76621 76749 78775 (view as bug list)
Depends on: 78037
Blocks: 76749
 
 
Reported: 2002-02-15 21:04 UTC by jacob berkman
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fixes and cleans up the code (6.52 KB, patch)
2002-03-07 22:37 UTC, Mikael Hallendal
none Details | Review

Description jacob berkman 2002-02-15 21:04:30 UTC
i dingus clicked on a terminal, and it ran mozilla.

then, in gconf-editor i changed the url handler to galeon and dingus
clicked again.  it still spawned mozilla.

i opened a new terminal, and dingus clicked and it launched galeon.

then i dingus clicked in the first, and it still launched mozilla.
Comment 1 Havoc Pennington 2002-02-15 23:57:30 UTC
I just call gnome_url_show(), so Not My Fault (tm) ;-)
Comment 2 Luis Villa 2002-03-01 21:32:49 UTC
Seems like a fairly major problem to me. Jacob, are you still
reproducing this one?
Comment 3 jacob berkman 2002-03-02 06:31:06 UTC
yes.
Comment 4 Mikael Hallendal 2002-03-07 22:37:39 UTC
Created attachment 7040 [details] [review]
fixes and cleans up the code
Comment 5 Mikael Hallendal 2002-03-07 22:42:47 UTC
can I commit this?
Comment 6 Luis Villa 2002-03-14 18:31:58 UTC
Micke: who was that last question directed at? Andersca?
Comment 7 Mikael Hallendal 2002-03-14 22:17:36 UTC
not sure really :) Andersca told me it was OK with him if noone else
objected so I thought I'd ask if someone did :)
Doesn't look like anyone is though so I think it might be OK to commit.
Comment 8 jacob berkman 2002-03-14 23:46:05 UTC
asking here is the wrong place as there are only 3-5 people looking at it.

you should ask on desktop-devel-list@gnome.org
Comment 9 Mikael Hallendal 2002-03-19 11:46:42 UTC
commited to CVS
Comment 10 Luis Villa 2002-03-28 22:29:44 UTC
Reopening and retitling since AFAICT all the relevant parties are
already cc'd here.

AFAICS, there are two keys:  desktop/gnome/applications/browser/exec
and desktop/gnome/url-handlers/default-show. The second one is used by
gnome_url_show, but I can't find any way to set it, outside of
gconf-editor. The first is set in the obvious place- the preferred
applications entry in control-center.

So, as far as I can tell:
1) there is no way to set the default URL handler.
2) There is an obvious way to set the default URL handler that is
completely ignored.

This is absolutely broken.

My proposed solution: the default URL and help handlers should be set
by the default applications capplet.

Alternative solutions:
*someone points me to the capplet that is supposed to set these and
explains why it should be separate from the default applications capplet.
*we remove /desktop/gnome/url-handlers/* completely and point all
calls that use them at the relevant entries in
/desktop/gnome/applications/* This seems like the most elegant
longterm solution but I have no idea how many different locations
would need to be changed for this to occur.

I'm saying that this is only proposed because I've probably missed out
on some basic agreement about how this was supposed to be done.

Anyway, though... this is a pretty absolute big-deal showstopper; we
can't ship if we can't set the default applications.
Comment 11 Luis Villa 2002-04-02 14:36:05 UTC
Jacob:
Can you look at this patch:

http://lists.gnome.org/archives/desktop-devel-list/2002-January/msg00628.html

and the comments here:

http://lists.gnome.org/archives/desktop-devel-list/2002-March/msg00846.html

and attach a version of it that Just Works to this bug? 
Comment 12 jacob berkman 2002-04-02 22:52:31 UTC
ok lauris committed the relevant bits to CVS the other day:

2002-03-29  Lauris Kaplinski  <lauris@ximian.com>

	* schemas/gnome_url_handler.schemas: Updated schema, originally
	by Bradford Hovinen.

	* libgnome/gnome-url.c (gnome_url_show): Update key name to match
	schema
	(gnome_url_default_handler): Update key names to match schemas
Comment 13 prabhut 2002-04-08 13:44:32 UTC
I dont know what is gconf-editor?. What is the equivalent for this in
gnome2.0.
Comment 14 jacob berkman 2002-04-08 17:16:42 UTC
gconf-editor is a gnome 2 tool.  there's no gnome 1 version (although
it works with gconf 1.0.x).
Comment 15 Anders Carlsson 2002-04-08 22:33:06 UTC
Hmm, we still have the issue here that the web browser preferences
specified in the default applications aren't used anyway and that (at
least this is what I'm told) you have to use the file-types-properties
program to change url handlers. So in this case we may need to:

* Remove the desktop_applications_browser schema from libgnome

* Remove the web browser tab from the default applications handler.

(I'm reopening this bug since there are a lot of dups, and we don't
really have a good fix yet.)
Comment 16 Anders Carlsson 2002-04-08 22:35:14 UTC
*** Bug 75410 has been marked as a duplicate of this bug. ***
Comment 17 Anders Carlsson 2002-04-08 22:35:33 UTC
*** Bug 76749 has been marked as a duplicate of this bug. ***
Comment 18 jacob berkman 2002-04-08 22:35:59 UTC
so libgnome uses the stuff from the file types and programs, and i
removed the default applications the other day - however this isn't
the right fix i later realized - removing the browser tab is probably ok.
Comment 19 Anders Carlsson 2002-04-08 22:47:44 UTC
*** Bug 76621 has been marked as a duplicate of this bug. ***
Comment 20 Luis Villa 2002-04-12 20:30:26 UTC
Shouldn't there be some simpler way to access the simple default stuff
like 'web browser'? The file types thing is completely unintuitive-
what do I set if I just 'want to set my default web browser'? I'm a
'power user' and I couldn't figure it out. It seems like there ought
to be a simple, straightforward way to set up the basics like text
editor and web browser without having to fight that horrid thing.
Comment 21 Anders Carlsson 2002-04-13 08:28:28 UTC
Yes, I agree. However, in that case it's not a libgnome bug anymore,
it should probably be assigned to gnome-control-center.
Comment 22 Luis Villa 2002-04-14 21:13:29 UTC
True, true; I was just continuing it here because jacob was still on
the list :) I'll reassign.
Comment 23 Luis Villa 2002-04-14 21:14:22 UTC
Doh.
Comment 24 jacob berkman 2002-04-16 16:17:18 UTC
*** Bug 78775 has been marked as a duplicate of this bug. ***
Comment 25 Rodd Clarkson 2002-05-15 05:00:39 UTC
louie: I needed to be root (thanks hadess)

This is the output after typing run:

(gdb) run
Starting program: /usr/bin/mahjongg 
[New Thread 1024 (LWP 8518)]

(mahjongg:8518): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols
specified are supported and host-based authentication failed.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 8518)]
pango_color_parse (color=0xbffff5f0, spec=0x0) at pango-color.c:937
937
pango-color.c: No such file or directory.
	in pango-color.c


and after typing 'bt thread apply all':


No symbol "thread" in current context.
Comment 26 Rodd Clarkson 2002-05-15 05:03:43 UTC
ignore that last post, it was for another bug.  shit!
Comment 27 jacob berkman 2002-05-16 19:46:34 UTC
i've got patches for this
Comment 28 jacob berkman 2002-05-16 19:59:38 UTC
at this point this is really a dup of the other one.

the only reason to leave it around is to get more bug closing points
when my patch goes in.

*** This bug has been marked as a duplicate of 78037 ***