[Kubuntu 9.04] gtk-qt-engine not working

Bug #326648 reported by Mark Greenwood
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk-qt-engine (Ubuntu)
Fix Released
High
Jonathan Thomas

Bug Description

Binary package hint: gtk-qt-engine

I know this may be regarded as a duplicate.. but please read it carefully.

Kubuntu Jaunty Alpha 4

It's known that gtk-qt-engine doesn't work unless libbonoboui2.0 is installed. But gtk-qt-engine doesn't have that as a dependency because nobody wants to include loads of gtk libraries on the CD. This is understandable.

There are a bunch of bugs logged against this problem. They have all been rejected with the reasoning that any gtk app will pull in libbonobo as a dependency, so it'll be OK. But I have to report that this is not the case. No gtk app I've installed today (eg Firefox as the highest-profile example) pulls in libbonobo and therefore the gtk-qt engine doesn't work.

(Firefox only pulls in libbonobo if you also install the ubuntu firefox extras - and that pulls in a heap of other stuff like synaptic which really isn't needed so most people don't do it).

It was only after an hour of Googling that I found out why it wasn't working.

I really think that the dependency of gtk-qt-engine on libbonoboui should be reinstated, and the gtk-qt-engine should not be installed by default. This is the approach taken by other distros. At the moment you have something installed that doesn't work and that will never work without installing some random library. Neither approach is ideal but it's better to not install it than it is to install it and have it not work.

Revision history for this message
Brice Arnould (un-brice) wrote :

Hello world !

Why not to rename the current package into gtk-qt-engine-base and to provide a package gtk-qt-engine which would be empty and depend on both gtk-qt-engine-base and libbonoboui ? This way people who installs libbonoboui would get the right behavior and people who explicitly ask for gtk-qt-engines too.

I would also like to suggest a hack... I do not know if it is feasible with regards to Ubuntu's packaging standards.
The iso version of kubuntu-desktop would suggest gtk-qt-engine and recommend gtk-qt-engine-base. A few days after the release, an update would recommend gtk-qt-engine and do no other changes.
It's ugly but it might works.

Maybe the answer shouldn't be those hacks and maybe we should think about a way to provide some trimed-down package on the CD. If people are interested we could try to find way of doing this, but since I'm far from being a apt guru and I know nothing of Ubuntu's policies, it's very very unlikely that I could find suitable solution.

Revision history for this message
jc1985 (jc1985) wrote :

please find a way to fix this, a lot of Kubuntu Jaunty users are gonna install firefox, and they will find it looks horrible.
The most advanced users will then go to systemsettings to try to change firefox's appearance. They will find that the "use my kde style in gtk applications" is already activated, and will be clueless about what to do next to fix this problem.

why not make firefox depends on libbonoboui?

Revision history for this message
KBios (kbios) wrote :

I think the simplest solution would be to make the bare gtk library depend on libbonoboui: that way, every gtk app would work without packaging changes.

Changed in gtk-qt-engine:
status: New → Confirmed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Since we aren't shipping this by default anymore, (replaced by gtk2-engines-qtcurve) we can just restore the Depends.

Changed in gtk-qt-engine (Ubuntu):
assignee: nobody → echidnaman
importance: Undecided → High
status: Confirmed → In Progress
Revision history for this message
Jonathan Thomas (echidnaman) wrote :
Revision history for this message
Jonathan Thomas (echidnaman) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtk-qt-engine - 1:1.1+svn20080816-0ubuntu7

---------------
gtk-qt-engine (1:1.1+svn20080816-0ubuntu7) jaunty; urgency=low

  * Restore ${shlibs:Depends}, ${misc:Depends} to debian/control now that
    gtk-qt-engine is no longer installed by default and we don't care if
    GTK gets pulled in as a dependency (LP: #326648)

 -- Jonathan Thomas <email address hidden> Sun, 22 Mar 2009 14:07:07 -0400

Changed in gtk-qt-engine:
status: In Progress → Fix Released
Revision history for this message
Mehul J. Rajput (mehulrajput) wrote :

So does it mean that no other qt4 style would be supported, we have to live with qtcurve as the only compatibility option????

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Nah, you can still install gtk-qt-engine if you want to. Just note that gtk-qt-engine will probably never get much better than it is now.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.