https://bugs.kde.org/show_bug.cgi?id=488653

--- Comment #24 from Kai <kn5i02...@mozmail.com> ---
(In reply to Fabian Vogt from comment #23)
> If anyone is able to reprouce this reliably, please try
> plasma-browser-integration-host with this line removed:

Your patch seems to have solved the problem for me.

Builded with https://aur.archlinux.org/plasma-browser-integration-git.git and
the following modifications:

diff --git a/PKGBUILD b/PKGBUILD
index fb7e900..c37db3c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,14 +3,14 @@
 # Contributor: Antonio Rojas <aro...@archlinux.org>

 pkgname=plasma-browser-integration-git
 pkgver=6.0.80_r1569.g57b9b6a3
 pkgrel=1
 pkgdesc='Components necessary to integrate browsers into the Plasma Desktop'
 arch=($CARCH)
 url='https://www.kde.org/plasma-desktop'
 license=(GPL-2.0-or-later)
-depends=(gcc-libs glibc plasma-activities-git kconfig-git kcoreaddons-git
kcrash-git kdbusaddons-git kfilemetadata-git ki18n-git kio-git kjobwidgets-git
kservice-git kstatusnotifieritem-git plasma-workspace-git purpose-git qt6-base)
-makedepends=(git extra-cmake-modules-git)
+depends=(gcc-libs glibc plasma-activities kconfig kcoreaddons kcrash
kdbusaddons kfilemetadata ki18n kio kjobwidgets kservice kstatusnotifieritem
plasma-workspace purpose qt6-base)
+makedepends=(git extra-cmake-modules)
 conflicts=(${pkgname%-git})
 provides=(${pkgname%-git})
 groups=(plasma-git)
@@ -27,6 +27,20 @@ build() {
   cmake -B build -S ${pkgname%-git} \
     -DQT_MAJOR_VERSION=6 \
     -DINSTALL_CHROME_MANIFEST=ON
+
+  patch -d $srcdir/${pkgname%-git} -p1 <<EOF
+--- a/host/settings.cpp
++++ b/host/settings.cpp
+@@ -238,7 +238,6 @@ bool Settings::setEnvironmentFromTasksModelIndex(const
QModelIndex &idx)
+     qApp->setWindowIcon(QIcon::fromTheme(service->icon()));
+ 
+     m_tasksModel->disconnect(this); // prevent further signal emission to not
deref a nullptr https://bugs.kde.org/show_bug.cgi?id=435811
+-    m_tasksModel->deleteLater();
+     m_tasksModel = nullptr;
+ 
+     return true;
+EOF
+
   cmake --build build
 }


plasma-browser-integration: 6.1.80_r1606.g51427d9a-1
Firefox: 128.0.3-1
Operating System: Arch Linux 
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to