Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package kf6-syntax-highlighting for
openSUSE:Factory checked in at 2026-07-21 22:53:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kf6-syntax-highlighting (Old)
and /work/SRC/openSUSE:Factory/.kf6-syntax-highlighting.new.24530 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kf6-syntax-highlighting"
Tue Jul 21 22:53:31 2026 rev:30 rq:1366593 version:6.28.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/kf6-syntax-highlighting/kf6-syntax-highlighting.changes
2026-07-15 16:43:40.018691363 +0200
+++
/work/SRC/openSUSE:Factory/.kf6-syntax-highlighting.new.24530/kf6-syntax-highlighting.changes
2026-07-21 22:53:33.823695930 +0200
@@ -1,0 +2,6 @@
+Sun Jul 19 12:14:04 UTC 2026 - Christophe Marin <[email protected]>
+
+- Add upstream fix:
+ * 0001-Fix-listening-for-language-changes-just-react-on-the.patch
+
+-------------------------------------------------------------------
New:
----
0001-Fix-listening-for-language-changes-just-react-on-the.patch
----------(New B)----------
New:- Add upstream fix:
* 0001-Fix-listening-for-language-changes-just-react-on-the.patch
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kf6-syntax-highlighting.spec ++++++
--- /var/tmp/diff_new_pack.EAaASJ/_old 2026-07-21 22:53:34.755727669 +0200
+++ /var/tmp/diff_new_pack.EAaASJ/_new 2026-07-21 22:53:34.759727805 +0200
@@ -33,6 +33,8 @@
Source1: %{rname}-%{version}.tar.xz.sig
Source2: frameworks.keyring
%endif
+# PATCH-FIX-UPSTREAM
+Patch0: 0001-Fix-listening-for-language-changes-just-react-on-the.patch
BuildRequires: fdupes
BuildRequires: kf6-extra-cmake-modules >= %{_kf6_version}
BuildRequires: pkgconfig
++++++ 0001-Fix-listening-for-language-changes-just-react-on-the.patch ++++++
>From 9ba269803e1baa918b8f0487433c91ea6400894f Mon Sep 17 00:00:00 2001
From: "Friedrich W. H. Kossebau" <[email protected]>
Date: Sat, 18 Jul 2026 19:49:45 +0200
Subject: [PATCH] Fix listening for language changes, just react on the app
instance event
QCoreApplication processes also the events for all objects, thus including
widgets. So the event filter would also see all the LanguageChange event
notification for each of the widgets when the event itself is passed from
the toplevel widgets to all the child widgets.
---
src/lib/repository.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/repository.cpp b/src/lib/repository.cpp
index 4af8c713..6d2c127c 100644
--- a/src/lib/repository.cpp
+++ b/src/lib/repository.cpp
@@ -441,7 +441,7 @@ QList<QString> Repository::customSearchPaths() const
bool Repository::eventFilter(QObject *receiver, QEvent *ev)
{
- if (ev->type() == QEvent::LanguageChange) {
+ if ((ev->type() == QEvent::LanguageChange) && (receiver ==
QCoreApplication::instance())) {
// definition references remain valid, but sort order by translated
name will change
// so better be on the safe side here
Q_EMIT aboutToReload();
--
2.55.0