Also, I noticed Safari will zoom whether you do CMD= or CMD+, so I guess they are covering both uses of the key…

--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com

On Apr 30, 2016, at 10:31 PM, Dan Wilcox <danomatika@gmail.com> wrote:

Never mind, I was wrong. It *is* working, but I’d suggest binding to minus and equals instead of minus and plus so Shift is not required. This is how most web browsers provide zoom controls, with the addition of Mod+0 as a reset to default zoom level.

Also, I noticed the accelerator strings in pd_menus.tcl were not showing the key bindings in the menu. The chars don’t need to be quoted to work so the following works on OSX (at least): -accelerator "$accelerator+=“.

In any case, here’s a small patch that fixes the accelerators and changes the + to =.

<zoom_bindings.patch>



On Apr 30, 2016, at 3:21 PM, Dan Wilcox <danomatika@gmail.com> wrote:

I’ll give it a try. I’m also testing with my builds in the autotools_update branch so my problem could be more of a Tk 8.5 issue on Mac. There are a number of things to fix that break a little between 8.4 & 8.5 on mac as far as my testing goes.


On Apr 30, 2016, at 1:56 PM, Miller Puckette <msp@ucsd.edu> wrote:

Baffling... the line in pd_bindings.tcl that ought to work is this:

   bind all <$::modifier-Key-plus>    {menu_send_float %W zoom 2}

... and I can't get this not to work, either on 2 linux boxes (one a laptop)
nor on a MAC OSX 6.x desktop... what can I be missing???

thanks
M

On Sat, Apr 30, 2016 at 01:10:47PM -0600, Dan Wilcox wrote:
Doesn’t work for me on OSX either.

--------
Dan Wilcox
@danomatika <https://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>
On Apr 30, 2016, at 1:06 PM, pd-list-request@lists.iem.at wrote:

From: Miller Puckette <msp@ucsd.edu <mailto:msp@ucsd.edu>>
Subject: Re: [PD] [PD-announce] pd 0.47-0test2 released
Date: April 30, 2016 at 12:25:58 PM MDT
To: Liam Goodacre <liamg_uw@hotmail.com <mailto:liamg_uw@hotmail.com>>
Cc: "pd-list@lists.iem.at <mailto:pd-list@lists.iem.at>" <pd-list@lists.iem.at <mailto:pd-list@lists.iem.at>>


I still can't reproduce this... you're indeed hitting the shift key along
with control so taht it's ctrl-+ and not ctrl-=, right?  Just tried on a
Fedora laptop with no problem.

cheers
Miller


_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list