Your message dated Sun, 20 Jul 2008 23:02:42 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#484882: fixed in gtk-qt-engine 1:0.8-4
has caused the Debian Bug report #484882,
regarding gtk-qt-engine: fix focus rect drawing routine
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
484882: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484882
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: gtk-qt-engine
Severity: important
Tags: patch

Hello.

gtk-gt-engine's focus drawing routine re-draws background, and it prevents 
Firefox 3 from displaying some widgets normally (e.g., checkboxes and 
radiobuttons embedded into html).

This patch fixes this behaviour.

P.S. See also https://bugzilla.mozilla.org/show_bug.cgi?id=424367

-- 
WBR, Andrew
--- gtk-qt-engine-0.8.orig/src/qt_qt_wrapper.cpp	2008-06-07 00:05:35.000000000 +0300
+++ gtk-qt-engine-0.8/src/qt_qt_wrapper.cpp	2008-06-07 00:07:10.000000000 +0300
@@ -1720,7 +1720,6 @@
 	gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x, y, w, h);
 	g_object_unref(pix);
 }
-
 void drawFocusRect(GdkWindow * window, GtkStyle * style, int x, int y, int w, int h)
 {
 	if (!gtkQtEnable)
@@ -1733,10 +1732,10 @@
 	QPainter painter(&pixmap);
 	QColor bg(qApp->palette().active().background());
 
-	painter.fillRect(0,0,w,h,bg);
+	GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
+	gdk_draw_drawable(pix, style->bg_gc[GTK_STATE_NORMAL], window, x, y, 0, 0, w, h);
 	qApp->style().drawPrimitive(QStyle::PE_FocusRect, &painter, QRect(0,0,w,h), qApp->palette().active(), QStyle::Style_Default, QStyleOption(bg));
 
-	GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
 	gdk_draw_drawable(window, style->bg_gc[GTK_STATE_NORMAL], pix, 0, 0, x, y, w, h);
 	g_object_unref(pix);
 }

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
--- Begin Message ---
Source: gtk-qt-engine
Source-Version: 1:0.8-4

We believe that the bug you reported is fixed in the latest version of
gtk-qt-engine, which is due to be installed in the Debian FTP archive:

gtk-qt-engine_0.8-4.diff.gz
  to pool/main/g/gtk-qt-engine/gtk-qt-engine_0.8-4.diff.gz
gtk-qt-engine_0.8-4.dsc
  to pool/main/g/gtk-qt-engine/gtk-qt-engine_0.8-4.dsc
gtk-qt-engine_0.8-4_i386.deb
  to pool/main/g/gtk-qt-engine/gtk-qt-engine_0.8-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Venthur <[EMAIL PROTECTED]> (supplier of updated gtk-qt-engine package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 21 Jul 2008 00:26:42 +0200
Source: gtk-qt-engine
Binary: gtk-qt-engine
Architecture: source i386
Version: 1:0.8-4
Distribution: unstable
Urgency: low
Maintainer: Bastian Venthur <[EMAIL PROTECTED]>
Changed-By: Bastian Venthur <[EMAIL PROTECTED]>
Description: 
 gtk-qt-engine - theme engine using Qt for GTK+ 2.x
Closes: 484882
Changes: 
 gtk-qt-engine (1:0.8-4) unstable; urgency=low
 .
   * fix focus rect drawing routine (Closes: #484882), thanks Andrew O.
     Shadoura for the patches!
 .
   * New build dependency on dpatch
Checksums-Sha1: 
 bfadc025ea4c24a2497f3e680864077d797df5a4 1087 gtk-qt-engine_0.8-4.dsc
 e1c2ef645ca0edbd21882215726faea3c24d71aa 8396 gtk-qt-engine_0.8-4.diff.gz
 6e58143e4bc953ec596e994b4d85d2384b70a62f 116486 gtk-qt-engine_0.8-4_i386.deb
Checksums-Sha256: 
 72a18d3f3b87da825e070b8d0ab2abcb6255e58baa89ce620139be64458c1dc9 1087 
gtk-qt-engine_0.8-4.dsc
 97abf4febb8fabee839089f14f2124e4fc7ce78542c070a4b98b97ed697473e8 8396 
gtk-qt-engine_0.8-4.diff.gz
 b42f06e55570a08ff1dc84cc9c6186828b0c98560385a6e95fb97470f4c843c7 116486 
gtk-qt-engine_0.8-4_i386.deb
Files: 
 3e67f2cb22c3bdec5a0ad942126cfc71 1087 kde optional gtk-qt-engine_0.8-4.dsc
 d1204303bec4a39fae0e9f37a41ba662 8396 kde optional gtk-qt-engine_0.8-4.diff.gz
 9b3685e723594908754217a8df1409dd 116486 kde optional 
gtk-qt-engine_0.8-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkiDv/sACgkQmj66P/Yfc/imyQCfeXxz82RrPRvGRBANJEdKoRtc
cq4An3GsSu0l5PoB6Vwx83M4CKdvI4wb
=UO+U
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to