[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#525990: webkit crash if gtk-qt-engine enabled and browsing flash web sites



Package: libqt4-webkit
Version: 4.5.1-1
Severity: important
Tags: patch

Hi,
using arora compiled with flash support (that's with qt >= 4.5 ) and browsing
web sites with flash widgets make arora crash if gtk-qt-engine enabled.
Recompiling qt4 with the attached patch solves the problem.
The patch simply unset GTK2_RC_FILES env variable in pluginview code forcing 
use of standard default gtk theme.


My two cents.
Andrea.

--- qt4-x11-4.5.1/src/3rdparty/webkit/WebCore/plugins/PluginView.cpp	2009-04-22 01:57:40.000000000 +0200
+++ qt4-x11-4.5.1/src/3rdparty/webkit/WebCore/plugins/PluginView.cpp	2009-04-28 09:17:05.000000000 +0200
@@ -154,6 +154,8 @@
     if (m_isStarted)
         return false;
 
+    setenv( "GTK2_RC_FILES", "", 1 );
+
     PluginMainThreadScheduler::scheduler().registerPlugin(m_instance);
 
     ASSERT(m_plugin); 

Reply to: