trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2012

Re: Problems with Gnome Interoperability

From: Calvin Morrison <mutantturkey@...>
Date: Fri, 13 Apr 2012 12:05:02 -0400
On 04/13/2012 01:35 AM, Tiago Marques wrote:
> Hi all,
>
> I seem to have stumbled into two nasty bugs with gtk-qt-engine:
>
> First, I couldn't use gnome's nm-applet because I was getting this error:
>
> "GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process
> is not supported"

Yes, nm-applet is now using GTK3. Unfortunately the reason it is 
crashing is because we preload our kgtk library (LD_PRELOAD environment 
variable). This kgtk library is based upon gtk2. any time those symbols 
or code mixes, it will crash.

A workaround is to remove the variable and then launch it.

> Second, I had been having some problems with Google Chrome where changing
> the default download directory wasn't working, it simply ignored the
> directory I selected in the dialog. This seems to also have been causing me
> a similar problema where e-mail attachments wouldn't be attached.
>
> Since removing qtk-qt-engine to test this hypothesis, everything is working
> as it should, despite being uglier.
>
> What is worse is that even when selecting what I thought was a GTK3 theme
> (oxygen-gtk), I still wasn't able to launch nm-applet and there was no
> option to disable this behavior, though I haven't found bugs like this in
> the past (and still don't on my Gentoo box running the patched KDE 3.5.10),
> though I have seen instances where checkboxes aren't rendering
> Should I submit a bug report or has anyone already found and filled
> something like this?

Submit a bug report for gtk2 problems only, and the conflicts i 
mentioned above. A GTK3 engine is on the wishlist but is unlikely to 
happen anytime soon.

Calvin