[PD-dev] [ pure-data-Bugs-2949009 ] pd-gui-rewrite unusable with NumLock

SourceForge.net noreply at sourceforge.net
Sun Feb 14 20:08:01 CET 2010


Bugs item #2949009, was opened at 2010-02-10 06:06
Message generated for change (Comment added) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2949009&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: pd-devel
>Group: v0.43
>Status: Pending
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: IOhannes m zmlnig (zmoelnig)
Assigned to: Hans-Christoph Steiner (eighthave)
Summary: pd-gui-rewrite unusable with NumLock 

Initial Comment:
when i have NumLock enabled, pd-gui-rewrite is unusable:
when creating an object, i cannot leave the creation (and thus trigger the instantiation) unless i resort to shortcuts like Ctrl-1.
i cannot connect objects
(trying to connect a messagebox will "click" it; trying to connect a numberbox will shift-drag it)

releasing NumLock fixes all problems

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

>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2010-02-14 14:08

Message:
I don't know why its a mask, but its in the C code, so I just left it as
is.  Here's my attempt at a fix, I don't really have numlock on my laptop,
so I can't really test it.  Let me know if it works for you.

http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=rev&revision=13171

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

Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2010-02-10 06:32

Message:
and whatever the good reasons behind adding alt/option press to the mouse
bindings, the "key-modifier" value sent to Pd is a _mask_.
since alt/option press uses the value "3", this means that the
key-modifier is actually "Shift+Alt" rather than a separate key.
is this by intention?

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

Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2010-02-10 06:26

Message:
the bug stems from binding the mouse to "Option-Buttonpress-1" in
pd_bindings.tcl:134, which was added with revision 12849:
http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=rev&revision=12849

probably on OSX the "Option-Click" has a meaning, on linux it should be
disabled.

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

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




More information about the Pd-dev mailing list