Hello community,

here is the log from the commit of package plasma-browser-integration for 
openSUSE:Leap:15.2 checked in at 2020-05-12 11:36:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/plasma-browser-integration (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.plasma-browser-integration.new.2738 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "plasma-browser-integration"

Tue May 12 11:36:51 2020 rev:29 rq:801364 version:5.18.5

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/plasma-browser-integration/plasma-browser-integration.changes
  2020-04-14 14:20:12.389239799 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2/.plasma-browser-integration.new.2738/plasma-browser-integration.changes
        2020-05-12 11:36:52.652308663 +0200
@@ -1,0 +2,11 @@
+Tue May  5 13:01:55 UTC 2020 - Fabian Vogt <[email protected]>
+
+- Update to 5.18.5
+  * New bugfix release
+  * For more details please see:
+  * https://www.kde.org/announcements/plasma-5.18.5.php
+- Changes since 5.18.4.1:
+  * Detect Vivaldi based on binary name
+  * [Purpose Plugin] Detect cancelling the prompt more reliably
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ plasma-browser-integration.spec ++++++
--- /var/tmp/diff_new_pack.weRHE8/_old  2020-05-12 11:36:53.048309495 +0200
+++ /var/tmp/diff_new_pack.weRHE8/_new  2020-05-12 11:36:53.052309503 +0200
@@ -21,15 +21,15 @@
 %bcond_with browser_extension
 %bcond_without lang
 Name:           plasma-browser-integration
-Version:        5.18.4.1
+Version:        5.18.5
 Release:        0
 Summary:        Helper for the KDE Plasma Browser Integration
 License:        GPL-3.0-or-later
 Group:          Productivity/Networking/Web/Utilities
 Url:            https://cgit.kde.org/plasma-browser-integration.git
-Source:         
https://download.kde.org/stable/plasma/5.18.4/plasma-browser-integration-%{version}.tar.xz
+Source:         
https://download.kde.org/stable/plasma/%{version}/plasma-browser-integration-%{version}.tar.xz
 %if %{with lang}
-Source1:        
https://download.kde.org/stable/plasma/5.18.4/plasma-browser-integration-%{version}.tar.xz.sig
+Source1:        
https://download.kde.org/stable/plasma/%{version}/plasma-browser-integration-%{version}.tar.xz.sig
 Source2:        plasma.keyring
 %endif
 BuildRequires:  extra-cmake-modules >= %{kf5_version}

++++++ plasma-browser-integration-5.18.4.1.tar.xz -> 
plasma-browser-integration-5.18.5.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plasma-browser-integration-5.18.4.1/CMakeLists.txt 
new/plasma-browser-integration-5.18.5/CMakeLists.txt
--- old/plasma-browser-integration-5.18.4.1/CMakeLists.txt      2020-03-31 
16:23:55.000000000 +0200
+++ new/plasma-browser-integration-5.18.5/CMakeLists.txt        2020-05-05 
16:51:13.000000000 +0200
@@ -1,7 +1,7 @@
 cmake_minimum_required(VERSION 3.0)
 
 project(plasma-browser-integration)
-set(PROJECT_VERSION "5.18.4")
+set(PROJECT_VERSION "5.18.5")
 set(PROJECT_VERSION_MAJOR 5)
 
 set(QT_MIN_VERSION "5.9.0")
@@ -25,6 +25,7 @@
 find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
     KIO
     I18n
+    CoreAddons
     Config
     Crash
     DBusAddons
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-5.18.4.1/extension/_locales/de/messages.json 
new/plasma-browser-integration-5.18.5/extension/_locales/de/messages.json
--- old/plasma-browser-integration-5.18.4.1/extension/_locales/de/messages.json 
2020-03-31 16:23:01.000000000 +0200
+++ new/plasma-browser-integration-5.18.5/extension/_locales/de/messages.json   
2020-05-05 16:50:22.000000000 +0200
@@ -87,7 +87,7 @@
         "message": "Herunterladevorgänge im Benachrichtigungsbereich anzeigen"
     },
     "options_plugin_kdeconnect_description": {
-        "message": "Fügt einen Eintrag zu Verknüpfungen zum Kontextmenü hinzu, 
mit dem Sie die Verknüpfung zu Ihrem Smartphone oder zu anderen angeschlossenen 
Geräten mit <a href=\"$1\">KDE-Connect</a> senden können."
+        "message": "Fügt einen Eintrag zu Verknüpfungen zum Kontextmenü hinzu, 
mit dem Sie die Verknüpfung zu Ihrem Smartphone oder zu anderen angeschlossenen 
Geräten mit <a href=\"$1\">KDE Connect</a> senden können."
     },
     "options_plugin_kdeconnect_title": {
         "message": "Mit KDE Connect versenden"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-5.18.4.1/extension/_locales/ko/messages.json 
new/plasma-browser-integration-5.18.5/extension/_locales/ko/messages.json
--- old/plasma-browser-integration-5.18.4.1/extension/_locales/ko/messages.json 
2020-03-31 16:23:01.000000000 +0200
+++ new/plasma-browser-integration-5.18.5/extension/_locales/ko/messages.json   
2020-05-05 16:50:22.000000000 +0200
@@ -54,7 +54,7 @@
         "message": "호스트 버전: $1"
     },
     "options_about_kde": {
-        "message": "KDE는 <a href=\"$1\">자유 소프트웨어</a> 개발을 위해 모인 소프트웨어 개발자, 예술가, 
집필가, 번역가 및 기타 인원의 모임입니다. KDE 커뮤니티에서는 Plasma 데스크톱 환경, 다양한 프로그램 및 지원 라이브러리를 
개발합니다. KDE는 협동 조합입니다. 어떠한 단일 집단도 방향이나 제품을 결정하지 않습니다. 우리는 전 세계에서 가장 뛰어난 자유 소프트웨어 
개발이라는 공통 목표를 위해서 함께 힘을 모으고 있습니다. KDE에는 이 글을 읽는 여러분을 포함한 누구나 <a href=\"$2\">참여하고 
기여</a>할 수 있습니다. <a href=\"$3\">$3</a> 페이지를 방문하셔서 KDE 커뮤니티와 소프트웨어에 대해 알아 보십시오."
+        "message": "KDE는 <a href=\"$1\">자유 소프트웨어</a>를 개발하려고 모인 소프트웨어 개발자, 예술가, 
집필가, 번역가 및 기타 인원의 모임입니다. KDE 커뮤니티에서는 Plasma 데스크톱 환경, 다양한 프로그램 및 지원 라이브러리를 
개발합니다. KDE는 협동 조합입니다. 어떠한 단일 집단도 방향이나 제품을 결정하지 않습니다. 우리는 전 세계에서 가장 뛰어난 자유 소프트웨어 
개발이라는 공통 목표를 향해 함께 힘을 모으고 있습니다. KDE에는 이 글을 읽는 여러분과 같은 누구나 <a href=\"$2\">참여하고 
기여</a>할 수 있습니다. <a href=\"$3\">$3</a> 페이지를 방문하셔서 KDE 커뮤니티와 소프트웨어에 대해 알아 보십시오."
     },
     "options_about_license": {
         "message": "라이선스: <a href=\"$1\">GNU 일반 공중 사용 허가서 버전 3</a>"
@@ -81,7 +81,7 @@
         "message": "파일 속성에 파일을 다운로드한 URL 저장"
     },
     "options_plugin_downloads_saveOriginUrl_description": {
-        "message": "메모: 해당 파일에 접근할 수 있거나 다른 사용자와 해당 파일을 공유했을 때 민감한 정보를 포함하는 
URL이 공유될 수 있습니다"
+        "message": "메모: 해당 파일에 접근할 수 있거나 다른 사용자와 해당 파일을 공유했을 때 민감한 정보가 들어 있는 
URL이 공유될 수 있습니다"
     },
     "options_plugin_downloads_title": {
         "message": "알림 영역에 다운로드 표시"
@@ -141,7 +141,7 @@
         "message": "공유 실패"
     },
     "purpose_share_finished_text": {
-        "message": "공유한 콘텐츠 링크($1)를 클립보드로 복사했습니다."
+        "message": "공유한 콘텐츠 링크($1)를 클립보드에 복사했습니다."
     },
     "purpose_share_finished_title": {
         "message": "콘텐츠 공유함"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-5.18.4.1/host/CMakeLists.txt 
new/plasma-browser-integration-5.18.5/host/CMakeLists.txt
--- old/plasma-browser-integration-5.18.4.1/host/CMakeLists.txt 2020-03-31 
16:23:01.000000000 +0200
+++ new/plasma-browser-integration-5.18.5/host/CMakeLists.txt   2020-05-05 
16:50:22.000000000 +0200
@@ -28,6 +28,7 @@
     Qt5::Gui
     Qt5::Widgets
     KF5::Activities
+    KF5::CoreAddons
     KF5::Crash
     KF5::I18n
     KF5::KIOCore
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-5.18.4.1/host/purposeplugin.cpp 
new/plasma-browser-integration-5.18.5/host/purposeplugin.cpp
--- old/plasma-browser-integration-5.18.4.1/host/purposeplugin.cpp      
2020-03-31 16:23:01.000000000 +0200
+++ new/plasma-browser-integration-5.18.5/host/purposeplugin.cpp        
2020-05-05 16:50:22.000000000 +0200
@@ -73,12 +73,27 @@
             m_menu.reset(new Purpose::Menu());
             m_menu->model()->setPluginType(QStringLiteral("Export"));
 
+            connect(m_menu.data(), &QMenu::aboutToShow, this, [this] {
+                m_menu->setProperty("actionInvoked", false);
+            });
+
             connect(m_menu.data(), &QMenu::aboutToHide, this, [this] {
-                if (!m_menu->activeAction()) {
-                    sendPendingReply(false, {
-                        {QStringLiteral("errorCode"), 
QStringLiteral("CANCELED")}
-                    });
-                }
+                // aboutToHide is emitted before an action is triggered and 
activeAction() is
+                // the action currently hovered. This means we can't properly 
tell that the prompt
+                // got canceled, when hovering an action and then hitting 
Escape to close the menu.
+                // Hence delaying this and checking if an action got invoked :(
+
+                QMetaObject::invokeMethod(this, [this] {
+                    if (!m_menu->property("actionInvoked").toBool()) {
+                        sendPendingReply(false, {
+                            {QStringLiteral("errorCode"), 
QStringLiteral("CANCELED")}
+                        });
+                    }
+                }, Qt::QueuedConnection);
+            });
+
+            connect(m_menu.data(), &QMenu::triggered, this, [this] {
+                m_menu->setProperty("actionInvoked", true);
             });
 
             connect(m_menu.data(), &Purpose::Menu::finished, this, 
[this](const QJsonObject &output, int errorCode, const QString &errorMessage) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-5.18.4.1/host/settings.cpp 
new/plasma-browser-integration-5.18.5/host/settings.cpp
--- old/plasma-browser-integration-5.18.4.1/host/settings.cpp   2020-03-31 
16:23:01.000000000 +0200
+++ new/plasma-browser-integration-5.18.5/host/settings.cpp     2020-05-05 
16:50:22.000000000 +0200
@@ -23,10 +23,14 @@
 
 #include "settings.h"
 
+#include <unistd.h> // getppid
+
 #include <QGuiApplication>
 #include <QDBusConnection>
 #include <QProcess>
 
+#include <KProcessList>
+
 #include "pluginmanager.h"
 #include "settingsadaptor.h"
 
@@ -127,6 +131,16 @@
         QProcess::startDetached(QStringLiteral("kcmshell5"), 
{QStringLiteral("kcm_plasmasearch")});
     } else if (event == QLatin1String("setEnvironment")) {
         QString name = data[QStringLiteral("browserName")].toString();
+
+        // Most chromium-based browsers just impersonate Chromium nowadays to 
keep websites from locking them out
+        // so we'll need to make an educated guess from our parent process
+        if (name == QLatin1String("chromium")) {
+            const auto processInfo = KProcessList::processInfo(getppid());
+            if (processInfo.name().contains(QLatin1String("vivaldi"))) {
+                name = QStringLiteral("vivaldi");
+            }
+        }
+
         m_environment = Settings::environmentNames.key(name, 
Settings::Environment::Unknown);
         m_currentEnvironment = 
Settings::environmentDescriptions.value(m_environment);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-5.18.4.1/po/en_GB/plasma-browser-integration-host.po
 
new/plasma-browser-integration-5.18.5/po/en_GB/plasma-browser-integration-host.po
--- 
old/plasma-browser-integration-5.18.4.1/po/en_GB/plasma-browser-integration-host.po
 2020-03-31 16:23:21.000000000 +0200
+++ 
new/plasma-browser-integration-5.18.5/po/en_GB/plasma-browser-integration-host.po
   2020-05-05 16:50:40.000000000 +0200
@@ -9,7 +9,7 @@
 "POT-Creation-Date: 2020-01-05 03:44+0100\n"
 "PO-Revision-Date: 2019-03-24 19:42+0000\n"
 "Last-Translator: Steve Allewell <[email protected]>\n"
-"Language-Team: British English <[email protected]>\n"
+"Language-Team: British English <[email protected]>\n"
 "Language: en_GB\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-5.18.4.1/po/en_GB/plasma-browser-integration-reminder.po
 
new/plasma-browser-integration-5.18.5/po/en_GB/plasma-browser-integration-reminder.po
--- 
old/plasma-browser-integration-5.18.4.1/po/en_GB/plasma-browser-integration-reminder.po
     2020-03-31 16:23:21.000000000 +0200
+++ 
new/plasma-browser-integration-5.18.5/po/en_GB/plasma-browser-integration-reminder.po
       2020-05-05 16:50:40.000000000 +0200
@@ -9,7 +9,7 @@
 "POT-Creation-Date: 2020-01-10 03:43+0100\n"
 "PO-Revision-Date: 2018-10-27 19:59+0100\n"
 "Last-Translator: Steve Allewell <[email protected]>\n"
-"Language-Team: British English <[email protected]>\n"
+"Language-Team: British English <[email protected]>\n"
 "Language: en_GB\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-5.18.4.1/po/en_GB/plasma_runner_browsertabs.po 
new/plasma-browser-integration-5.18.5/po/en_GB/plasma_runner_browsertabs.po
--- 
old/plasma-browser-integration-5.18.4.1/po/en_GB/plasma_runner_browsertabs.po   
    2020-03-31 16:23:21.000000000 +0200
+++ new/plasma-browser-integration-5.18.5/po/en_GB/plasma_runner_browsertabs.po 
2020-05-05 16:50:40.000000000 +0200
@@ -9,7 +9,7 @@
 "POT-Creation-Date: 2019-05-20 03:25+0200\n"
 "PO-Revision-Date: 2017-05-21 16:09+0000\n"
 "Last-Translator: Steve Allewell <[email protected]>\n"
-"Language-Team: English <[email protected]>\n"
+"Language-Team: British English <[email protected]>\n"
 "Language: en_GB\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-5.18.4.1/po/ko/plasma-browser-integration-host.po
 new/plasma-browser-integration-5.18.5/po/ko/plasma-browser-integration-host.po
--- 
old/plasma-browser-integration-5.18.4.1/po/ko/plasma-browser-integration-host.po
    2020-03-31 16:23:34.000000000 +0200
+++ 
new/plasma-browser-integration-5.18.5/po/ko/plasma-browser-integration-host.po  
    2020-05-05 16:50:52.000000000 +0200
@@ -1,13 +1,13 @@
 # Copyright (C) YEAR This file is copyright:
 # This file is distributed under the same license as the 
plasma-browser-integration package.
-# Shinjo Park <[email protected]>, 2019.
+# Shinjo Park <[email protected]>, 2019, 2020.
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: plasma-browser-integration\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2020-01-05 03:44+0100\n"
-"PO-Revision-Date: 2019-04-12 01:08+0100\n"
+"PO-Revision-Date: 2020-04-05 02:13+0200\n"
 "Last-Translator: Shinjo Park <[email protected]>\n"
 "Language-Team: Korean <[email protected]>\n"
 "Language: ko\n"
@@ -15,7 +15,7 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=1; plural=0;\n"
-"X-Generator: Lokalize 2.0\n"
+"X-Generator: Lokalize 19.04.3\n"
 
 #: downloadjob.cpp:193
 #, kde-format
@@ -40,7 +40,7 @@
 #: downloadjob.cpp:198
 #, kde-format
 msgid "The file possibly contains malicious contents."
-msgstr "파일에 멀웨어가 포함된 것 같습니다."
+msgstr "파일에 멀웨어가 들어 있는 것 같습니다."
 
 #: downloadjob.cpp:199
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-5.18.4.1/po/nb/plasma_runner_browsertabs.po 
new/plasma-browser-integration-5.18.5/po/nb/plasma_runner_browsertabs.po
--- old/plasma-browser-integration-5.18.4.1/po/nb/plasma_runner_browsertabs.po  
2020-03-31 16:23:38.000000000 +0200
+++ new/plasma-browser-integration-5.18.5/po/nb/plasma_runner_browsertabs.po    
2020-05-05 16:50:56.000000000 +0200
@@ -8,7 +8,7 @@
 "POT-Creation-Date: 2019-05-20 03:25+0200\n"
 "PO-Revision-Date: 2018-06-27 18:53+0100\n"
 "Last-Translator: Øystein Steffensen-Alværvik <[email protected]>\n"
-"Language-Team: Norwegian Bokmål <[email protected]>\n"
+"Language-Team: Norwegian Bokmål <[email protected]>\n"
 "Language: nb\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-5.18.4.1/po/nn/plasma-browser-integration-host.po
 new/plasma-browser-integration-5.18.5/po/nn/plasma-browser-integration-host.po
--- 
old/plasma-browser-integration-5.18.4.1/po/nn/plasma-browser-integration-host.po
    2020-03-31 16:23:39.000000000 +0200
+++ 
new/plasma-browser-integration-5.18.5/po/nn/plasma-browser-integration-host.po  
    2020-05-05 16:50:58.000000000 +0200
@@ -8,7 +8,7 @@
 "POT-Creation-Date: 2020-01-05 03:44+0100\n"
 "PO-Revision-Date: 2019-03-25 22:19+0100\n"
 "Last-Translator: Karl Ove Hufthammer <[email protected]>\n"
-"Language-Team: Norwegian Nynorsk <[email protected]>\n"
+"Language-Team: Norwegian Nynorsk <[email protected]>\n"
 "Language: nn\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-5.18.4.1/po/nn/plasma-browser-integration-reminder.po
 
new/plasma-browser-integration-5.18.5/po/nn/plasma-browser-integration-reminder.po
--- 
old/plasma-browser-integration-5.18.4.1/po/nn/plasma-browser-integration-reminder.po
        2020-03-31 16:23:39.000000000 +0200
+++ 
new/plasma-browser-integration-5.18.5/po/nn/plasma-browser-integration-reminder.po
  2020-05-05 16:50:58.000000000 +0200
@@ -8,7 +8,7 @@
 "POT-Creation-Date: 2020-01-10 03:43+0100\n"
 "PO-Revision-Date: 2018-09-16 11:10+0200\n"
 "Last-Translator: Karl Ove Hufthammer <[email protected]>\n"
-"Language-Team: Norwegian Nynorsk <[email protected]>\n"
+"Language-Team: Norwegian Nynorsk <[email protected]>\n"
 "Language: nn\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-browser-integration-5.18.4.1/po/nn/plasma_runner_browsertabs.po 
new/plasma-browser-integration-5.18.5/po/nn/plasma_runner_browsertabs.po
--- old/plasma-browser-integration-5.18.4.1/po/nn/plasma_runner_browsertabs.po  
2020-03-31 16:23:39.000000000 +0200
+++ new/plasma-browser-integration-5.18.5/po/nn/plasma_runner_browsertabs.po    
2020-05-05 16:50:58.000000000 +0200
@@ -8,7 +8,7 @@
 "POT-Creation-Date: 2019-05-20 03:25+0200\n"
 "PO-Revision-Date: 2018-01-27 12:06+0100\n"
 "Last-Translator: Karl Ove Hufthammer <[email protected]>\n"
-"Language-Team: Norwegian Nynorsk <[email protected]>\n"
+"Language-Team: Norwegian Nynorsk <[email protected]>\n"
 "Language: nn\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"



Reply via email to