Hi list,
I can't seem to get my head around different behavior of the [key] and [keyup] objects on different OSes and even within the same OS. I discovered that for depressed keys after an initial delay -Pd on Debian will report repeated key ups and downs, -Pd on Windows does not, -Pd on OS X may or may not. Could a few of us test this quickly and report their findings here maybe?
Thanks! Peter
Pd 0.52-2 pressing and holding a key:
Windows11 (Tk 8.6.10 amd64)
key: 106 key: 106 key: 106 key: 106 key: 106 key: 106 key: 106 key: 106 key: 106 key: 106 keyup: 106
Debian11 (Tk 8.6.11 amd64)
key: 106 keyup: 106 key: 106 keyup: 106 key: 106 keyup: 106 key: 106 keyup: 106 key: 106 keyup: 106
--
Mensaje telepatico asistido por maquinas.
On 29/04/2022 02:38, Peter P. wrote:
Hi list,
I can't seem to get my head around different behavior of the [key] and [keyup] objects on different OSes and even within the same OS. I discovered that for depressed keys after an initial delay -Pd on Debian will report repeated key ups and downs, -Pd on Windows does not, -Pd on OS X may or may not. Could a few of us test this quickly and report their findings here maybe?
Thanks! Peter
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On MacOS the key repeat should be respecting the system preference now after switching to tcl/tk 8.6.12 (see discussion here: https://github.com/pure-data/pure-data/pull/1306)note that key ons are repeated without corresponding key offs, until the key is released (if key repeats are enabled in the system preferences)
-seb
-----Original Message----- From: Peter P. peterparker@fastmail.com To: pd-list pd-list@lists.iem.at Sent: Thu, Apr 28, 2022 10:38 pm Subject: [PD] [key], [keyup] and operating system key reapat
Hi list,
I can't seem to get my head around different behavior of the [key] and [keyup] objects on different OSes and even within the same OS. I discovered that for depressed keys after an initial delay -Pd on Debian will report repeated key ups and downs, -Pd on Windows does not, -Pd on OS X may or may not. Could a few of us test this quickly and report their findings here maybe?
Thanks! Peter
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Thanks Lucas, thanks Sebastian,
so the OS X behavior can be made the same as the windows one once the system preferences are set correctly... It seems there is no way of getting consistent behavior on all three OSes by default: On Windows I have to filter repeated key-ons. On OS X I have to change the global repeat preferences and filter out repeated key-ons. On Linux I have to disable key repeat via "xset r off" and am done.
It would be great it this could be unified further, the OS X bugfix is already a big step into the right direction. I suppose it would not be easy/impossible at all?
Shouldn't/couldn't the filtering of repeated note-ons be done within the objects on Win and OS X at least?
Thanks again, P
On MacOS the key repeat should be respecting the system preference now after switching to tcl/tk 8.6.12 (see discussion here:Â https://github.com/pure-data/pure-data/pull/1306)note that key ons are repeated without corresponding key offs, until the key is released (if key repeats are enabled in the system preferences)
-seb
-----Original Message----- From: Peter P. peterparker@fastmail.com To: pd-list pd-list@lists.iem.at Sent: Thu, Apr 28, 2022 10:38 pm Subject: [PD] [key], [keyup] and operating system key reapat
Hi list,
I can't seem to get my head around different behavior of the [key] and [keyup] objects on different OSes and even within the same OS. I discovered that for depressed keys after an initial delay -Pd on Debian will report repeated key ups and downs, -Pd on Windows does not, -Pd on OS X may or may not. Could a few of us test this quickly and report their findings here maybe?
Thanks! Peter
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
[...]
Shouldn't/couldn't the filtering of repeated note-ons be done within the objects on Win and OS X at least?
Oh, just saw this issue https://github.com/pure-data/pure-data/issues/945 and several related others. Seems complicated and a lot of work has gone into the current behavior already... I am wondering what the current status is, and if there is any future work planned?
Thanks to everyone working on it!!
P