← Back to team overview

desktop-packages team mailing list archive

[Bug 817875] Re: vte with scrollbar keeps growing in width

 

[Expired for vte (Ubuntu) because there has been no activity for 60
days.]

** Changed in: vte (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to vte in Ubuntu.
https://bugs.launchpad.net/bugs/817875

Title:
  vte with scrollbar keeps growing in width

Status in “vte” package in Ubuntu:
  Expired

Bug description:
  In Natty with thin scrollbars, a vte widget inside a Scrollwindow will keep incrementally growing wider and wider.
  This only happens with no horizontal scrollbar and with vertical scrollbar, and it only happens with the thin scrollbars on Natty. If the old-style scrollbars are used, this is not a problem. The following code will show the problem:

  -----------------------------
  #!/usr/bin/env python
  import gtk
  import vte
  v = vte.Terminal()
  v.connect ("child-exited", lambda term: gtk.main_quit())
  scroll = gtk.ScrolledWindow()
  scroll.set_policy(gtk.POLICY_NEVER,gtk.POLICY_ALWAYS)
  scroll.add(v)
  window = gtk.Window()
  window.add(scroll)
  window.connect('delete-event', lambda window, event: gtk.main_quit())
  window.show_all()
  gtk.main()
  --------------------------------

  If set_policy is (gtk.POLICY_ALWAYS,gtk.POLICY_ALWAYS)
  or (gtk.POLICY_AUTOMATIC,gtk.POLICY_NEVER) then it is not a problem.

  If it is (gtk.POLICY_NEVER,gtk.POLICY_NEVER) it has the same problem as 
  Bug #635400 - could they be related?

  libvte9	1:0.27.90-0ubuntu1
  python-vte	1:0.27.90-0ubuntu1
  python-gtk2	2.22.0-0ubuntu1.1
  python2.7	2.7.1-5ubuntu2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vte/+bug/817875/+subscriptions