Page 1 of 1
text processing keys in textboxes overriden by CKS
Posted: 18 Aug 2016 06:09
by bdeshi
I have a UDC bound to the DELETE key, with onkeyup checked. Renaming a file and pressing DELETE triggers that UDC, (but only after hitting ENTER to apply the rename).
Regardless of custom hotkey settings, I think one would expect common editing keys to trigger only their intended actions while editing text.
Re: text processing keys in textboxes overriden by CKS
Posted: 18 Aug 2016 09:29
by admin
Cannot reproduce. It is exactly as you said: common editing keys trigger only their intended actions while editing text.

Re: text processing keys in textboxes overriden by CKS
Posted: 18 Aug 2016 10:34
by bdeshi
I'm lost. I didn't see this before yesterday either. Suddenly this started happening (yes, even in fresh), but it's gone today. Everything's normal.

Fluke of nature probably.
Re: [???]text processing keys in textboxes overriden by CKS
Posted: 19 Aug 2016 18:11
by bdeshi
It happens when I'm too fast at applying the rename with ENTER, right after DELETE. As the UDC has "onkeyup" activated, my guess is the keyup event wins a race against ENTER's onkeyup. Which seems obvious now, but it shouldn't affect anything outside the text operation.
Anyway, it's not a big problem, I just hit Enter a few msecs later.

Re: [???]text processing keys in textboxes overriden by CKS
Posted: 19 Aug 2016 18:14
by admin
If you release the DEL key after the ENTER key, I'd say that's a user error.

Re: [???]text processing keys in textboxes overriden by CKS
Posted: 20 Aug 2016 06:42
by bdeshi
No, I do release the DELETE key before ENTER. Actually it appears ENTER itself applies on keydown.
Re: [???]text processing keys in textboxes overriden by CKS
Posted: 20 Aug 2016 09:41
by admin
Yes, ENTER applies on keydown. That's standard.
I suspect you do: DEL-down <applies delete>, ENTER-down <applies rename>, DEL-up <triggers UDC>, ENTER-up.
You should do: DEL-down <applies delete>, DEL-up, ENTER-down <applies rename>, ENTER-up.
Re: [???]text processing keys in textboxes overriden by CKS
Posted: 20 Aug 2016 11:01
by bdeshi
Yes you're correct. (But it feels so slow now!

)