[issue26673] Tkinter error when opening IDLE configuration menu (Tcl/Tk 8.6)

2017-09-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +3652 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue26673] Tkinter error when opening IDLE configuration menu (Tcl/Tk 8.6)

2016-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would like to change the code a bit more (like using IntVar for size everywhere), but I don't want to do so without tests. The problem is that tk variables and font functions require a root window and none of the linux buildbots allow that. (They all run '

[issue26673] Tkinter error when opening IDLE configuration menu (Tcl/Tk 8.6)

2016-05-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset a873265366ba by Terry Jan Reedy in branch '2.7': Issue #26673: Protect IDLE from Linux fonts with reported default size 0. https://hg.python.org/cpython/rev/a873265366ba New changeset 1464df337152 by Terry Jan Reedy in branch '3.5': Issue #26673: Pr

[issue26673] Tkinter error when opening IDLE configuration menu (Tcl/Tk 8.6)

2016-05-22 Thread Odcar
Odcar added the comment: Terry J. Reedy: That fixes the problem for me! Xubuntu 16.04, Python 2.7.11+, Tk 8.6.5. I have not tried it in Idle for Python 3 though. -- nosy: +Odcar ___ Python tracker

[issue26673] Tkinter error when opening IDLE configuration menu (Tcl/Tk 8.6)

2016-05-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Anyone seeing problem: In /Lib/idlelib/configHandler.py, about line 685, in "if size < 0:", change '<' to '<='. Remove the workaround of overriding 'TkFixedFont' with 'courier'. Does this fix the problem? -- ___ P

[issue26673] Tkinter error when opening IDLE configuration menu (Tcl/Tk 8.6)

2016-05-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Mark, changing the default font from Courier to TkFixedFont has introduced or exposed a bug in any of IDLE, tkinter, or tk 8.6.4 on Linux. The result is that trying to open the configuration menu fails with TclError. What do your think is the best solution?

[issue26673] Tkinter error when opening IDLE configuration menu (Tcl/Tk 8.6)

2016-05-09 Thread Matthias Klose
Matthias Klose added the comment: using this as a work-around, not tested with Tcl/Tk 8.5 or older. --- a/Lib/idlelib/configDialog.py +++ b/Lib/idlelib/configDialog.py @@ -113,7 +113,11 @@ class ConfigDialog(Toplevel): def CreatePageFontTab(self): parent = self.parent -se

[issue26673] Tkinter error when opening IDLE configuration menu (Tcl/Tk 8.6)

2016-05-09 Thread Matthias Klose
Matthias Klose added the comment: Seen on Debian and Ubuntu as well. All these distros have in common to use Tcl/Tk 8.6. -- nosy: +doko title: Tkinter error when opening IDLE configuration menu -> Tkinter error when opening IDLE configuration menu (Tcl/Tk 8.6)