[issue45103] IDLE: make configdialog font page survive font failures

2021-11-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: This has been (supposedly) fixed in tcl/tk 8.6.12, included with all our Windows installers starting with 3.9.9. Thank you for investigating reporting to tcl/tk. Bugfix list at

[issue45103] IDLE: make configdialog font page survive font failures

2021-10-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Bizarre. The SO OP just reported that deleting FiraCode fixed *his* 3.10 problem. There must be some unobvious difference in systems. -- ___ Python tracker

[issue45103] IDLE: make configdialog font page survive font failures

2021-10-08 Thread E. Paine
E. Paine added the comment: > Did the FiraCode font work for you or merely not work without crashing? It worked fine (other than a few missing features such as context-aware punctuation). The steps I did to test were: - Load IDLE - Enter config dialog - Set IDLE to use Fira Code font - Use

[issue45103] IDLE: make configdialog font page survive font failures

2021-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks. Did the FiraCode font work for you or merely not work without crashing? -- ___ Python tracker ___

[issue45103] IDLE: make configdialog font page survive font failures

2021-10-07 Thread E. Paine
E. Paine added the comment: I am unable to reproduce on either Python 3.9.6 (Tk 8.6.9) or 3.10.0 (Tk 8.6.10). -- ___ Python tracker ___

[issue45103] IDLE: make configdialog font page survive font failures

2021-10-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: A similar report, https://stackoverflow.com/questions/69466716/python-3-10-idle-does-not-respond-everytime-i-hit-configure-idle-from-options but with FiraCode font https://github.com/tonsky/FiraCode. The compatibility list includes IDLE as 'does not work'

[issue45103] IDLE: make configdialog font page survive font failures

2021-09-17 Thread E. Paine
E. Paine added the comment: https://core.tcl-lang.org/tk/tktview/0338867c742 IMO this should be closed as third-party, since there is very little we can / should do (yes we could remove the offending characters from the preview if the user has the font installed, but this is a lot of extra

[issue45103] IDLE: make configdialog font page survive font failures

2021-09-09 Thread E. Paine
E. Paine added the comment: It turns out the problem is a combination of the font and IDLE preview content. With the phaistos font installed, inserting the content of the "Devanagari, Tamil" or "East Asian" sections into a Tk text widget causes it to freeze. For example, the following will

[issue45103] IDLE: make configdialog font page survive font failures

2021-09-06 Thread E. Paine
E. Paine added the comment: IDLE is hanging on Lib/idlelib/configdialog.py:94 (`self.wait_window()`). Commenting this does not solve the problem: I think it's in the Tk event loop somewhere, since my debugger shows the Python callback completing successfully. This still doesn't explain the

[issue45103] IDLE: make configdialog font page survive font failures

2021-09-06 Thread E. Paine
E. Paine added the comment: > did problems occur without displaying any emoji I was using an unmodified version of IDLE. > If they include one of those characters in the font name displayed in the > font list This is not the case. It is listed simply as "Phaistos", when calling

[issue45103] IDLE: make configdialog font page survive font failures

2021-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: If nothing else, I should amend the doc note about font problems to include Windows if we verify the report. -- ___ Python tracker ___

[issue45103] IDLE: make configdialog font page survive font failures

2021-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for finding what I could not. Your previous message, referenced above, reporting a problem that remains in 8.6.11 on linux, was ... "For me, this is not limited to special characters. Trying to load anything in Tk using the 'JoyPixels' font

[issue45103] IDLE: make configdialog font page survive font failures

2021-09-06 Thread E. Paine
E. Paine added the comment: Apologies, my previous message was not clear. When the segfault occurs is not consistent and sometimes occurs when previewing the font (as reported in the linked message) but more often when clicking the "ok" button (for which the faulthandler details are

[issue45103] IDLE: make configdialog font page survive font failures

2021-09-06 Thread E. Paine
E. Paine added the comment: FTR, the issue mentioned is issue42225. msg380227 still applies for me (with Tk 8.6.11), with segfaults when I try to preview the font. For some reason, however, the segfault appears to be when we're closing the options window: Python 3.9.6 (default, Jun 30

[issue45103] IDLE: make configdialog font page survive font failures

2021-09-04 Thread Terry J. Reedy
New submission from Terry J. Reedy : There were reports on a previous issue that attempting to display some characters from some linux fonts in some distributions resulted in crashing Python. The crash reports mentioned XWindows errors about particular characters being too complex or