Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package plasma6-browser-integration for 
openSUSE:Factory checked in at 2025-08-08 15:11:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plasma6-browser-integration (Old)
 and      /work/SRC/openSUSE:Factory/.plasma6-browser-integration.new.1085 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "plasma6-browser-integration"

Fri Aug  8 15:11:23 2025 rev:28 rq:1298318 version:6.4.4

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/plasma6-browser-integration/plasma6-browser-integration.changes
  2025-07-18 15:57:40.452325310 +0200
+++ 
/work/SRC/openSUSE:Factory/.plasma6-browser-integration.new.1085/plasma6-browser-integration.changes
        2025-08-08 15:12:11.412961318 +0200
@@ -1,0 +2,13 @@
+Wed Aug  6 13:30:42 UTC 2025 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Update to 6.4.4:
+  * New bugfix release
+  * For more details see https://kde.org/announcements/plasma/6/6.4.4
+- Changes since 6.4.3:
+  * Update version for new release 6.4.4
+  * mpris: Make artwork sizes algorithm more spec-compliant
+  * KRunnerPlugins: Limit icon size to reduce DBus traffic
+  * purpose: Also hide purpose menu on focus loss
+  * Purpose: Make AlternativesMenu a regular window (kde#507368)
+
+-------------------------------------------------------------------

Old:
----
  plasma-browser-integration-6.4.3.tar.xz
  plasma-browser-integration-6.4.3.tar.xz.sig

New:
----
  plasma-browser-integration-6.4.4.tar.xz
  plasma-browser-integration-6.4.4.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ plasma6-browser-integration.spec ++++++
--- /var/tmp/diff_new_pack.g70ImM/_old  2025-08-08 15:12:12.196994152 +0200
+++ /var/tmp/diff_new_pack.g70ImM/_new  2025-08-08 15:12:12.196994152 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package plasma6-browser-integration
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,7 +29,7 @@
 # Latest ABI-stable Plasma (e.g. 6.0 in KF6, but 6.0.80 in KUF)
 %{!?_plasma6_version: %define _plasma6_version %(echo %{_plasma6_bugfix} | awk 
-F. '{print $1"."$2}')}
 Name:           plasma6-browser-integration
-Version:        6.4.3
+Version:        6.4.4
 Release:        0
 Summary:        Helper for the KDE Plasma Browser Integration
 License:        GPL-3.0-or-later

++++++ plasma-browser-integration-6.4.3.tar.xz -> 
plasma-browser-integration-6.4.4.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plasma-browser-integration-6.4.3/CMakeLists.txt 
new/plasma-browser-integration-6.4.4/CMakeLists.txt
--- old/plasma-browser-integration-6.4.3/CMakeLists.txt 2025-07-15 
11:54:41.000000000 +0200
+++ new/plasma-browser-integration-6.4.4/CMakeLists.txt 2025-08-05 
12:52:42.000000000 +0200
@@ -1,10 +1,10 @@
 cmake_minimum_required(VERSION 3.16)
 
-set(PROJECT_VERSION "6.4.3")
+set(PROJECT_VERSION "6.4.4")
 
 project(plasma-browser-integration VERSION ${PROJECT_VERSION})
 
-set(PROJECT_DEP_VERSION "6.4.3")
+set(PROJECT_DEP_VERSION "6.4.4")
 set(QT_MIN_VERSION "6.6.0")
 set(KF6_MIN_VERSION "6.8.0")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-6.4.3/host/abstractkrunnerplugin.cpp 
new/plasma-browser-integration-6.4.4/host/abstractkrunnerplugin.cpp
--- old/plasma-browser-integration-6.4.3/host/abstractkrunnerplugin.cpp 
2025-07-15 11:54:41.000000000 +0200
+++ new/plasma-browser-integration-6.4.4/host/abstractkrunnerplugin.cpp 
2025-08-05 12:52:42.000000000 +0200
@@ -7,6 +7,7 @@
 #include "abstractkrunnerplugin.h"
 
 #include <QDBusConnection>
+#include <QGuiApplication>
 #include <QImage>
 
 #include "krunner1adaptor.h"
@@ -54,6 +55,13 @@
     if (!image.loadFromData(data)) {
         qWarning() << "Failed to load favicon image from" << dataUrl.left(30);
     }
+
+    // Limit image size to reduce DBus message size.
+    const int maxIconSize = 64 * qGuiApp->devicePixelRatio();
+    if (image.width() > maxIconSize || image.height() > maxIconSize) {
+        image = image.scaled(maxIconSize, maxIconSize, Qt::KeepAspectRatio, 
Qt::SmoothTransformation);
+    }
+
     return image;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-6.4.3/host/mprisplugin.cpp 
new/plasma-browser-integration-6.4.4/host/mprisplugin.cpp
--- old/plasma-browser-integration-6.4.3/host/mprisplugin.cpp   2025-07-15 
11:54:41.000000000 +0200
+++ new/plasma-browser-integration-6.4.4/host/mprisplugin.cpp   2025-08-05 
12:52:42.000000000 +0200
@@ -537,10 +537,14 @@
             continue;
         }
 
-        // why is this named "sizes" when it's just a string and the examples 
don't mention how one could specify multiple?
-        // also, how on Earth could a single image src have multiple sizes? ...
-        // spec says this is a space-separated list of sizes for ... some 
reason
-        const QString sizeString = 
item.value(QStringLiteral("sizes")).toString();
+        // "sizes" is a space-separated list of sizes, for some reason.
+        const QString sizeString = 
item.value(QStringLiteral("sizes")).toString().toLower();
+
+        if (sizeString == QLatin1String("any")) {
+            artworkUrl = url;
+            break;
+        }
+
         QSize actualSize;
 
         // now parse the size...
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-6.4.3/host/purposeplugin.cpp 
new/plasma-browser-integration-6.4.4/host/purposeplugin.cpp
--- old/plasma-browser-integration-6.4.3/host/purposeplugin.cpp 2025-07-15 
11:54:41.000000000 +0200
+++ new/plasma-browser-integration-6.4.4/host/purposeplugin.cpp 2025-08-05 
12:52:42.000000000 +0200
@@ -58,6 +58,13 @@
 
         if (!m_menu) {
             m_menu.reset(new Purpose::Menu());
+            // HACK A popup window must have a proper parent but we cannot 
attach it to
+            // the browser window, so let's just make it a regular menu.
+            if (qGuiApp->platformName().startsWith(QLatin1String("wayland"))) {
+                m_menu->setWindowFlag(Qt::Popup, false);
+                // Hide when it loses focus.
+                m_menu->installEventFilter(this);
+            }
             m_menu->model()->setPluginType(QStringLiteral("ShareUrl"));
 
             connect(m_menu.data(), &QMenu::aboutToShow, this, [this] {
@@ -85,6 +92,10 @@
 
             connect(m_menu.data(), &QMenu::triggered, this, [this] {
                 m_menu->setProperty("actionInvoked", true);
+                // If it's not a popup, we need to hide it manually.
+                if (!m_menu->windowFlags().testFlag(Qt::Popup)) {
+                    m_menu->hide();
+                }
             });
 
             connect(m_menu.data(), &Purpose::Menu::finished, this, 
[this](const QJsonObject &output, int errorCode, const QString &errorMessage) {
@@ -195,4 +206,13 @@
     m_menu->popup(QCursor::pos());
 }
 
+bool PurposePlugin::eventFilter(QObject *watched, QEvent *event)
+{
+    if (event->type() == QEvent::WindowDeactivate && watched == m_menu.data()) 
{
+        m_menu->hide();
+    }
+
+    return AbstractBrowserPlugin::eventFilter(watched, event);
+}
+
 #include "moc_purposeplugin.cpp"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-6.4.3/host/purposeplugin.h 
new/plasma-browser-integration-6.4.4/host/purposeplugin.h
--- old/plasma-browser-integration-6.4.3/host/purposeplugin.h   2025-07-15 
11:54:41.000000000 +0200
+++ new/plasma-browser-integration-6.4.4/host/purposeplugin.h   2025-08-05 
12:52:42.000000000 +0200
@@ -31,6 +31,8 @@
     using AbstractBrowserPlugin::handleData;
     QJsonObject handleData(int serial, const QString &event, const QJsonObject 
&data) override;
 
+    bool eventFilter(QObject *watched, QEvent *event) override;
+
 private:
     void showShareMenu(const QJsonObject &data, const QString &mimeType = 
QString());
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-6.4.3/po/ar/plasma-browser-integration-host.po 
new/plasma-browser-integration-6.4.4/po/ar/plasma-browser-integration-host.po
--- 
old/plasma-browser-integration-6.4.3/po/ar/plasma-browser-integration-host.po   
    2025-07-15 11:54:41.000000000 +0200
+++ 
new/plasma-browser-integration-6.4.4/po/ar/plasma-browser-integration-host.po   
    2025-08-05 12:52:42.000000000 +0200
@@ -16,7 +16,7 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
-"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
+"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
 "X-Generator: Lokalize 23.08.5\n"
 
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-6.4.3/po/ar/plasma-browser-integration-reminder.po
 
new/plasma-browser-integration-6.4.4/po/ar/plasma-browser-integration-reminder.po
--- 
old/plasma-browser-integration-6.4.3/po/ar/plasma-browser-integration-reminder.po
   2025-07-15 11:54:41.000000000 +0200
+++ 
new/plasma-browser-integration-6.4.4/po/ar/plasma-browser-integration-reminder.po
   2025-08-05 12:52:42.000000000 +0200
@@ -16,7 +16,7 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
-"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
+"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
 
 #: browserintegrationreminder.cpp:141
 #, kde-format

Reply via email to