Package: gtk2-engines-qtcurve
Severity: important
Tags: patch upstream

Inkscape is unusable using qtcurve theme
looks at this report:

https://github.com/QtCurve/qtcurve-gtk2/issues/3

attached patch fixed the problem for me

Regards


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages gtk2-engines-qtcurve depends on:
ii  libc6                2.19-18
ii  libcairo2            1.14.2-2
ii  libgdk-pixbuf2.0-0   2.31.4-1
ii  libglib2.0-0         2.44.1-1
ii  libgtk2.0-0          2.24.25-3
ii  libpango-1.0-0       1.36.8-3
ii  libpangocairo-1.0-0  1.36.8-3
ii  libx11-6             2:1.6.3-1

Versions of packages gtk2-engines-qtcurve recommends:
pn  kde-style-qtcurve  <none>

gtk2-engines-qtcurve suggests no packages.
--- a/style/qtcurve.c.orig	2015-05-25 19:56:19.015463431 +0200
+++ b/style/qtcurve.c	2015-05-25 19:57:04.623464515 +0200
@@ -389,7 +389,7 @@
         drawWindowBgnd(cr, style, NULL, window, widget, x, y, width, height);
     else if(!(GTK_APP_JAVA==qtSettings.app && widget && GTK_IS_LABEL(widget)))
     {
-        if(GTK_STATE_PRELIGHT==state && !opts.crHighlight && 0==strcmp(detail, "checkbutton"))
+        if(GTK_STATE_PRELIGHT==state && !opts.crHighlight && (detail && (0==strcmp(detail, "checkbutton"))))
             ;
         else
             parent_class->draw_flat_box(style, window, state, shadow, area, widget, detail, x, y, width, height);

Reply via email to