Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64023 - gnome-default-applications-properties destroys default web browser
Summary: gnome-default-applications-properties destroys default web browser
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: Low minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-14 09:57 UTC by Evert
Modified: 2005-07-20 01:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evert 2004-09-14 09:57:54 UTC
I had my default browser configured to run mozilla. Now, just running gnome-default-applications-properties destroys the default web browser. When doing "right-mouse-button -> Open Link" on a URL in a gnome-terminal, I get a Error window: Could not open the address "http://some.address.net": There was an error launching the default action command associated with this location.
After investigation, I see the stringvalue in .gconf/desktop/gnome/url-handlers/http/%gconf.xml is set to "mozilla-1.6 %s" which should be "mozilla %s".
Running gnome-default-applications-properties again and selecting a custom browser "mozilla %s" makes it working again. However, after running gnome-default-applications-properties again it destroys my custom setting again!

I already re-emerged gnome-base/control-center-2.6.1 but that doesn't fix the problem...


Reproducible: Always
Steps to Reproduce:
1. Applications -> Desktop Preferences -> Advanced -> Preferred Applications
2. Close

Actual Results:  
1. When doing "right-mouse-button -> Open Link" on a URL in a gnome-terminal, I
get a Error window: Could not open the address "http://.....": There was an
error launching the default action command associated with this location.
2. The stringvalue in .gconf/desktop/gnome/url-handlers/http/%gconf.xml is set
to "mozilla-1.6 %s"


Expected Results:  
It should have left my default web browser alone like it was before running the
application


Gentoo Base System version 1.4.16
Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8.1)
=================================================================
System uname: 2.6.8.1 i686 AMD Athlon(tm) XP 2600+
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CXXFLAGS="-O2 -march=athlon-xp -pipe"
FEATURES="autoaddcvs buildpkg sandbox"
MAKEOPTS="-j2"
USE="X apm arts avi berkdb bitmap-fonts cdr crypt cups directfb encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg ldap libg++ libwww mad
mikmod mmx motif mozilla mpeg mysql ncurses oggvorbis opengl oss pam pdflib perl
png python qt quicktime readline ruby sdl slang sse ssl svga tcpd tiff truetype
x86 xml2 xmms xprint xv zlib"
Comment 1 foser (RETIRED) gentoo-dev 2004-09-15 03:10:00 UTC
works here, but i have the 2.8 cc . Can anyone with the 2.6 cc confirm ?
Comment 2 Evert 2004-09-15 04:01:39 UTC
I just tested this on an alpha and it's the same there! Epiphany was there and when selecting Mozilla/Netscape 6, it shows at Command: mozilla-1.6 %s. I don't know where this mozilla-1.6 comes from, but it's here on x86 as well as on alpha!
Comment 3 Evert 2004-09-15 04:33:50 UTC
And it seems to be hardcoded in the source. I just unpacked control-center-2.6.1.tar.bz2 and did a search on mozilla-1.6 in it:

# find control-center-2.6.1/ -type f -print0 |xargs -0 grep mozilla-1.6
control-center-2.6.1/capplets/default-applications/gnome-default-applications-properties-structs.c:        { N_("Mozilla/Netscape 6"),  "mozilla-1.6",  "mozilla-1.6 %s",    FALSE, FALSE },
Comment 4 foser (RETIRED) gentoo-dev 2004-09-15 04:55:41 UTC
well, thats not what i meant. If it resets all settings on restart, thats a problem.
Comment 5 Evert 2004-09-15 11:41:47 UTC
absolutely!
Comment 6 John N. Laliberte (RETIRED) gentoo-dev 2005-07-03 08:05:04 UTC
reporter: are you still experiencing this with the new version of control-center?
Comment 7 John N. Laliberte (RETIRED) gentoo-dev 2005-07-15 17:33:13 UTC
no response from reporter, needinfo.
Comment 8 Evert 2005-07-20 01:37:47 UTC
Sorry, when I was checking I bumped on something else what made me "forget" to
check until now...

The step to reproduce now changed to:

Desktop -> Preferences Preferred Applications

So I tried switching between epiphany and mozilla and it seems to work fine
here, so there...

Greetz!