Skip to content

Commit 4a8b405

Browse files
authored
bpo-44828: macOS installer: avoid leaving a zombie Save panel in Tk 8.6.12rc1 (GH-29367)
1 parent 38982ab commit 4a8b405

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--- tk8.6.12/macosx/tkMacOSXDialog.c 2021-10-29 17:08:23.000000000 +0000
2+
+++ tk8.6.12-patched/macosx/tkMacOSXDialog.c 2021-11-02 19:04:59.000000000 +0000
3+
@@ -379,6 +379,7 @@
4+
[NSApp tkFilePanelDidEnd:panel
5+
returnCode:modalReturnCode
6+
contextInfo:callbackInfo ];
7+
+ [parent endSheet:panel];
8+
}
9+
} else {
10+
modalReturnCode = [panel runModal];

Mac/BuildScript/build-installer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def library_recipes():
269269
tcl_checksum='82fd1637c0f7d4b76cb909f8abc373ec'
270270

271271
tk_checksum='d63c3b91b86cd8b6fa54e83ef2c5153e'
272-
tk_patches = [ ]
272+
tk_patches = ['bpo-44828-filedialog-crash-monterey-8612rc1.patch']
273273

274274

275275
result.extend([

0 commit comments

Comments
 (0)