From nobody Sun Oct 02 23:31:45 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MggGV3LxVz4dr78 for ; Sun, 2 Oct 2022 23:31:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MggGV0jW2z3rnk for ; Sun, 2 Oct 2022 23:31:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MggGT6wK0z11rc for ; Sun, 2 Oct 2022 23:31:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 292NVj1I022069 for ; Sun, 2 Oct 2022 23:31:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 292NVjsh022068 for ports-bugs@FreeBSD.org; Sun, 2 Oct 2022 23:31:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266778] emulators/virtualbox-ose VM VirtualBox Manager: Help menu: unable to open external browser Date: Sun, 02 Oct 2022 23:31:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: martin@bxlr.sk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vbox@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664753506; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2rksKJtel7sRuaUr5ObPEUNR/R19fUOeId2ZfwJJ2/M=; b=bSZyjX4gnuXly50voD2oKl8vK3vSTR9yWM41mthmqgMMTWa9u2+TpTaWC5ek9S1dtmsqCp n9b9fyfB9NBZ4VxixRtcp2ujTF/Ewg/YXvZeTjydxQuE89pyrhB8i82OlIZoAyANIZnht3 JKTsBsG7hBgrOUEj9NE4/J/uq+BKvYPP7qMHg06BkKcS/Xew66hIRcOiu9UnydAAIwhD21 egPSR9k1Q650/gjZK3JTcfYMePU3J/JZYYNeyYp2A6rNii1dUiNHWvvTMw7XwvQPUWY04G Um1NLXelbsyKLE0SBUwL92ErNW5rM9Z/LJQ18HFUNwqqUhf4PAVMhrzuO1vbwA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664753506; a=rsa-sha256; cv=none; b=BIlme00/Av3C3uEXyyQhzaW8OmUPausjtPQT5zjGxdA2nYHDzFdytySXyNwKXp9Ihv8l/C bXnORjM8C4B6KFw8lYIECwMwkl8uuC1BdxdyiPBVY6eLamz6jAim4gEeJ19qb9H68m8Jdm UQU+SdLcUk+757vluqLp2slQ0OGzfvVZWIfDIo1N3zUDosgDmY1oScJrv1SywJ6w0nac0w lixCIF2ubS6e8eGCbuNbSHrQRn3+wONT36axgG1hNv91wjCF1K1bMn+bLow2KvjKt/qPlW Q2K+LOWvjzdrr1RxydOyQKk9H3jPfMiYE3xqyrXUbStl5d8978/y8GXG+VfYnw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266778 Bug ID: 266778 Summary: emulators/virtualbox-ose VM VirtualBox Manager: Help menu: unable to open external browser Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: vbox@FreeBSD.org Reporter: martin@bxlr.sk Flags: maintainer-feedback?(vbox@FreeBSD.org) Assignee: vbox@FreeBSD.org Created attachment 237030 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237030&action= =3Dedit patch to fix PATH In VirtualBox Manager, QT based GUI, there's a menu Help that has several h= elp items. E.g. "VirtualBox Forums" which should navigate user to a proper webp= age. Under FreeBSD user is presented with error dialogue blaming desktop environ= ment (DE). Error occurs even if DE is fully capable of doing so (opening browser,etc.). Short description of the problem: /usr/local/bin/virtualbox shell wrapper is setting PATH variable to a very generic one excluding /usr/local/bin. Due to this browsers outside this PATH are not found. Handling URL is done by QT's QDesktopServices API. During the resolving=20 detectWebBrowser() is called: https://codebrowser.dev/qt5/qtbase/src/platformsupport/services/genericunix= /qgenericunixservices.cpp.html#_ZL16detectWebBrowserRK10QByteArraybP7QString which calls findExecutable() https://codebrowser.dev/qt5/qtbase/src/corelib/io/qstandardpaths.cpp.html#_= ZN14QStandardPaths14findExecutableERK7QStringRK11QStringList Here qgetenv("PATH") is called which is used as PATH to search executables. It makes sense to expand the PATH to include FreeBSD's standard /usr/local/= bin as that's native path for ports programs.=20 I've added the patch towards the virtualbox-ose-6.1.36. --=20 You are receiving this mail because: You are the assignee for the bug.=