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

Bug#537298: openoffice.org: Starting Ooo gives the warning "** (soffice:6473): WARNING **: unable to get gail version number"



reassign 537298 openoffice.org-gtk
close 537298 1:3.1.0~rc1-1
thanks

Hi,

Julian Gilbey wrote:
> Version: 1:3.0.1-9

I'd have been bice if you would have checked with sids version instead
of the unsupported version currently in testing.

> When starting openoffice.org - any of the suite - from a terminal, I
> get the warning message:
> ** (soffice:6473): WARNING **: unable to get gail version number
> (where 6473 will be replaced by the process id).
> 
> Hopefully this is harmless, but if so, why the warning?

Because atk_get_toolkit_version() fails. Did you have Accessibility enabled
and atk/libgail etc installed?

bool InitAtkBridge(void)
{
    const char* pVersion = atk_get_toolkit_version();
    if( ! pVersion )
    {
        g_warning( "unable to get gail version number" );
        return false;
    }
[...]

This is patched in ooo-build some time ago already with

--- vcl/unx/gtk/a11y/atkbridge.cxx.old  2009-04-02 12:44:27.000000000 +0200
+++ vcl/unx/gtk/a11y/atkbridge.cxx      2009-04-03 20:19:54.000000000 +0200
@@ -44,7 +44,9 @@ bool InitAtkBridge(void)
     const char* pVersion = atk_get_toolkit_version();
     if( ! pVersion )
     {
-        g_warning( "unable to get gail version number" );
+        // InitAtkBridge is always called; we should not bother users with a warning
+        // if they have not enabled the accessibilty support on their system
+        // g_warning( "unable to get gail version number" );
         return false;
     }

-> fixed :) Obviously not the most beautiful fix, but.. :-)

No idea why atk_get_toolkit_version() fails, though :)

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73




Reply to: