VirtualBox

Ticket #4559 (closed defect: fixed)

Opened 14 years ago

Last modified 13 years ago

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

Reported by: oceanic Owned by:
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 Download (5.3 KB) - added by oceanic 14 years ago.

Change History

Changed 14 years ago by oceanic

comment:1 Changed 14 years ago 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;
}

comment:2 Changed 13 years ago by Mark22

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

comment:3 Changed 13 years ago by Technologov

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

comment:4 Changed 13 years ago by bughunter2

Yes, it works in both Vista and 7.

comment:5 Changed 13 years ago by sandervl73

  • Status changed from new to closed
  • Resolution set to fixed

comment:6 Changed 13 years ago by Mark22

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

comment:7 Changed 13 years ago by Technologov

  • Status changed from closed to reopened
  • Resolution fixed deleted

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

comment:8 Changed 13 years ago by bughunter2

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

comment:9 Changed 13 years ago 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.

comment:10 Changed 13 years ago 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.

comment:11 Changed 13 years ago by Mark22

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

comment:12 Changed 13 years ago 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.

comment:13 Changed 13 years ago 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.

comment:14 Changed 13 years ago 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.

comment:15 Changed 13 years ago by Technologov

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

Vbox 3.1.0

Fix verified.

-Technologov

comment:16 Changed 13 years ago by frank

  • Status changed from reopened to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use