Notepad2e
Notepad2e copied to clipboard
Favorites focus
I have previously mentioned this: when bringing up Favorites (Alt+I) and quickly pressing a key to select an item in the list, OK button sometimes remains disabled as if no item was selected. You said it wasn't easy to fix because it likely is a Windows/control issue, not Notepad's. But there must be some easy workaround.
As far as I understand, there is a time gap between dialog appearing on screen and its list receiving keystroke events. I mean, first the dialog is constructed and displayed, and then later a handler for the list events is registered which handles enabling/disabling of the OK button (which is initially disabled).
If it's the case, why the handler is created so late? Why this noticeable delay?
In any case, it must be possible to simply detect current (selected) list item after adding the handler and manually enabling OK if it's non-empty, right?
Unfortunately, I was unable to reproduce the issue. Please provide the video to address your exact case.
This was actually fixed a long ago. Please find the issue or commit where this was made and post here, for historical records.
Addressed in #240, https://github.com/ProgerXP/Notepad2e/commit/2230b20a3b2c02efac611744a2dd787b212365f1.