This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author roger.serwy
Recipients David.Pietz, christian.heimes, ned.deily, r.david.murray, rhettinger, roger.serwy, wordtech
Date 2012-10-12.15:42:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350056538.52.0.0941929617087.issue15853@psf.upfronthosting.co.za>
In-reply-to
Content
It appears that Kevin's patch is working around a bug in Tkinter's tkFont object configuration. I would suggest removing the editFont object entirely from configDialog if it is truly the root cause of Tk crashing.

Kevin, is the .textHighlightSample causing the crash or is the editFont.config line causing the crash?

Setting the font in the Fonts/Tab pane should also change the font in the Highlighting pane. This is part of issue14876. Would the following still work on your version of IDLE?

    newFont = (fontName, self.fontSize.get(), fontWeight)
    self.labelFontSample.config(font = newFont)
    self.textHighlightSample.configure(font=newFont)

Also, since this is a problem with Tk itself, can the crashing behavior be isolated into a small test script? I don't have a Mac to test with.
History
Date User Action Args
2012-10-12 15:42:18roger.serwysetrecipients: + roger.serwy, rhettinger, wordtech, christian.heimes, ned.deily, r.david.murray, David.Pietz
2012-10-12 15:42:18roger.serwysetmessageid: <1350056538.52.0.0941929617087.issue15853@psf.upfronthosting.co.za>
2012-10-12 15:42:18roger.serwylinkissue15853 messages
2012-10-12 15:42:18roger.serwycreate