does not work with older libvte / gtk
Bug #252971 reported by
Chris Jones
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Terminator |
Fix Released
|
Medium
|
chantra |
Bug Description
Older versions of vte (e.g. in Edgy) do not support things like compositing or transparency. Certain people are stuck in the past and hate the future, and supporting them would be no bad thing if it's not too hard.
Attached is a patch which shows what should be removed, except we obviously won't remove those things, rather trap the exceptions thrown by these bits being missing.
Changed in terminator: | |
importance: | Undecided → Medium |
milestone: | none → 1.0-beta |
status: | New → Triaged |
Changed in terminator: | |
status: | In Progress → Fix Committed |
Changed in terminator: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi. It seems also it lacks support for tab-reordering of Notebook and tooltips on gtk.Buttons, so the patch I gave to Chris Jones isn't fully working. (I must've handed him an old version)
I'm submitting an improved patch here, which is the approach I think I would use (instead of catching an exception on each of these calls).
It checks if gtk.Button lacks set_tooltip_text or gtk.Notebook lacks set_tab_ reorderable, if so, it sets a flag in Terminator called gtk_legacy_mode. In TerminatorTerm there are similar fixes, I check for if vte.Terminal has is_composited and set_background_ transparent, if missing, I set a private flag called _vte_legacy_mode.
These are then used to decide if we call the non-legacy methods.
Feel free to trash or apply this patch, it'll be what I'm running until I see an edgy-compatible .deb :p
Also, here are the local versions of the packages you have set as dependencies for the Terminator-package in the Ubuntu Hardy repositories:
$ dpkg -l gconf2 python python-central python-gnome2 python-vte
No packages found matching python-central.
Name Version Description ======= ======= ======= ======= -====== ======= ======= ======= ====-== ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======
+++-===
ii gconf2 2.14.0-1ubuntu2 GNOME configuration database system (support tools)
ii python 2.4.2-0ubuntu3 An interactive high-level object-oriented language (default version)
ii python-gnome2 2.12.4-0ubuntu1 Python bindings for the GNOME desktop environment
ii python-vte 0.12.2-0ubuntu1 Python bindings for the VTE widget set