Artifacts Associated With Ticket d84d334ae6f7e4fb
Ticket change [e03aecaff1] (rid 208102) by anonymous on 2023-01-05 21:39:35:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-plain"
- comment initialized to:
Tk makes use of viewDidChangeBackingProperties, which is only available on macOS 10.7+. Wrapping viewDidChangeBackingProperties with preprocessor commands fixes the problem. See https://github.com/tcltk/tk/commit/b0cb1a48cb0c4a0118d45e8804476a6b4ab502c8 See also https://developer.apple.com/documentation/quartzcore/calayer/1410746-contentsscale --- macosx/tkMacOSXWindowEvent.c.orig +++ macosx/tkMacOSXWindowEvent.c @@ -1009,6 +1009,7 @@ return NO; } +#if !(MAC_OS_X_VERSION_MAX_ALLOWED < 1070) - (void) viewDidChangeBackingProperties { @@ -1021,6 +1022,7 @@ self.layer.contentsScale = self.window.screen.backingScaleFactor; } +#endif - (void) addTkDirtyRect: (NSRect) rect { - foundin initialized to: "8.6.13"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- private_contact initialized to: "b6e2920dc1a7f3b39bfd2ff6b366a164360c472f"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to: "Fix build on older macOS System"
- type initialized to: "Bug"
Ticket change [f701fd885b] (rid 208106) by jan.nijtmans on 2023-01-06 16:28:06:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2459951.18618332"
- closer changed to: "jan.nijtmans"
- icomment:
Fixed [https://core.tcl-lang.org/tk/info/a53edb5e18d399f7|here]
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"