Hello community, here is the log from the commit of package libkdecoration2 for openSUSE:Factory checked in at 2018-10-08 17:40:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libkdecoration2 (Old) and /work/SRC/openSUSE:Factory/.libkdecoration2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libkdecoration2" Mon Oct 8 17:40:33 2018 rev:61 rq:640304 version:5.14.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libkdecoration2/libkdecoration2.changes 2018-09-13 23:52:02.330379858 +0200 +++ /work/SRC/openSUSE:Factory/.libkdecoration2.new/libkdecoration2.changes 2018-10-08 17:40:47.550837929 +0200 @@ -1,0 +2,26 @@ +Fri Oct 5 10:01:11 UTC 2018 - fab...@ritter-vogt.de + +- Update to 5.14.0 + * New bugfix release + * For more details please see: + * https://www.kde.org/announcements/plasma-5.14.0.php +- No code changes since 5.13.90 + +------------------------------------------------------------------- +Sat Sep 15 16:25:29 UTC 2018 - fab...@ritter-vogt.de + +- Add tarball signature and keyring containing keys of release managers + Jonathan Riddell and Bhushan Shah + +------------------------------------------------------------------- +Thu Sep 13 17:25:01 UTC 2018 - fab...@ritter-vogt.de + +- Update to 5.13.90 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/plasma-5.13.90.php +- Changes since 5.13.5: + * QT_MIN_VERSIONS is Qt 5.11 for Plasma 5.14. Agreed at kickoff meeting. Set everywhere for clearity and consistency. + * Check against QRect whether pointer is inside DecorationButton + +------------------------------------------------------------------- Old: ---- kdecoration-5.13.5.tar.xz New: ---- kdecoration-5.14.0.tar.xz kdecoration-5.14.0.tar.xz.sig plasma.keyring ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libkdecoration2.spec ++++++ --- /var/tmp/diff_new_pack.gmTFoM/_old 2018-10-08 17:40:50.458834226 +0200 +++ /var/tmp/diff_new_pack.gmTFoM/_new 2018-10-08 17:40:50.458834226 +0200 @@ -20,14 +20,18 @@ %define lname_private libkdecorations2private6 %bcond_without lang Name: libkdecoration2 -Version: 5.13.5 +Version: 5.14.0 Release: 0 Summary: KDE's window decorations library License: GPL-2.0-or-later Group: System/GUI/KDE Url: http://www.kde.org -Source: http://download.kde.org/stable/plasma/%{version}/kdecoration-%{version}.tar.xz -Source1: baselibs.conf +Source: kdecoration-%{version}.tar.xz +%if %{with lang} +Source1: kdecoration-%{version}.tar.xz.sig +Source2: plasma.keyring +%endif +Source3: baselibs.conf BuildRequires: cmake >= 2.8.12 BuildRequires: extra-cmake-modules >= 0.0.11 BuildRequires: kf5-filesystem ++++++ kdecoration-5.13.5.tar.xz -> kdecoration-5.14.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/CMakeLists.txt new/kdecoration-5.14.0/CMakeLists.txt --- old/kdecoration-5.13.5/CMakeLists.txt 2018-09-04 12:06:30.000000000 +0200 +++ new/kdecoration-5.14.0/CMakeLists.txt 2018-10-05 18:37:39.000000000 +0200 @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.0) project(decoration-api) -set(PROJECT_VERSION "5.13.5") +set(PROJECT_VERSION "5.14.0") -set(QT_MIN_VERSION "5.9.0") -set(KF5_MIN_VERSION "5.42.0") +set(QT_MIN_VERSION "5.11.0") +set(KF5_MIN_VERSION "5.50.0") find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/autotests/decorationbuttontest.cpp new/kdecoration-5.14.0/autotests/decorationbuttontest.cpp --- old/kdecoration-5.13.5/autotests/decorationbuttontest.cpp 2018-09-04 12:06:30.000000000 +0200 +++ new/kdecoration-5.14.0/autotests/decorationbuttontest.cpp 2018-10-05 18:37:39.000000000 +0200 @@ -60,6 +60,8 @@ void testMenuDoubleClick(); void testMenuPressAndHold(); void testApplicationMenu(); + void testContains_data(); + void testContains(); }; void DecorationButtonTest::testButton() @@ -1342,5 +1344,36 @@ QCOMPARE(pressedChangedSpy.last().first().toBool(), false); } +void DecorationButtonTest::testContains_data() +{ + QTest::addColumn<QPointF>("pos"); + QTest::addColumn<bool>("contains"); + + // Button geometry: QRectF(0, 0, 10, 10). + QTest::newRow("on left edge") << QPointF(0, 5) << true; + QTest::newRow("on top edge") << QPointF(5, 0) << true; + QTest::newRow("on right edge") << QPointF(9, 5) << true; + QTest::newRow("on bottom edge") << QPointF(5, 9) << true; + QTest::newRow("inside") << QPointF(5, 5) << true; + QTest::newRow("outside 1") << QPointF(-1, 5) << false; + QTest::newRow("outside 2") << QPointF(5, -1) << false; + QTest::newRow("outside 3") << QPointF(10, 5) << false; + QTest::newRow("outside 4") << QPointF(5, 10) << false; +} + +void DecorationButtonTest::testContains() +{ + MockBridge bridge; + MockDecoration mockDecoration(&bridge); + + MockButton button(KDecoration2::DecorationButtonType::Custom, &mockDecoration); + button.setGeometry(QRectF(0, 0, 10, 10)); + button.setEnabled(true); + button.setVisible(true); + + QFETCH(QPointF, pos); + QTEST(button.contains(pos), "contains"); +} + QTEST_MAIN(DecorationButtonTest) #include "decorationbuttontest.moc" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/ast/kdecoration.po new/kdecoration-5.14.0/po/ast/kdecoration.po --- old/kdecoration-5.13.5/po/ast/kdecoration.po 1970-01-01 01:00:00.000000000 +0100 +++ new/kdecoration-5.14.0/po/ast/kdecoration.po 2018-10-05 18:38:19.000000000 +0200 @@ -0,0 +1,93 @@ +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# enolp <en...@softastur.org>, 2018. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" +"PO-Revision-Date: 2018-05-27 18:49+0100\n" +"Last-Translator: enolp <en...@softastur.org>\n" +"Language-Team: Asturian <alministrado...@softastur.org>\n" +"Language: ast\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 2.0\n" + +#: decorationbutton.cpp:294 +#, kde-format +msgid "Menu" +msgstr "Menú" + +#: decorationbutton.cpp:296 +#, kde-format +msgid "Application menu" +msgstr "" + +#: decorationbutton.cpp:299 +#, kde-format +msgid "On one desktop" +msgstr "" + +#: decorationbutton.cpp:301 +#, kde-format +msgid "On all desktops" +msgstr "" + +#: decorationbutton.cpp:303 +#, kde-format +msgid "Minimize" +msgstr "" + +#: decorationbutton.cpp:306 +#, kde-format +msgid "Restore" +msgstr "" + +#: decorationbutton.cpp:308 +#, kde-format +msgid "Maximize" +msgstr "" + +#: decorationbutton.cpp:310 +#, kde-format +msgid "Close" +msgstr "" + +#: decorationbutton.cpp:312 +#, kde-format +msgid "Context help" +msgstr "" + +#: decorationbutton.cpp:315 +#, kde-format +msgid "Unshade" +msgstr "" + +#: decorationbutton.cpp:317 +#, kde-format +msgid "Shade" +msgstr "" + +#: decorationbutton.cpp:320 +#, kde-format +msgid "Don't keep below" +msgstr "" + +#: decorationbutton.cpp:322 +#, kde-format +msgid "Keep below" +msgstr "" + +#: decorationbutton.cpp:325 +#, kde-format +msgid "Don't keep above" +msgstr "" + +#: decorationbutton.cpp:327 +#, kde-format +msgid "Keep above" +msgstr "" \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/ca/kdecoration.po new/kdecoration-5.14.0/po/ca/kdecoration.po --- old/kdecoration-5.13.5/po/ca/kdecoration.po 2018-09-04 12:06:39.000000000 +0200 +++ new/kdecoration-5.14.0/po/ca/kdecoration.po 2018-10-05 18:38:23.000000000 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: kdecoration\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-01-27 15:26+0100\n" "Last-Translator: Josep Ma. Ferrer <txe...@gmail.com>\n" "Language-Team: Catalan <kde-i18n...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/ca@valencia/kdecoration.po new/kdecoration-5.14.0/po/ca@valencia/kdecoration.po --- old/kdecoration-5.13.5/po/ca@valencia/kdecoration.po 2018-09-04 12:06:39.000000000 +0200 +++ new/kdecoration-5.14.0/po/ca@valencia/kdecoration.po 2018-10-05 18:38:23.000000000 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: kdecoration\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-01-27 15:26+0100\n" "Last-Translator: Josep Ma. Ferrer <txe...@gmail.com>\n" "Language-Team: Catalan <kde-i18n...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/cs/kdecoration.po new/kdecoration-5.14.0/po/cs/kdecoration.po --- old/kdecoration-5.13.5/po/cs/kdecoration.po 2018-09-04 12:06:39.000000000 +0200 +++ new/kdecoration-5.14.0/po/cs/kdecoration.po 2018-10-05 18:38:23.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-04-03 13:29+0100\n" "Last-Translator: Vit Pelcak <v...@pelcak.org>\n" "Language-Team: Czech <kde-i18n-...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/da/kdecoration.po new/kdecoration-5.14.0/po/da/kdecoration.po --- old/kdecoration-5.13.5/po/da/kdecoration.po 2018-09-04 12:06:39.000000000 +0200 +++ new/kdecoration-5.14.0/po/da/kdecoration.po 2018-10-05 18:38:25.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-07-12 10:06+0100\n" "Last-Translator: Martin Schlander <mschlan...@opensuse.org>\n" "Language-Team: Danish <kde-i18n-...@kde.org>\n" @@ -25,7 +25,7 @@ #: decorationbutton.cpp:296 #, kde-format msgid "Application menu" -msgstr "Programmenu" +msgstr "" #: decorationbutton.cpp:299 #, kde-format @@ -35,7 +35,7 @@ #: decorationbutton.cpp:301 #, kde-format msgid "On all desktops" -msgstr "På alle skriveborde" +msgstr "" #: decorationbutton.cpp:303 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/de/kdecoration.po new/kdecoration-5.14.0/po/de/kdecoration.po --- old/kdecoration-5.13.5/po/de/kdecoration.po 2018-09-04 12:06:39.000000000 +0200 +++ new/kdecoration-5.14.0/po/de/kdecoration.po 2018-10-05 18:38:25.000000000 +0200 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-04-10 13:39+0100\n" "Last-Translator: Burkhard Lück <lu...@hube-lueck.de>\n" "Language-Team: German <kde-i18n...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/en_GB/kdecoration.po new/kdecoration-5.14.0/po/en_GB/kdecoration.po --- old/kdecoration-5.13.5/po/en_GB/kdecoration.po 2018-09-04 12:06:40.000000000 +0200 +++ new/kdecoration-5.14.0/po/en_GB/kdecoration.po 2018-10-05 18:38:26.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-02-18 17:09+0000\n" "Last-Translator: Steve Allewell <steve.allew...@gmail.com>\n" "Language-Team: British English <kde-i18n-...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/es/kdecoration.po new/kdecoration-5.14.0/po/es/kdecoration.po --- old/kdecoration-5.13.5/po/es/kdecoration.po 2018-09-04 12:06:40.000000000 +0200 +++ new/kdecoration-5.14.0/po/es/kdecoration.po 2018-10-05 18:38:27.000000000 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: kdecoration\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-01-31 21:57+0100\n" "Last-Translator: Eloy Cuadra <ecua...@eloihr.net>\n" "Language-Team: Spanish <kde-l10n...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/eu/kdecoration.po new/kdecoration-5.14.0/po/eu/kdecoration.po --- old/kdecoration-5.13.5/po/eu/kdecoration.po 2018-09-04 12:06:40.000000000 +0200 +++ new/kdecoration-5.14.0/po/eu/kdecoration.po 2018-10-05 18:38:27.000000000 +0200 @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: kdecoration\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-02-16 21:49+0100\n" "Last-Translator: Iñigo Salvador Azurmendi <xa...@euskalnet.net>\n" "Language-Team: Basque <kde-i18n-...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/fi/kdecoration.po new/kdecoration-5.14.0/po/fi/kdecoration.po --- old/kdecoration-5.13.5/po/fi/kdecoration.po 2018-09-04 12:06:40.000000000 +0200 +++ new/kdecoration-5.14.0/po/fi/kdecoration.po 2018-10-05 18:38:28.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-02-23 19:33+0200\n" "Last-Translator: Tommi Nieminen <transla...@legisign.org>\n" "Language-Team: Finnish <kde-i18n-...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/fr/kdecoration.po new/kdecoration-5.14.0/po/fr/kdecoration.po --- old/kdecoration-5.13.5/po/fr/kdecoration.po 2018-09-04 12:06:40.000000000 +0200 +++ new/kdecoration-5.14.0/po/fr/kdecoration.po 2018-10-05 18:38:29.000000000 +0200 @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: kdecoration\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-02-08 22:45+0100\n" "Last-Translator: Yoann Laissus <yoann.lais...@gmail.com>\n" "Language-Team: French <kde-francoph...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/gl/kdecoration.po new/kdecoration-5.14.0/po/gl/kdecoration.po --- old/kdecoration-5.13.5/po/gl/kdecoration.po 2018-09-04 12:06:41.000000000 +0200 +++ new/kdecoration-5.14.0/po/gl/kdecoration.po 2018-10-05 18:38:31.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-01-31 21:41+0100\n" "Last-Translator: Adrián Chaves (Gallaecio) <adr...@chaves.io>\n" "Language-Team: Galician <kde-i18n-...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/id/kdecoration.po new/kdecoration-5.14.0/po/id/kdecoration.po --- old/kdecoration-5.13.5/po/id/kdecoration.po 2018-09-04 12:06:42.000000000 +0200 +++ new/kdecoration-5.14.0/po/id/kdecoration.po 2018-10-05 18:38:34.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-06-12 07:33+0700\n" "Last-Translator: Wantoyo <wanto...@gmail.com>\n" "Language-Team: Indonesian <kde-i18n-...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/it/kdecoration.po new/kdecoration-5.14.0/po/it/kdecoration.po --- old/kdecoration-5.13.5/po/it/kdecoration.po 2018-09-04 12:06:42.000000000 +0200 +++ new/kdecoration-5.14.0/po/it/kdecoration.po 2018-10-05 18:38:35.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-02-04 15:42+0100\n" "Last-Translator: Paolo Zamponi <zapa...@email.it>\n" "Language-Team: Italian <kde-i18n...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/ja/kdecoration.po new/kdecoration-5.14.0/po/ja/kdecoration.po --- old/kdecoration-5.13.5/po/ja/kdecoration.po 2018-09-04 12:06:43.000000000 +0200 +++ new/kdecoration-5.14.0/po/ja/kdecoration.po 2018-10-05 18:38:35.000000000 +0200 @@ -2,7 +2,7 @@ msgstr "" "Project-Id-Version: kdecoration\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-01-28 12:47-0800\n" "Last-Translator: Japanese KDE translation team <kde...@kde.org>\n" "Language-Team: Japanese <kde...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/ko/kdecoration.po new/kdecoration-5.14.0/po/ko/kdecoration.po --- old/kdecoration-5.13.5/po/ko/kdecoration.po 2018-09-04 12:06:44.000000000 +0200 +++ new/kdecoration-5.14.0/po/ko/kdecoration.po 2018-10-05 18:38:38.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-08-14 14:38+0100\n" "Last-Translator: Shinjo Park <k...@peremen.name>\n" "Language-Team: Korean <kde-i18n-...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/nl/kdecoration.po new/kdecoration-5.14.0/po/nl/kdecoration.po --- old/kdecoration-5.13.5/po/nl/kdecoration.po 2018-09-04 12:06:45.000000000 +0200 +++ new/kdecoration-5.14.0/po/nl/kdecoration.po 2018-10-05 18:38:43.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-01-27 13:55+0100\n" "Last-Translator: Freek de Kruijf <freekdekru...@kde.nl>\n" "Language-Team: Dutch <kde-i18n...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/nn/kdecoration.po new/kdecoration-5.14.0/po/nn/kdecoration.po --- old/kdecoration-5.13.5/po/nn/kdecoration.po 2018-09-04 12:06:45.000000000 +0200 +++ new/kdecoration-5.14.0/po/nn/kdecoration.po 2018-10-05 18:38:44.000000000 +0200 @@ -5,7 +5,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-01-27 12:11+0100\n" "Last-Translator: Karl Ove Hufthammer <k...@huftis.org>\n" "Language-Team: Norwegian Nynorsk <i18n...@lister.ping.uio.no>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/pl/kdecoration.po new/kdecoration-5.14.0/po/pl/kdecoration.po --- old/kdecoration-5.13.5/po/pl/kdecoration.po 2018-09-04 12:06:46.000000000 +0200 +++ new/kdecoration-5.14.0/po/pl/kdecoration.po 2018-10-05 18:38:46.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-02-24 07:03+0100\n" "Last-Translator: Łukasz Wojniłowicz <lukasz.wojnilow...@gmail.com>\n" "Language-Team: Polish <kde-i18n-...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/pt/kdecoration.po new/kdecoration-5.14.0/po/pt/kdecoration.po --- old/kdecoration-5.13.5/po/pt/kdecoration.po 2018-09-04 12:06:46.000000000 +0200 +++ new/kdecoration-5.14.0/po/pt/kdecoration.po 2018-10-05 18:38:46.000000000 +0200 @@ -2,7 +2,7 @@ msgstr "" "Project-Id-Version: kdecoration\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-01-27 17:05+0000\n" "Last-Translator: José Nuno Coelho Pires <zepi...@gmail.com>\n" "Language-Team: Portuguese <kde-i18n...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/pt_BR/kdecoration.po new/kdecoration-5.14.0/po/pt_BR/kdecoration.po --- old/kdecoration-5.13.5/po/pt_BR/kdecoration.po 2018-09-04 12:06:46.000000000 +0200 +++ new/kdecoration-5.14.0/po/pt_BR/kdecoration.po 2018-10-05 18:38:47.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-05-28 18:22-0300\n" "Last-Translator: Luiz Fernando Ranghetti <elchev...@opensuse.org>\n" "Language-Team: Portuguese <kde-i18n-pt...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/ru/kdecoration.po new/kdecoration-5.14.0/po/ru/kdecoration.po --- old/kdecoration-5.13.5/po/ru/kdecoration.po 2018-09-04 12:06:47.000000000 +0200 +++ new/kdecoration-5.14.0/po/ru/kdecoration.po 2018-10-05 18:38:48.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-02-03 02:12+0300\n" "Last-Translator: Alexander Potashev <aspotas...@gmail.com>\n" "Language-Team: Russian <kde-russ...@lists.kde.ru>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/sk/kdecoration.po new/kdecoration-5.14.0/po/sk/kdecoration.po --- old/kdecoration-5.13.5/po/sk/kdecoration.po 2018-09-04 12:06:47.000000000 +0200 +++ new/kdecoration-5.14.0/po/sk/kdecoration.po 2018-10-05 18:38:50.000000000 +0200 @@ -4,7 +4,7 @@ msgstr "" "Project-Id-Version: kdecoration\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-01-29 20:52+0100\n" "Last-Translator: Roman Paholik <wizzar...@gmail.com>\n" "Language-Team: Slovak <kde...@linux.sk>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/sv/kdecoration.po new/kdecoration-5.14.0/po/sv/kdecoration.po --- old/kdecoration-5.13.5/po/sv/kdecoration.po 2018-09-04 12:06:48.000000000 +0200 +++ new/kdecoration-5.14.0/po/sv/kdecoration.po 2018-10-05 18:38:52.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-01-27 10:54+0100\n" "Last-Translator: Stefan Asserhäll <stefan.asserh...@bredband.net>\n" "Language-Team: Swedish <kde-i18n-...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/uk/kdecoration.po new/kdecoration-5.14.0/po/uk/kdecoration.po --- old/kdecoration-5.13.5/po/uk/kdecoration.po 2018-09-04 12:06:49.000000000 +0200 +++ new/kdecoration-5.14.0/po/uk/kdecoration.po 2018-10-05 18:38:56.000000000 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: kdecoration\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" "PO-Revision-Date: 2018-01-26 11:00+0200\n" "Last-Translator: Yuri Chornoivan <yurc...@ukr.net>\n" "Language-Team: Ukrainian <kde-i18n...@kde.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/po/zh_CN/kdecoration.po new/kdecoration-5.14.0/po/zh_CN/kdecoration.po --- old/kdecoration-5.13.5/po/zh_CN/kdecoration.po 2018-09-04 12:06:50.000000000 +0200 +++ new/kdecoration-5.14.0/po/zh_CN/kdecoration.po 2018-10-05 18:38:58.000000000 +0200 @@ -7,9 +7,9 @@ msgstr "" "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-01-27 03:26+0100\n" -"PO-Revision-Date: 2018-08-30 13:15\n" -"Last-Translator: guoyunhebrave <yunhe....@protonmail.com>\n" +"POT-Creation-Date: 2018-09-14 06:47+0200\n" +"PO-Revision-Date: 2018-09-28 19:51\n" +"Last-Translator: guoyunhe <yunhe....@protonmail.com>\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" "MIME-Version: 1.0\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/src/decoration.cpp new/kdecoration-5.14.0/src/decoration.cpp --- old/kdecoration-5.13.5/src/decoration.cpp 2018-09-04 12:06:30.000000000 +0200 +++ new/kdecoration-5.14.0/src/decoration.cpp 2018-10-05 18:37:39.000000000 +0200 @@ -330,7 +330,7 @@ continue; } const bool hovered = button->isHovered(); - const bool contains = button->geometry().contains(event->pos()); + const bool contains = button->contains(event->posF()); if (!hovered && contains) { QHoverEvent e(QEvent::HoverEnter, event->posF(), event->oldPosF(), event->modifiers()); QCoreApplication::instance()->sendEvent(button, &e); @@ -383,7 +383,7 @@ void Decoration::wheelEvent(QWheelEvent *event) { for (DecorationButton *button : d->buttons) { - if (button->geometry().contains(event->posF())) { + if (button->contains(event->posF())) { QCoreApplication::instance()->sendEvent(button, event); event->setAccepted(true); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/src/decorationbutton.cpp new/kdecoration-5.14.0/src/decorationbutton.cpp --- old/kdecoration-5.13.5/src/decorationbutton.cpp 2018-09-04 12:06:30.000000000 +0200 +++ new/kdecoration-5.14.0/src/decorationbutton.cpp 2018-10-05 18:37:39.000000000 +0200 @@ -445,6 +445,11 @@ #undef DELEGATE +bool DecorationButton::contains(const QPointF &pos) const +{ + return d->geometry.toRect().contains(pos.toPoint()); +} + bool DecorationButton::event(QEvent *event) { switch (event->type()) { @@ -476,7 +481,7 @@ void DecorationButton::hoverEnterEvent(QHoverEvent *event) { - if (!d->enabled || !d->visible || !d->geometry.contains(event->posF())) { + if (!d->enabled || !d->visible || !contains(event->posF())) { return; } d->setHovered(true); @@ -485,7 +490,7 @@ void DecorationButton::hoverLeaveEvent(QHoverEvent *event) { - if (!d->enabled || !d->visible || !d->hovered || d->geometry.contains(event->posF())) { + if (!d->enabled || !d->visible || !d->hovered || contains(event->posF())) { return; } d->setHovered(false); @@ -502,7 +507,7 @@ if (!d->enabled || !d->visible || !d->hovered) { return; } - if (!d->geometry.contains(event->localPos())) { + if (!contains(event->localPos())) { d->setHovered(false); event->setAccepted(true); } @@ -510,7 +515,7 @@ void DecorationButton::mousePressEvent(QMouseEvent *event) { - if (!d->enabled || !d->visible || !d->geometry.contains(event->localPos()) || !d->acceptedButtons.testFlag(event->button())) { + if (!d->enabled || !d->visible || !contains(event->localPos()) || !d->acceptedButtons.testFlag(event->button())) { return; } d->setPressed(event->button(), true); @@ -533,7 +538,7 @@ if (!d->enabled || !d->visible || !d->isPressed(event->button())) { return; } - if (d->geometry.contains(event->localPos())) { + if (contains(event->localPos())) { if (!d->pressAndHold || event->button() != Qt::LeftButton) { emit clicked(event->button()); } else { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdecoration-5.13.5/src/decorationbutton.h new/kdecoration-5.14.0/src/decorationbutton.h --- old/kdecoration-5.13.5/src/decorationbutton.h 2018-09-04 12:06:30.000000000 +0200 +++ new/kdecoration-5.14.0/src/decorationbutton.h 2018-10-05 18:37:39.000000000 +0200 @@ -113,6 +113,11 @@ bool isCheckable() const; DecorationButtonType type() const; + /** + * Returns @c true if @p pos is inside of the button, otherwise returns @c false. + **/ + bool contains(const QPointF &pos) const; + Qt::MouseButtons acceptedButtons() const; void setAcceptedButtons(Qt::MouseButtons buttons);