Actually, I checked and Safari shows CMD+ as the zoom in binding in the menu, so here’s the same patch with the previous + accelerator string but with the actual equals binding.

Attachment: zoom_bindings2.patch
Description: Binary data



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


On Apr 30, 2016, at 10:31 PM, Dan Wilcox <danomat...@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 <danomat...@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 <m...@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-requ...@lists.iem.at wrote:

From: Miller Puckette <m...@ucsd.edu <mailto:m...@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...@hotmail.com <mailto:liamg...@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




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

Reply via email to