GNOME Bugzilla – Bug 623605
[Win32] Web links in help menu don't work
Last modified: 2010-07-09 01:24:45 UTC
The "Visit the Gnumeric website" link in the About box doesn't work. It returns "Could not show link. HEAD request failed: WinHttp error: CANNOT_CONNECT" The Help menu options "Gnumeric on the Web" and "Report a Problem" return the same error (these two used to work in version 1.9.x) The Help menu option "Live Assistance" returns "Error stating file 'C:\Program Files\Gnumeric\1.10.7\bin\irc:\irc.gnome.org\gnumeric': No such file or directory" The link should be irc://irc.gnome.org:6666/gnumeric with slashes instead of backslashes and with the port number
In gnumeric we have: show_url (wbcg, "irc://irc.gnome.org/gnumeric"); which effectively is: go_gtk_url_show (url, screen); with url being "irc://irc.gnome.org/gnumeric" What go_gtk_url_show does depends on HAVE_GTK_SHOW_URI. Assuming a recent version of GTK that is simply gtk_show_uri (screen, url, GDK_CURRENT_TIME, &error); which makes this a gtk bug.
Ok. What about the Http errors? These used to work in version 1.9.x (except for the link in the About box that never worked)
The http requests go through the same go_gtk_url_show...gtk_show_uri... chain. So I wouldn't be surprised if that is the same error. This "HEAD request" is strange though. I don't have MSWindows and it works fine under Linux so I can't debug this.
As I have said several times, if you post a debug build I can send you the log file. I do this for a project where I am the main beta tester...
Yes you have said that often, but I have no idea how to build a debug build for MSWindows.
Some of Jody's Windows binaries were named debug (although I never found any log files). Maybe he can help you?
The "debug" in Jody's build related to debug information for a debugger. I could create such a beast, but without a skilled gdb operator, I don't see what good it would do.
Bug 622125 is possibly relevant.
@Morten: Assuming this is your windows build, are you including gvfs? (THat's teh issue in bug # 622125.) re the debug build, I think Pedro envisions a build that has bee speckled with commands to write info to a log file. The only thing here which would be interesting to know is what the arguments are that go_gtk_url_show and gtk_show_uri are called with and what there return values really are.
I'll throw a debugger and/or a bunch of print statements at the problem later.
The relevant glib/gio apis just aren't implemented for win32. http://git.gnome.org/browse/glib/tree/gio/gwin32appinfo.c#n618 It isn't my job to debug glib/gio so I'll just hack around it.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.