text processing keys in textboxes overriden by CKS

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

text processing keys in textboxes overriden by CKS

Post 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.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: text processing keys in textboxes overriden by CKS

Post by admin »

Cannot reproduce. It is exactly as you said: common editing keys trigger only their intended actions while editing text.

:?

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: text processing keys in textboxes overriden by CKS

Post 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. :veryconfused: Fluke of nature probably.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: [???]text processing keys in textboxes overriden by CKS

Post 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. :ugeek:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [???]text processing keys in textboxes overriden by CKS

Post by admin »

If you release the DEL key after the ENTER key, I'd say that's a user error. :)

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: [???]text processing keys in textboxes overriden by CKS

Post by bdeshi »

No, I do release the DELETE key before ENTER. Actually it appears ENTER itself applies on keydown.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [???]text processing keys in textboxes overriden by CKS

Post 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.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: [???]text processing keys in textboxes overriden by CKS

Post by bdeshi »

Yes you're correct. (But it feels so slow now! :kidding: )
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply