Public bug reported: 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 ** Affects: vte (Ubuntu) Importance: Undecided Status: New ** Description changed: 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.NEVER) then it is not a problem. - If it is (gtk.POLICY_NEVER,gtk.NEVER) it has the same problem as Bug - #635400 - could they be related? + 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 ** Description changed: 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) + 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 + 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/817875 Title: vte with scrollbar keeps growing in width To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vte/+bug/817875/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs