public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox/, app-emulation/virtualbox/files/
Date: Thu, 28 Aug 2025 17:53:30 +0000 (UTC)	[thread overview]
Message-ID: <1756403442.c30a0900c5d3be4d07c71c66e9580058df24f1a7.ceamac@gentoo> (raw)

commit:     c30a0900c5d3be4d07c71c66e9580058df24f1a7
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 28 17:21:56 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Aug 28 17:50:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c30a0900

app-emulation/virtualbox: fix freeze with recent versions of QT

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 .../files/virtualbox-7.2.0-fix-qt-freeze.patch     | 29 ++++++++++++++++++++++
 ...box-7.2.0.ebuild => virtualbox-7.2.0-r1.ebuild} |  2 ++
 2 files changed, 31 insertions(+)

diff --git a/app-emulation/virtualbox/files/virtualbox-7.2.0-fix-qt-freeze.patch b/app-emulation/virtualbox/files/virtualbox-7.2.0-fix-qt-freeze.patch
new file mode 100644
index 000000000000..52220491aad2
--- /dev/null
+++ b/app-emulation/virtualbox/files/virtualbox-7.2.0-fix-qt-freeze.patch
@@ -0,0 +1,29 @@
+https://github.com/VirtualBox/virtualbox/issues/70#issuecomment-3233251540
+
+Fix freeze with QT 6.9
+
+--- a/src/VBox/Frontends/VirtualBox/src/globals/UITranslationEventListener.cpp
++++ b/src/VBox/Frontends/VirtualBox/src/globals/UITranslationEventListener.cpp
+@@ -81,7 +81,8 @@
+            && pEvent->type() == QEvent::LanguageChange
+            && pObject == qApp)
+     {
+-        emit sigRetranslateUI();
++        /* Send translation signal asynchronously: */
++        QMetaObject::invokeMethod(this, "sltRetranslateUI", Qt::QueuedConnection);
+     }
+     /* Call to base-class: */
+     return QObject::eventFilter(pObject, pEvent);
+--- a/src/VBox/Frontends/VirtualBox/src/globals/UITranslationEventListener.h
++++ b/src/VBox/Frontends/VirtualBox/src/globals/UITranslationEventListener.h
+@@ -55,6 +55,10 @@
+ 
+     bool eventFilter(QObject *pObject, QEvent *pEvent) RT_OVERRIDE RT_FINAL;
+ 
++private slots:
++
++    void sltRetranslateUI() { emit sigRetranslateUI(); }
++
+ private:
+ 
+     UITranslationEventListener(QObject *pParent = 0);

diff --git a/app-emulation/virtualbox/virtualbox-7.2.0.ebuild b/app-emulation/virtualbox/virtualbox-7.2.0-r1.ebuild
similarity index 99%
rename from app-emulation/virtualbox/virtualbox-7.2.0.ebuild
rename to app-emulation/virtualbox/virtualbox-7.2.0-r1.ebuild
index ed7f9627c4ee..f75d69ba4e16 100644
--- a/app-emulation/virtualbox/virtualbox-7.2.0.ebuild
+++ b/app-emulation/virtualbox/virtualbox-7.2.0-r1.ebuild
@@ -200,6 +200,8 @@ REQUIRED_USE="
 PATCHES=(
 	# Downloaded patchset
 	"${WORKDIR}"/virtualbox-patches-${PATCHES_PV}/patches
+
+	"${FILESDIR}"/${P}-fix-qt-freeze.patch
 )
 
 pkg_pretend() {


             reply	other threads:[~2025-08-28 17:53 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-28 17:53 Viorel Munteanu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-12 15:54 [gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox/, app-emulation/virtualbox/files/ Viorel Munteanu
2025-09-12 15:54 Viorel Munteanu
2025-07-24  7:30 Viorel Munteanu
2025-07-24  6:43 Viorel Munteanu
2025-06-06  7:49 Viorel Munteanu
2024-10-18 17:16 Viorel Munteanu
2024-09-15 13:02 Viorel Munteanu
2024-09-15 13:02 Viorel Munteanu
2024-02-10 16:31 Viorel Munteanu
2024-02-10 16:31 Viorel Munteanu
2024-01-28 10:44 Viorel Munteanu
2023-08-28 10:08 Viorel Munteanu
2023-08-15 12:50 Viorel Munteanu
2023-08-15 12:50 Viorel Munteanu
2023-07-20  9:40 Viorel Munteanu
2023-06-02 18:27 Viorel Munteanu
2023-05-15 14:35 Viorel Munteanu
2023-04-21 16:38 Viorel Munteanu
2023-02-21 15:06 Viorel Munteanu
2023-02-03 14:35 Viorel Munteanu
2022-11-20  8:20 Viorel Munteanu
2022-11-02  6:41 Viorel Munteanu
2022-09-05 12:39 Joonas Niilola
2022-08-18 18:43 Sam James
2022-07-06  6:05 Sam James
2021-04-22 16:55 Lars Wendler
2020-06-03  0:10 Andreas Sturmlechner
2020-06-02 21:52 Andreas Sturmlechner
2019-01-16 12:02 Lars Wendler
2018-12-07 21:42 Lars Wendler
2018-11-17 11:55 Lars Wendler
2018-02-19 14:16 Lars Wendler
2018-02-16 14:56 Lars Wendler
2017-07-26 19:21 Richard Farina
2017-05-11 12:07 Lars Wendler
2017-02-21 22:05 Magnus Granberg
2016-03-11 17:31 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1756403442.c30a0900c5d3be4d07c71c66e9580058df24f1a7.ceamac@gentoo \
    --to=ceamac@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox