Hello community,

here is the log from the commit of package knotes for openSUSE:Factory checked 
in at 2018-07-18 22:43:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/knotes (Old)
 and      /work/SRC/openSUSE:Factory/.knotes.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "knotes"

Wed Jul 18 22:43:33 2018 rev:21 rq:622701 version:18.04.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/knotes/knotes.changes    2018-06-13 
15:23:56.630682165 +0200
+++ /work/SRC/openSUSE:Factory/.knotes.new/knotes.changes       2018-07-18 
22:43:36.533015926 +0200
@@ -1,0 +2,11 @@
+Fri Jul 13 04:50:02 UTC 2018 - [email protected]
+
+- Update to 18.04.3
+  * New bugfix release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-18.04.3.php
+- Changes since 18.04.2:
+  * Apply patch from Robert Hoffmann
+  * Apply patch from Robert Hoffmann (kde#358973)
+
+-------------------------------------------------------------------

Old:
----
  knotes-18.04.2.tar.xz

New:
----
  knotes-18.04.3.tar.xz

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

Other differences:
------------------
++++++ knotes.spec ++++++
--- /var/tmp/diff_new_pack.eOjJGv/_old  2018-07-18 22:43:36.993014402 +0200
+++ /var/tmp/diff_new_pack.eOjJGv/_new  2018-07-18 22:43:36.993014402 +0200
@@ -19,7 +19,7 @@
 %bcond_without lang
 
 Name:           knotes
-Version:        18.04.2
+Version:        18.04.3
 Release:        0
 %define kf5_version 5.26.0
 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)

++++++ knotes-18.04.2.tar.xz -> knotes-18.04.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knotes-18.04.2/CMakeLists.txt 
new/knotes-18.04.3/CMakeLists.txt
--- old/knotes-18.04.2/CMakeLists.txt   2018-06-05 03:22:50.000000000 +0200
+++ new/knotes-18.04.3/CMakeLists.txt   2018-07-10 02:14:46.000000000 +0200
@@ -1,4 +1,4 @@
-set(KDEPIM_VERSION_NUMBER "5.8.2")
+set(KDEPIM_VERSION_NUMBER "5.8.3")
 cmake_minimum_required(VERSION 3.1)
 project(knotes VERSION ${KDEPIM_VERSION_NUMBER})
 
@@ -42,15 +42,15 @@
 set(KDEPIM_LIB_SOVERSION "5")
 
 
-set(AKONADINOTES_LIB_VERSION "5.8.2")
-set(AKONADI_VERSION "5.8.2")
-set(CALENDARUTILS_LIB_VERSION "5.8.2")
-set(KDEPIM_APPS_LIB_VERSION "5.8.2")
-set(KONTACTINTERFACE_LIB_VERSION "5.8.2")
-set(KPIMTEXTEDIT_LIB_VERSION "5.8.2")
-set(LIBKDEPIM_LIB_VERSION "5.8.2")
-set(KMIME_LIB_VERSION "5.8.2")
-set(PIMCOMMON_LIB_VERSION "5.8.2")
+set(AKONADINOTES_LIB_VERSION "5.8.3")
+set(AKONADI_VERSION "5.8.3")
+set(CALENDARUTILS_LIB_VERSION "5.8.3")
+set(KDEPIM_APPS_LIB_VERSION "5.8.3")
+set(KONTACTINTERFACE_LIB_VERSION "5.8.3")
+set(KPIMTEXTEDIT_LIB_VERSION "5.8.3")
+set(LIBKDEPIM_LIB_VERSION "5.8.3")
+set(KMIME_LIB_VERSION "5.8.3")
+set(PIMCOMMON_LIB_VERSION "5.8.3")
 
 
 set(QT_REQUIRED_VERSION "5.8.0")
@@ -94,7 +94,7 @@
 find_package(KF5PimTextEdit ${KPIMTEXTEDIT_LIB_VERSION} CONFIG REQUIRED)
 
 
-find_package(KF5AkonadiSearch "5.8.2" CONFIG REQUIRED)
+find_package(KF5AkonadiSearch "5.8.3" CONFIG REQUIRED)
 set_package_properties(KF5AkonadiSearch PROPERTIES DESCRIPTION "The Akonadi 
Search libraries" URL "http://www.kde.org"; TYPE REQUIRED PURPOSE "Provides 
search capabilities in KMail and Akonadi")
 
 if (NOT APPLE)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knotes-18.04.2/po/zh_CN/akonadi_notes_agent.po 
new/knotes-18.04.3/po/zh_CN/akonadi_notes_agent.po
--- old/knotes-18.04.2/po/zh_CN/akonadi_notes_agent.po  2018-06-05 
03:22:44.000000000 +0200
+++ new/knotes-18.04.3/po/zh_CN/akonadi_notes_agent.po  2018-07-10 
02:14:46.000000000 +0200
@@ -8,7 +8,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2018-01-02 03:15+0100\n"
-"PO-Revision-Date: 2018-05-18 06:29-0400\n"
+"PO-Revision-Date: 2018-07-03 17:39\n"
 "Last-Translator: guoyunhebrave <[email protected]>\n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knotes-18.04.2/po/zh_CN/knotes.po 
new/knotes-18.04.3/po/zh_CN/knotes.po
--- old/knotes-18.04.2/po/zh_CN/knotes.po       2018-06-05 03:22:44.000000000 
+0200
+++ new/knotes-18.04.3/po/zh_CN/knotes.po       2018-07-10 02:14:46.000000000 
+0200
@@ -13,7 +13,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2018-01-02 03:15+0100\n"
-"PO-Revision-Date: 2018-05-18 06:29-0400\n"
+"PO-Revision-Date: 2018-07-03 17:39\n"
 "Last-Translator: guoyunhebrave <[email protected]>\n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
@@ -770,7 +770,7 @@
 msgid ""
 "<qt>A file named <b>%1</b> already exists.<br />Are you sure you want to "
 "overwrite it?</qt>"
-msgstr "<qt>已经存在名为 <b>%1</b> 的文件。<br />您确定想要覆盖吗?</qt>"
+msgstr "<qt>已经存在名为 <b>%1</b> 的文件。<br />您确定要覆盖吗?</qt>"
 
 #: kontactplugin/knotes_plugin.cpp:62
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knotes-18.04.2/po/zh_CN/libnoteshared.po 
new/knotes-18.04.3/po/zh_CN/libnoteshared.po
--- old/knotes-18.04.2/po/zh_CN/libnoteshared.po        2018-06-05 
03:22:44.000000000 +0200
+++ new/knotes-18.04.3/po/zh_CN/libnoteshared.po        2018-07-10 
02:14:46.000000000 +0200
@@ -7,7 +7,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2017-09-15 03:37+0200\n"
-"PO-Revision-Date: 2018-05-18 06:29-0400\n"
+"PO-Revision-Date: 2018-07-03 17:40\n"
 "Last-Translator: guoyunhebrave <[email protected]>\n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knotes-18.04.2/src/data/org.kde.knotes.desktop 
new/knotes-18.04.3/src/data/org.kde.knotes.desktop
--- old/knotes-18.04.2/src/data/org.kde.knotes.desktop  2018-05-29 
08:54:54.000000000 +0200
+++ new/knotes-18.04.3/src/data/org.kde.knotes.desktop  2018-06-29 
07:03:39.000000000 +0200
@@ -156,6 +156,7 @@
 Name[ar]=ملاحظة جديدة
 Name[ca]=Nota nova
 Name[ca@valencia]=Nota nova
+Name[cs]=Nová poznámka
 Name[de]=Neue Notiz
 Name[en_GB]=New Note
 Name[es]=Nueva nota
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knotes-18.04.2/src/notes/knote.cpp 
new/knotes-18.04.3/src/notes/knote.cpp
--- old/knotes-18.04.2/src/notes/knote.cpp      2018-05-29 08:54:54.000000000 
+0200
+++ new/knotes-18.04.3/src/notes/knote.cpp      2018-06-29 07:03:39.000000000 
+0200
@@ -1180,14 +1180,27 @@
                 slotRename();
             }
         }
+
+        if (ev->type() == QEvent::MouseButtonPress
+            && (   (e->buttons() & Qt::LeftButton) == Qt::LeftButton
+                || (e->buttons() & Qt::MidButton)  == Qt::MidButton)) {
+            mOrigPos = e->pos();
+            return false;
+        }
+
         if (ev->type() == QEvent::MouseMove
-            && (e->button() == Qt::LeftButton || e->button() == 
Qt::MidButton)) {
-            move(e->globalPos());
+            && (   (e->buttons() & Qt::LeftButton) == Qt::LeftButton
+                || (e->buttons() & Qt::MidButton)  == Qt::MidButton)) {
+            QPoint newPos = e->globalPos() - mOrigPos - QPoint(1, 1);
+            move(newPos);
             return true;
         }
 
-        if (ev->type() == QEvent::MouseButtonRelease) {
-            move(e->globalPos());
+        if (ev->type() == QEvent::MouseButtonRelease
+            && (   (e->buttons() & Qt::LeftButton) == Qt::LeftButton
+                || (e->buttons() & Qt::MidButton)  == Qt::MidButton)) {
+            QPoint newPos = e->globalPos() - mOrigPos - QPoint(1, 1);
+            move(newPos);
             return false;
         }
         return false;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knotes-18.04.2/src/notes/knote.h 
new/knotes-18.04.3/src/notes/knote.h
--- old/knotes-18.04.2/src/notes/knote.h        2018-05-29 08:54:54.000000000 
+0200
+++ new/knotes-18.04.3/src/notes/knote.h        2018-06-29 07:03:39.000000000 
+0200
@@ -161,6 +161,7 @@
 
     KNoteDisplaySettings *mDisplayAttribute = nullptr;
     bool mAllowDebugAkonadiSearch;
+    QPoint mOrigPos;
 };
 
 #endif


Reply via email to