aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: gtk2-qt-engine  (Read 3766 times)

geearf

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
gtk2-qt-engine
« on: May 07, 2006, 11:57:45 AM »

Hello,

is there really no way for amule to work with the gtk2-qt-engine ?
It was crashing with latests cvs, so I tried removed the engine, but now all my gtk apps look kinda ugly... (especially firefox).

I think it's a wxwidgets bug, but I am not sure.

Thanks
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
RE: gtk2-qt-engine
« Reply #1 on: May 07, 2006, 02:39:49 PM »

Quote
Originally posted by geearf
I think it's a wxwidgets bug, but I am not sure.
Maybe a wxWidgets bug, maybe a bug in the gtk-qt-engine, maybe something else... Who knows?

But one thing is sure: gtk-qt-engine is dead. There were no relevant commits in 14 months:

http://webcvs.freedesktop.org/gtk-qt/gtk-qt-engine/

Only some very minor build fixes 3 months ago... Looks like a dead project.
Logged

geearf

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
Re: gtk2-qt-engine
« Reply #2 on: May 07, 2006, 04:00:53 PM »

well then I have two problems :
1- I like it, but it's okay
2- It's in Kubuntu's default metapackage so to remove it I have to remove the Kubuntu's default metapackage which is not something that nice.

But I'll try to look at other things,

thanks
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: gtk2-qt-engine
« Reply #3 on: May 07, 2006, 05:18:15 PM »

Well, I don't know if adding upstream-unmaintained software to a default meta-package is so much of a good idea, really... aMule is not the only application that triggers problems with this engine. I noticed that while looking at Novell's bugzilla a while ago - that's why even SuSE doesn't install it by default any more.

Some examples:

https://bugzilla.novell.com/show_bug.cgi?id=102955
https://bugzilla.novell.com/show_bug.cgi?id=100697
https://bugzilla.novell.com/show_bug.cgi?id=157455
https://bugzilla.novell.com/show_bug.cgi?id=157532
https://bugzilla.novell.com/show_bug.cgi?id=148238
https://bugzilla.novell.com/show_bug.cgi?id=118667
https://bugzilla.novell.com/show_bug.cgi?id=151164
https://bugzilla.novell.com/show_bug.cgi?id=128039
https://bugzilla.novell.com/show_bug.cgi?id=120573
https://bugzilla.novell.com/show_bug.cgi?id=143263

EDIT: Could you please check the version of your gtk-qt-engine? The last release (0.6) is really old, maybe a recent CVS snapshot works better.

And maybe you can disable the gtk-qt-engine just for aMule and keep it active for other applications by unsetting an environment variable. Could you please tell me all your environment variables that start with "$GTK*"? You can find them with this command:
Code: [Select]
env | grep '^GTK'
« Last Edit: May 07, 2006, 05:30:32 PM by Gerd78 »
Logged

geearf

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
Re: gtk2-qt-engine
« Reply #4 on: May 07, 2006, 05:49:41 PM »

Hello,

the version is :
0.60-1.1

and :
GTK_RC_FILES=/etc/gtk/gtkrc:/home/geearf/.gtkrc:/home/geearf/.kde/share/config/gtkrc
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/geearf/.gtkrc-2.0:/home/geearf/.kde/share/config/gtkrc-2.0
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: gtk2-qt-engine
« Reply #5 on: May 07, 2006, 05:57:42 PM »

OK. Create a shell script that removes $HOME/.kde/share/config/gtkrc-2.0 from the GTK2_RC_FILES environment variable and then executes the amule binary. Then use this shell script instead of the amule binary.

Like this:
Code: [Select]
#!/bin/sh
export GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/geearf/.gtkrc-2.0
exec amule "$@"
And by the way, the gtk-qt-engine is also a known guest in Ubuntu's bug tracker:

https://launchpad.net/distros/ubuntu/+source/gtk-qt-engine/+bug/36256

Maybe you can report the aMule problems there, otherwise they can't be fixed if nobody knows them. Ore use the upstream bugzilla at freedesktop.org, but as already said, there's not too much happening there any more.
Logged

geearf

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
Re: gtk2-qt-engine
« Reply #6 on: May 07, 2006, 06:16:04 PM »

I have already reported a bug :)

but thank you very much for your help.

I will try that.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: gtk2-qt-engine
« Reply #7 on: May 07, 2006, 06:48:45 PM »

Just for intererst: Is this causing messages like this:

(amule:24232): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed
Logged
Homefucking is killing prostitution

geearf

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
Re: gtk2-qt-engine
« Reply #8 on: May 08, 2006, 02:25:54 PM »

nope I don't have this error message.
Logged

geearf

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
Re: gtk2-qt-engine
« Reply #9 on: May 08, 2006, 02:27:49 PM »

oh by the way, Gerd78 your script looks fine now thanks
Logged