[PD-dev] [ pure-data-Patches-3125858 ] Mac OS X key-command/focusin problem when opening patches

SourceForge.net noreply at sourceforge.net
Tue Dec 14 05:51:54 CET 2010


Patches item #3125858, was opened at 2010-12-02 15:31
Message generated for change (Settings changed) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3125858&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
>Status: Closed
>Resolution: Accepted
Priority: 7
Private: No
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: Miller Puckette (millerpuckette)
Summary: Mac OS X key-command/focusin problem when opening patches

Initial Comment:
Miller and I have been banging our heads against the Mac OS X-only bug where the menubar would get focus and flash when you hit keys, but the key command wouldn't work or do anything else.  It turns out that it is caused by the 'grab' command in the ::pdwindow::busygrab proc.  If you comment that out, then this bug goes away. Odd that it only affects Mac OS X...

The grab function is used to put up the busy cursor when Pd is loading a patch, and it also locks the user out of trying to do things, like edit a patch, while 'pd' is busy trying to load the patch.  This works by forcing the focus to be on the Pd window while 'pd' is busy.  It seems to work like a charm on X11 and Windows, but on Mac OS X, it causes the new windows to not get the FocusIn message, and therefore not set itself up properly.

This patch changes how the busy grab/release is done, as well has how pd-gui declares the patch loaded. hopefully things are easier to use without bugs.

----------------------------------------------------------------------

>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2010-12-13 23:51

Message:
included in git with this commit:
44edfc8d8f3decddf65c0a08c0b6a28d98df9149

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3125858&group_id=55736



More information about the Pd-dev mailing list