[Bug 905139] Re: Opening an URL launches the default browser at address "%u"

2012-07-31 Thread Olivier Tilloy
An additional note on the topic: after inspecting my gconf settings, a number of commands associated to some protocols under /desktop/gnome /url-handlers/ had a "%u" instead of "%s" in their value, which leads me to think that some program corrupted the values as opposed to manual tinkering. -- Y

[Bug 905139] Re: Opening an URL launches the default browser at address "%u"

2012-07-31 Thread Olivier Tilloy
Interestingly, the default value for this key is defined in /usr/share/gconf/defaults/10_libgnomevfs2-common, and its default value is "sensible-browser %s". It might be that my configuration got messed up with at some point. Marking invalid as this is not an issue with a given package or implement

[Bug 905139] Re: Opening an URL launches the default browser at address "%u"

2012-07-31 Thread Olivier Tilloy
I dug further into the code of gnome-vfs, and it turns out that it inspects the value of the GConf key /desktop/gnome/url- handlers/http/command when required to open a URL. The code replaces all occurrences of "%s" with the URL passed as a parameter. On my desktop, the default value for this key i

[Bug 905139] Re: Opening an URL launches the default browser at address "%u"

2012-07-31 Thread Olivier Tilloy
gnome_url_show(...) calls gnome_vfs_url_show(...) under the hood. The issue is present there, as demonstrated by the following piece of C code: // compile with: gcc test.c `pkg-config --cflags --libs gnome- vfs-2.0` #include int main(int argc, char **argv) { g_type_init(

[Bug 905139] Re: Opening an URL launches the default browser at address "%u"

2012-07-31 Thread Olivier Tilloy
Re-targetting to the gnome-vfs source package. ** Package changed: libgnomeui (Ubuntu) => gnome-vfs (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/905139 Title: Opening an URL launches the

[Bug 905139] Re: Opening an URL launches the default browser at address "%u"

2012-07-31 Thread Olivier Tilloy
Under the covers, gnome.ui.HRef calls gnome_url_show_with_env(...) to open a URL. The following piece of C code demonstrates that the issue seems to be in the implementation of gnome_url_show(...): // compile with: gcc test.c `pkg-config --cflags --libs libgnome-2.0` #include int ma

[Bug 905139] Re: Opening an URL launches the default browser at address "%u"

2012-07-31 Thread Olivier Tilloy
Re-targetting to the libgnomeui source package. ** Package changed: revelation (Ubuntu) => libgnomeui (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/905139 Title: Opening an URL launches th

[Bug 905139] Re: Opening an URL launches the default browser at address "%u"

2012-07-31 Thread Olivier Tilloy
I dug further, and the issue also appears in the C implementation, the issue is not in the Python wrapper itself. The following piece of C code demonstrates it: // compile with: gcc `pkg-config --cflags --libs gtk+-2.0 libgnomeui-2.0` test.c #include #include int main(int argc,

[Bug 905139] Re: Opening an URL launches the default browser at address "%u"

2012-07-31 Thread Olivier Tilloy
This bug is still there in 12.04. Marking confirmed as I can consistently reproduce. ** Changed in: revelation (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/90

[Bug 905139] Re: Opening an URL launches the default browser at address "%u"

2012-07-31 Thread Olivier Tilloy
I did a bit of investigation, and it appears that revelation uses a gnome.ui.HRef (http://developer.gnome.org/libgnomeui/stable/GnomeHRef.html) to display URLs. It appears that this widget itself is broken, not the way revelation uses it. The following piece of Python code demonstrates the issue:

[Bug 905139] Re: Opening an URL launches the default browser at address "%u"

2011-12-16 Thread Olivier Tilloy
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/905139 Title: Opening an URL launches the default browser at address "%u" To manage notifications about this bug go to: https://bugs.launchpad.net/ubunt