I doubt this is something that can be fixed easily on our end. I bet the problems lie with Tk.
On Jul 15, 2020, at 9:36 AM, pd-list-request@lists.iem.at wrote:
Date: Wed, 15 Jul 2020 09:36:58 +0200 From: Antoine Villeret <antoine.villeret@gmail.com mailto:antoine.villeret@gmail.com> To: Pd-List <pd-list@lists.iem.at mailto:pd-list@lists.iem.at> Subject: Re: [PD] Pd 0.50-2 on macos 11.0 BigSur beta Message-ID: <CAGn5wNer540FZuyKPaTS7hggqWpgjzqCvgxXODLRam+ueKVD_g@mail.gmail.com mailto:CAGn5wNer540FZuyKPaTS7hggqWpgjzqCvgxXODLRam+ueKVD_g@mail.gmail.com> Content-Type: text/plain; charset="utf-8"
Hi IOhannes,
I tried your patch as following :
% git diff tcl/pdtk_canvas.tcl diff --git a/tcl/pdtk_canvas.tcl b/tcl/pdtk_canvas.tcl index b4be07b3..3d1930fa 100644 --- a/tcl/pdtk_canvas.tcl +++ b/tcl/pdtk_canvas.tcl @@ -117,7 +117,8 @@ proc pdtk_canvas_new {mytoplevel width height geometry editable} { canvas $tkcanvas -width $width -height $height
-highlightthickness 0 -scrollregion [list 0 0 $width $height]
-xscrollcommand "$mytoplevel.xscroll set" \
-yscrollcommand "$mytoplevel.yscroll set"
-yscrollcommand "$mytoplevel.yscroll set" \
scrollbar $mytoplevel.xscroll -orient horizontal -command "$tkcanvas-background white
xview" scrollbar $mytoplevel.yscroll -orient vertical -command "$tkcanvas yview" pack $tkcanvas -side left -expand 1 -fill both
% make clean % make -j16 % mac/osx-app.sh 0.51-0patched
but got the same result : transparent patcher window (without title bar because I didn't override Wish)
cheers
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
You're right Dan, using Wish 8.6.10 works. 8.6.7 doesn't.
So upgrading WIsh is the key.
Thanks for your support
Best
Antoine
Le mer. 15 juil. 2020 à 10:23, Dan Wilcox danomatika@gmail.com a écrit :
I doubt this is something that can be fixed easily on our end. I bet the problems lie with Tk.
On Jul 15, 2020, at 9:36 AM, pd-list-request@lists.iem.at wrote:
Date: Wed, 15 Jul 2020 09:36:58 +0200 From: Antoine Villeret antoine.villeret@gmail.com To: Pd-List pd-list@lists.iem.at Subject: Re: [PD] Pd 0.50-2 on macos 11.0 BigSur beta Message-ID: CAGn5wNer540FZuyKPaTS7hggqWpgjzqCvgxXODLRam+ueKVD_g@mail.gmail.com Content-Type: text/plain; charset="utf-8"
Hi IOhannes,
I tried your patch as following :
% git diff tcl/pdtk_canvas.tcl diff --git a/tcl/pdtk_canvas.tcl b/tcl/pdtk_canvas.tcl index b4be07b3..3d1930fa 100644 --- a/tcl/pdtk_canvas.tcl +++ b/tcl/pdtk_canvas.tcl @@ -117,7 +117,8 @@ proc pdtk_canvas_new {mytoplevel width height geometry editable} { canvas $tkcanvas -width $width -height $height
-highlightthickness 0 -scrollregion [list 0 0 $width $height]
-xscrollcommand "$mytoplevel.xscroll set" \
-yscrollcommand "$mytoplevel.yscroll set"
-yscrollcommand "$mytoplevel.yscroll set" \
scrollbar $mytoplevel.xscroll -orient horizontal -command "$tkcanvas-background white
xview" scrollbar $mytoplevel.yscroll -orient vertical -command "$tkcanvas yview" pack $tkcanvas -side left -expand 1 -fill both
% make clean % make -j16 % mac/osx-app.sh 0.51-0patched
but got the same result : transparent patcher window (without title bar because I didn't override Wish)
cheers
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com robotcowboy.com