VirtualBox

Ticket #4559 (closed defect: fixed)

Opened 1 year ago

Last modified 8 months ago

Failed to open VirtualBox Web Site from help-menu (XP host only)

Reported by: oceanic Assigned to:
Priority: trivial Component: GUI
Version: VirtualBox 3.0.10 Keywords:
Cc: Guest type: other
Host type: Windows

Description

I take the menu-entry "VirtualBox Web Site" in the help-menu. Then I see message:

"Failed to open http://www.virtualbox.org. Make sure your desktop environment can properly handle URLs of this type."

My OS: Windows XP SP3. Default browser: Mozilla Firefox 3.5.1

Attachments

2009-07-17_161118.png (5.3 kB) - added by oceanic on 2009-07-17 14:24:50.

Change History

2009-07-17 14:24:50 changed by oceanic

  • attachment 2009-07-17_161118.png added.

2009-08-19 00:02:33 changed by bughunter2

This might have to do with the COM state of the thread.

I've made a little example in C in which ShellExecute?() (which is the Win32 function used by Qt to open an URL) also fails:

#include <windows.h>
#include <objbase.h>

int main() {
#if 1
    CoInitializeEx(NULL, COINIT_DISABLE_OLE1DDE);                            /* ShellExecute() below should fail. */
#else
    CoInitializeEx(NULL, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE); /* ShellExecute() below should succeed. */
#endif

    ShellExecute(0, 0, "http://www.virtualbox.org", 0, 0, 1);

    CoUninitialize();
    return 0;
}

2009-10-08 10:29:14 changed by Mark22

Also see bug #5134, which looks related. My OS: XP Pro SP3, Firefox 3.5.3

2009-11-15 23:17:12 changed by Fenix*NBK*

hmmm... Works fine here.

Host: Windows Vista, 32-bit, VBox 3.0.10, FFox 3.5.

Is this related to XP SP3 host OS ?

-Technologov

2009-11-15 23:18:05 changed by bughunter2

Yes, it works in both Vista and 7.

2009-11-16 10:01:48 changed by sandervl73

  • status changed from new to closed.
  • resolution set to fixed.

2009-11-16 10:05:32 changed by Mark22

Which version of VirtualBox contains the fix? It still does not work on XP.

2009-11-16 10:13:57 changed by Fenix*NBK*

  • status changed from closed to reopened.
  • resolution deleted.

Well, this problem is reproduced on XP SP2 Host with VBox 3.1.0-BETA1 + FFox 3.5.5. So not fixed.

2009-11-16 12:46:31 changed by bughunter2

If the intention is to support Windows XP, then this bug is indeed not fixed.

2009-11-16 14:06:57 changed by Mark22

According to the virtualbox homepage XP is supported along with NT 4.0, 2000, Server 2003, Vista, and Windows. I know it's a minor bug but it's /very/ obvious. VirtualBox frequently nags the user to upgrade and none of the links /ever/ work.

2009-11-16 14:09:30 changed by bughunter2

You have looked at the supported guests. Windows 2000 is not supported as a host. This bug is related to the host platform.

2009-11-16 14:28:12 changed by Mark22

The latest documentation (3.0.10) does say that XP (all service packs) is supported as a host OS.

2009-11-16 14:31:32 changed by bughunter2

I know that; that's why I posted 'If the intention is to support Windows XP, then this bug is indeed not fixed.', to be sure the developers (perhaps in this case sandervl73) would re-evaluate if this bug was not closed accidentally.

2009-11-16 14:37:08 changed by frank

  • version changed from VirtualBox 3.0.2 to VirtualBox 3.0.10.
  • summary changed from Failed to open VirtualBox Web Site from help-menu to Failed to open VirtualBox Web Site from help-menu (XP host only).

No need to debate further, this is clearly a bug and we will try to fix it but the fix is not straight-forward, otherwise we had already done it.

2009-11-16 14:45:06 changed by bughunter2

Agreed. Perhaps a workaround would be to spawn a new thread, initialize COM there, and then call QDesktopServices::openUrl()? Although perhaps that's hacky; I guess it should be fixed in Qt itself.

2009-11-30 13:21:01 changed by Fenix*NBK*

Tested on XP SP2 host. It works with both IE8 and FFox 3.5 browsers.

Vbox 3.1.0

Fix verified.

-Technologov

2009-11-30 14:07:42 changed by frank

  • status changed from reopened to closed.
  • resolution set to fixed.


ContactPrivacy policy