Skip to content
Tcl Source Code History Of Ticket d84d334ae6f7e4fb
Login

History Of Ticket d84d334ae6f7e4fb

Artifacts Associated With Ticket d84d334ae6f7e4fb

  1. Ticket change [e03aecaff1] (rid 208102) by anonymous on 2023-01-05 21:39:35:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. 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
       {
      
    5. foundin initialized to: "8.6.13"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "b6e2920dc1a7f3b39bfd2ff6b366a164360c472f"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "- New Builtin Commands"
    15. title initialized to: "Fix build on older macOS System"
    16. type initialized to: "Bug"
  2. Ticket change [f701fd885b] (rid 208106) by jan.nijtmans on 2023-01-06 16:28:06:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2459951.18618332"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      Fixed [https://core.tcl-lang.org/tk/info/a53edb5e18d399f7|here]
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"