To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=77884
                 Issue #|77884
                 Summary|disable poorly performing hack for gtk+ themes ...
               Component|gsl
                 Version|680m211
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|pl
             Reported by|mmeeks





------- Additional comments from [EMAIL PROTECTED] Tue May 29 09:11:15 +0000 
2007 -------
So - it seems this patch got lost a while back from:

http://www.openoffice.org/issues/show_bug.cgi?id=50857

hopefully it's function is obvious; and we've been shipping it since then on
both KDE & Gnome with no reported issues:

--- vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
+++ vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
@@ -392,10 +393,15 @@ void GtkData::initNWF( void )
     pSVData->maNWFData.mbDockingAreaSeparateTB = true;
     
     if( SalGetDesktopEnvironment().equalsAscii( "KDE" ) )
-        // KDE 3.3 invented a bug in the qt<->gtk theme engine
-        // that makes direct rendering impossible: they totally
-        // ignore the clip rectangle passed to the paint methods
-        GtkSalGraphics::bNeedPixmapPaint =
GtkSalGraphics::bGlobalNeedPixmapPaint = true;
+       {
+               if( g_type_from_name( "QtEngineStyle" ) )
+               {
+                       // KDE 3.3 invented a bug in the qt<->gtk theme engine
+                       // that makes direct rendering impossible: they totally
+                       // ignore the clip rectangle passed to the paint methods
+                       GtkSalGraphics::bNeedPixmapPaint = 
GtkSalGraphics::bGlobalNeedPixmapPaint =
true;
+               }
+       }
     static const char* pEnv = getenv( "SAL_GTK_USE_PIXMAPPAINT" );
     if( pEnv && *pEnv )
         GtkSalGraphics::bNeedPixmapPaint =
GtkSalGraphics::bGlobalNeedPixmapPaint = true;


It sucks to hobble all gtk+ rendering for the sake of this 1 badly behaved
version of 1 badly behaved theme plugin.

Thanks.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to