Public bug reported:

I am on Ubuntu 10.10 with the default X server, and the following Python
code crashes it every time:

from Tkinter import *
f=Frame()
f.option_add('*font', "-family {DejaVu Sans} -size -25 -weight normal -slant 
roman -underline 0 -overstrike 0")
f.pack()
text = StringVar(f)
entry = Entry(f, textvariable=text)
entry.pack()
text.set("a" * 600)
f.mainloop()

Unfortunately, I was not able to capture a backtrace with apport.  I'm
using an Asus X58Lseries laptop which I believe is 1280 x 800 (WXGA)
using an Intel GMA X3100 graphics chipset.  I have set System >
Preferences > Appearance > Fonts > Details > Resolution to 160 DPI for a
larger display.

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731424

Title:
  X crashes when I set a Python Tkinter edit control to display a long
  text string in 25pt DejaVu font

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to