Re: [PD] Creating a GUI object on Pd 0.48.1 with keyboard shortcut create two objects on MacOSX

2018-03-24 Thread Jack
OK ! The bug seems to exist only on MacOSX and on a french Keyboard. No
probleme here with Ubuntu 17.10 and a french keyboard too.
++

Jack



Le 24/03/2018 à 11:32, Dan Wilcox a écrit :
>> I dont know if this is related, but on my system,
>>
>> Keyup object outputs  its value immediately after key, when I press a
>> key, not when I release it.
> 
> This is known: https://github.com/pure-data/pure-data/issues/213
> 
> It's not directly related but more an issue with the TK Cocoa backend. 
> 
> 
> Dan Wilcox
> @danomatika 
> danomatika.com 
> robotcowboy.com 
> 
> 
> 


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


Re: [PD] Creating a GUI object on Pd 0.48.1 with keyboard shortcut create two objects on MacOSX

2018-03-24 Thread Dan Wilcox
> I dont know if this is related, but on my system,
> 
> Keyup object outputs  its value immediately after key, when I press a
> key, not when I release it.


This is known: https://github.com/pure-data/pure-data/issues/213 


It's not directly related but more an issue with the TK Cocoa backend. 


Dan Wilcox
@danomatika 
danomatika.com 
robotcowboy.com 



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


Re: [PD] Creating a GUI object on Pd 0.48.1 with keyboard shortcut create two objects on MacOSX

2018-03-23 Thread Dan Wilcox
After some testing, it looks like the issue is how the Tk is handling the Shift 
key with the French keyboard mapping.

For example, the Bang shortcut is bound as:

bind all <$::modifier-Shift-Key-B> {menu_send %W bng}
bind all <$::modifier-Shift-Key-b> {menu_send %W bng}

and the menu item:

$mymenu add command -label [_ "Bang"] -accelerator "$accelerator+Shift+B" \
-command {menu_send $::focused_window bng}

With the English keyboard mapping, the $::modifier-Shift-Key-b fires and the 
menu item's command is ignored (expected behavior).

With the French keyboard mapping, the $::modifier-Shift-Key-B fires AND the 
menu item command fires. It seems as though the capital B doesn't get matched 
to the menu accelerator binding.

The German keyboard mapping behaves the same as the English one.

> On Mar 23, 2018, at 10:29 PM, Dan Wilcox  wrote:
> 
> I can confirm seeing this with a French keyboard mapping and my system set to 
> English.


Dan Wilcox
@danomatika 
danomatika.com 
robotcowboy.com 



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


Re: [PD] Creating a GUI object on Pd 0.48.1 with keyboard shortcut create two objects on MacOSX

2018-03-23 Thread Dan Wilcox
I can confirm seeing this with a French keyboard mapping and my system set to 
English.

> On Mar 23, 2018, at 11:28 AM, Jack  wrote:
> 
> It is with : Tk 8.5.19
> ++
> 
> Jack
> 
> Le 22/03/2018 à 18:21, Dan Wilcox a écrit :
>> Ok thanks for checking.
>> 
>> At least we can confirm it's a system language issue, although I'm
>> thinking it's more of a bug in Tk. Which version of TK does it display
>> when you put the log to all?
>> 
>> I'm wondering if it's also related to setting the available languages in
>> the app bundle. I'll see if I can look into it as it's pretty annoying.
>> I ran into the same problem with earlier buggy versions of Tk < 8.5.13.
>> 
>>> On Mar 22, 2018, at 5:53 PM, pd-list-requ...@lists.iem.at
>>>  wrote:
>>> 
>>> From: Jack >
>>> To: pd-list@lists.iem.at 
>>> Subject: Re: [PD] Creating a GUI object on Pd 0.48.1 with keyboard
>>> shortcut create two objects on MacOSX
>>> Message-ID: <163110eb-5078-0c07-8594-da9e350e3...@rybn.org
>>> >
>>> Content-Type: text/plain; charset=utf-8
>>> 
>>> Yep, I confirm.
>>> I asked to a participant to launch Pd in english, but it doesn't solve
>>> the problem.
>>> ++
>>> 
>>> Jack
> 


Dan Wilcox
@danomatika 
danomatika.com 
robotcowboy.com 



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


Re: [PD] Creating a GUI object on Pd 0.48.1 with keyboard shortcut create two objects on MacOSX

2018-03-23 Thread Jack
It is with : Tk 8.5.19
++

Jack



Le 22/03/2018 à 18:21, Dan Wilcox a écrit :
> Ok thanks for checking.
> 
> At least we can confirm it's a system language issue, although I'm
> thinking it's more of a bug in Tk. Which version of TK does it display
> when you put the log to all?
> 
> I'm wondering if it's also related to setting the available languages in
> the app bundle. I'll see if I can look into it as it's pretty annoying.
> I ran into the same problem with earlier buggy versions of Tk < 8.5.13.
> 
>> On Mar 22, 2018, at 5:53 PM, pd-list-requ...@lists.iem.at
>>  wrote:
>>
>> From: Jack >
>> To: pd-list@lists.iem.at 
>> Subject: Re: [PD] Creating a GUI object on Pd 0.48.1 with keyboard
>> shortcut create two objects on MacOSX
>> Message-ID: <163110eb-5078-0c07-8594-da9e350e3...@rybn.org
>> >
>> Content-Type: text/plain; charset=utf-8
>>
>> Yep, I confirm.
>> I asked to a participant to launch Pd in english, but it doesn't solve
>> the problem.
>> ++
>>
>> Jack
> 
> 
> Dan Wilcox
> @danomatika 
> danomatika.com 
> robotcowboy.com 
> 
> 
> 


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


Re: [PD] Creating a GUI object on Pd 0.48.1 with keyboard shortcut create two objects on MacOSX

2018-03-22 Thread Nicolas Montgermont
tk is:
Tk 8.5.19
n
--

http://nimon.org

Le 22/03/2018 à 18:21, Dan Wilcox a écrit :
> Ok thanks for checking.
>
> At least we can confirm it's a system language issue, although I'm
> thinking it's more of a bug in Tk. Which version of TK does it display
> when you put the log to all?
>
> I'm wondering if it's also related to setting the available languages
> in the app bundle. I'll see if I can look into it as it's pretty
> annoying. I ran into the same problem with earlier buggy versions of
> Tk < 8.5.13.
>
>> On Mar 22, 2018, at 5:53 PM, pd-list-requ...@lists.iem.at
>>  wrote:
>>
>> From: Jack >
>> To: pd-list@lists.iem.at 
>> Subject: Re: [PD] Creating a GUI object on Pd 0.48.1 with keyboard
>> shortcut create two objects on MacOSX
>> Message-ID: <163110eb-5078-0c07-8594-da9e350e3...@rybn.org
>> >
>> Content-Type: text/plain; charset=utf-8
>>
>> Yep, I confirm.
>> I asked to a participant to launch Pd in english, but it doesn't solve
>> the problem.
>> ++
>>
>> Jack
>
> 
> Dan Wilcox
> @danomatika 
> danomatika.com 
> robotcowboy.com 
>
>
>

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


Re: [PD] Creating a GUI object on Pd 0.48.1 with keyboard shortcut create two objects on MacOSX

2018-03-22 Thread Jack
Yep, I confirm.
I asked to a participant to launch Pd in english, but it doesn't solve
the problem.
++

Jack



Le 22/03/2018 à 14:04, Nicolas Montgermont a écrit :
> Same problem here, that is not solved by switching to English.
> The interface is in English but the object are still created in double
> (with CMD+SHIFT+B for example)
> osx 10.9.5
> n
> 
> http://nimon.org
> 
> Le 22/03/2018 à 12:37, Dan Wilcox a écrit :
>> If you have a chance, can you also run Pd with the english translation
>> but keep a French system and keyboard? You can do this on the
>> commandline with:
>>
>> LANG=en.UTF8 open /Applications/Pd-0.48-1.app
>>
>> I'd be curious to know if it's related to Pd's language or to the
>> system, etc.
>>
>> At some point, I feel like I/we will need to actually fix the key
>> event issues in TK ourselves...
>>
>>> On Mar 22, 2018, at 12:25 PM, Jack >> > wrote:
>>>
>>> Hello Dan,
>>>
>>> Thank you for your reply.
>>> The workshop was with french people (with french keyboard), and Pd
>>> interface was in french too.
>>> If switching to english solves the problem, i will ask to particpants to
>>> test this.
>>> ++
>>>
>>> Jack
>>>
>>>
>>>
>>> Le 22/03/2018 à 12:14, Dan Wilcox a écrit :
 Are you using an English keyboard and/or English local aka Pd is in
 English? There seems to be  weird bug that causes this on *some* systems
 and switching Pd to english fixes it. I'm not sure what's going on, but
 it's related to the TK 8.5 cocoa bindings backend which is also causing
 the issues [key].

> On Mar 22, 2018, at 11:34 AM, pd-list-requ...@lists.iem.at
> 
>  wrote:
>
> Date: Thu, 22 Mar 2018 11:18:34 +0100
> From: Jack 
> >
> To: pd-list@lists.iem.at 
> 
> Subject: [PD] Creating a GUI object on Pd 0.48.1 with keyboard
> shortcut create two objects on MacOSX
> Message-ID: <1fd3cfb5-f043-f751-4c0d-5cb3542c2...@rybn.org
> 
> >
> Content-Type: text/plain; charset=windows-1252
>
> Hello,
>
> Everything is in the title (Pd 0.48.1, MacOSX) : during a workshop some
> people with this configuration trying to create a GUI object with
> keyboard shortcut, create two times this object. (I don't know exactly
> the version of MacOSX).
> Is it a known bug ?
> ++
>
> Jack

 
 Dan Wilcox
 @danomatika 
 danomatika.com  
 robotcowboy.com  



>>>
>>
>> 
>> Dan Wilcox
>> @danomatika 
>> danomatika.com 
>> robotcowboy.com 
>>
>>
>>
>>
>>
>> ___
>> 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
> 


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


Re: [PD] Creating a GUI object on Pd 0.48.1 with keyboard shortcut create two objects on MacOSX

2018-03-22 Thread Dan Wilcox
If you have a chance, can you also run Pd with the english translation but keep 
a French system and keyboard? You can do this on the commandline with:

LANG=en.UTF8 open /Applications/Pd-0.48-1.app

I'd be curious to know if it's related to Pd's language or to the system, etc.

At some point, I feel like I/we will need to actually fix the key event issues 
in TK ourselves...

> On Mar 22, 2018, at 12:25 PM, Jack  wrote:
> 
> Hello Dan,
> 
> Thank you for your reply.
> The workshop was with french people (with french keyboard), and Pd
> interface was in french too.
> If switching to english solves the problem, i will ask to particpants to
> test this.
> ++
> 
> Jack
> 
> 
> 
> Le 22/03/2018 à 12:14, Dan Wilcox a écrit :
>> Are you using an English keyboard and/or English local aka Pd is in
>> English? There seems to be  weird bug that causes this on *some* systems
>> and switching Pd to english fixes it. I'm not sure what's going on, but
>> it's related to the TK 8.5 cocoa bindings backend which is also causing
>> the issues [key].
>> 
>>> On Mar 22, 2018, at 11:34 AM, pd-list-requ...@lists.iem.at
>>>  wrote:
>>> 
>>> Date: Thu, 22 Mar 2018 11:18:34 +0100
>>> From: Jack >
>>> To: pd-list@lists.iem.at 
>>> Subject: [PD] Creating a GUI object on Pd 0.48.1 with keyboard
>>> shortcut create two objects on MacOSX
>>> Message-ID: <1fd3cfb5-f043-f751-4c0d-5cb3542c2...@rybn.org
>>> >
>>> Content-Type: text/plain; charset=windows-1252
>>> 
>>> Hello,
>>> 
>>> Everything is in the title (Pd 0.48.1, MacOSX) : during a workshop some
>>> people with this configuration trying to create a GUI object with
>>> keyboard shortcut, create two times this object. (I don't know exactly
>>> the version of MacOSX).
>>> Is it a known bug ?
>>> ++
>>> 
>>> Jack
>> 
>> 
>> Dan Wilcox
>> @danomatika 
>> danomatika.com 
>> robotcowboy.com 
>> 
>> 
>> 
> 


Dan Wilcox
@danomatika 
danomatika.com 
robotcowboy.com 



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


Re: [PD] Creating a GUI object on Pd 0.48.1 with keyboard shortcut create two objects on MacOSX

2018-03-22 Thread Jack
Hello Dan,

Thank you for your reply.
The workshop was with french people (with french keyboard), and Pd
interface was in french too.
If switching to english solves the problem, i will ask to particpants to
test this.
++

Jack



Le 22/03/2018 à 12:14, Dan Wilcox a écrit :
> Are you using an English keyboard and/or English local aka Pd is in
> English? There seems to be  weird bug that causes this on *some* systems
> and switching Pd to english fixes it. I'm not sure what's going on, but
> it's related to the TK 8.5 cocoa bindings backend which is also causing
> the issues [key].
> 
>> On Mar 22, 2018, at 11:34 AM, pd-list-requ...@lists.iem.at
>>  wrote:
>>
>> Date: Thu, 22 Mar 2018 11:18:34 +0100
>> From: Jack >
>> To: pd-list@lists.iem.at 
>> Subject: [PD] Creating a GUI object on Pd 0.48.1 with keyboard
>> shortcut create two objects on MacOSX
>> Message-ID: <1fd3cfb5-f043-f751-4c0d-5cb3542c2...@rybn.org
>> >
>> Content-Type: text/plain; charset=windows-1252
>>
>> Hello,
>>
>> Everything is in the title (Pd 0.48.1, MacOSX) : during a workshop some
>> people with this configuration trying to create a GUI object with
>> keyboard shortcut, create two times this object. (I don't know exactly
>> the version of MacOSX).
>> Is it a known bug ?
>> ++
>>
>> Jack
> 
> 
> Dan Wilcox
> @danomatika 
> danomatika.com 
> robotcowboy.com 
> 
> 
> 


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


Re: [PD] Creating a GUI object on Pd 0.48.1 with keyboard shortcut create two objects on MacOSX

2018-03-22 Thread Dan Wilcox
Are you using an English keyboard and/or English local aka Pd is in English? 
There seems to be  weird bug that causes this on *some* systems and switching 
Pd to english fixes it. I'm not sure what's going on, but it's related to the 
TK 8.5 cocoa bindings backend which is also causing the issues [key].

> On Mar 22, 2018, at 11:34 AM, pd-list-requ...@lists.iem.at wrote:
> 
> Date: Thu, 22 Mar 2018 11:18:34 +0100
> From: Jack >
> To: pd-list@lists.iem.at 
> Subject: [PD] Creating a GUI object on Pd 0.48.1 with keyboard
>   shortcut create two objects on MacOSX
> Message-ID: <1fd3cfb5-f043-f751-4c0d-5cb3542c2...@rybn.org 
> >
> Content-Type: text/plain; charset=windows-1252
> 
> Hello,
> 
> Everything is in the title (Pd 0.48.1, MacOSX) : during a workshop some
> people with this configuration trying to create a GUI object with
> keyboard shortcut, create two times this object. (I don't know exactly
> the version of MacOSX).
> Is it a known bug ?
> ++
> 
> Jack


Dan Wilcox
@danomatika 
danomatika.com 
robotcowboy.com 



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