[SCM] QtCurve packaging branch, master, updated. debian/1.8.18+git20160320-3d8622c-1-2-g8a76610

Boris Pek tehnick at moszumanska.debian.org
Wed Apr 27 13:02:28 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/qtcurve.git;a=commitdiff;h=9912704

The following commit has been merged in the master branch:
commit 9912704b6b81265fb0e668cd6b8318e35ab7b12b
Author: Boris Pek <tehnick-8 at yandex.ru>
Date:   Wed Apr 27 15:55:51 2016 +0300

    Add fix-segfault-in-qt4-style-on-mouse-move-to-window-title.patch.
---
 ...n-qt4-style-on-mouse-move-to-window-title.patch | 48 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 49 insertions(+)

diff --git a/debian/patches/fix-segfault-in-qt4-style-on-mouse-move-to-window-title.patch b/debian/patches/fix-segfault-in-qt4-style-on-mouse-move-to-window-title.patch
new file mode 100644
index 0000000..59e7640
--- /dev/null
+++ b/debian/patches/fix-segfault-in-qt4-style-on-mouse-move-to-window-title.patch
@@ -0,0 +1,48 @@
+Forwarded: no
+Last-Update: 2016-04-27
+Author: Boris Pek <tehnick-8 at mail.ru>
+Description: Fix segfault in Qt4 style
+ Fix segfault in applications based on Qt 4.x when user moves mouse cursor to
+ window title. Backtrace:
+
+...
+Program received signal SIGSEGV, Segmentation fault.
+0xb79dd2fb in QMenuBar::qt_metacast(char const*) ()
+   from /usr/lib/i386-linux-gnu/libQtGui.so.4
+(gdb) bt full
+#0  0xb79dd2fb in QMenuBar::qt_metacast(char const*) ()
+   from /usr/lib/i386-linux-gnu/libQtGui.so.4
+No symbol table info available.
+#1  0xb246ffcf in QObject::inherits (classname=0xb24c8954 "QComboBoxPrivateContainer", 
+    this=0x8243738) at /usr/include/qt4/QtCore/qobject.h:276
+No locals.
+#2  QtCurve::Style::eventFilter (this=0x8526058, object=0x8243738, event=0xbfffe874)
+    at ../../../qt4/style/qtcurve.cpp:2684
+        bar = 0x18
+        isSViewCont = <optimized out>
+#3  0xb72644d9 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
+    () from /usr/lib/i386-linux-gnu/libQtCore.so.4
+No symbol table info available.
+...
+
+diff --git a/qt4/style/qtcurve.cpp b/qt4/style/qtcurve.cpp
+--- a/qt4/style/qtcurve.cpp
++++ b/qt4/style/qtcurve.cpp
+@@ -2680,7 +2680,7 @@
+                     m_timer.start();
+                     m_progressBarAnimateTimer = startTimer(1000 / constProgressBarFps);
+                 }
+-            } else if(!(opts.square & SQUARE_POPUP_MENUS) &&
++            } /*else if(!(opts.square & SQUARE_POPUP_MENUS) &&
+                       object->inherits("QComboBoxPrivateContainer")) {
+                 QWidget *widget = static_cast<QWidget*>(object);
+                 if (Utils::hasAlphaChannel(widget)) {
+@@ -2690,7 +2690,7 @@
+                                                opts.round > ROUND_SLIGHT));
+                 }
+                 return false;
+-            } else if ((BLEND_TITLEBAR || opts.windowBorder&WINDOW_BORDER_USE_MENUBAR_COLOR_FOR_TITLEBAR || opts.menubarHiding&HIDE_KWIN) &&
++            }*/ else if ((BLEND_TITLEBAR || opts.windowBorder&WINDOW_BORDER_USE_MENUBAR_COLOR_FOR_TITLEBAR || opts.menubarHiding&HIDE_KWIN) &&
+                     qobject_cast<QMenuBar*>(object))
+             {
+                 QMenuBar *mb=(QMenuBar*)object;
diff --git a/debian/patches/series b/debian/patches/series
index 6f45899..52247e6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 enable-translations.patch
+fix-segfault-in-qt4-style-on-mouse-move-to-window-title.patch

-- 
QtCurve packaging



More information about the pkg-kde-commits mailing list