VirtualBox

Opened 15 years ago

Closed 15 years ago

#4559 closed defect (fixed)

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 (1)

2009-07-17_161118.png (5.3 KB ) - added by oceanic 15 years ago.

Download all attachments as: .zip

Change History (17)

by oceanic, 15 years ago

Attachment: 2009-07-17_161118.png added

comment:1 by Jelle Geerts, 15 years ago

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 by Mark22, 15 years ago

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

comment:3 by Technologov, 15 years ago

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 by Jelle Geerts, 15 years ago

Yes, it works in both Vista and 7.

comment:5 by Sander van Leeuwen, 15 years ago

Resolution: fixed
Status: newclosed

comment:6 by Mark22, 15 years ago

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

comment:7 by Technologov, 15 years ago

Resolution: fixed
Status: closedreopened

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

comment:8 by Jelle Geerts, 15 years ago

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

comment:9 by Mark22, 15 years ago

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 by Jelle Geerts, 15 years ago

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 by Mark22, 15 years ago

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

comment:12 by Jelle Geerts, 15 years ago

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 by Frank Mehnert, 15 years ago

Summary: Failed to open VirtualBox Web Site from help-menuFailed to open VirtualBox Web Site from help-menu (XP host only)
Version: VirtualBox 3.0.2VirtualBox 3.0.10

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 by Jelle Geerts, 15 years ago

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 by Technologov, 15 years ago

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

Vbox 3.1.0

Fix verified.

-Technologov

comment:16 by Frank Mehnert, 15 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette