In SU2017 I noticed a slightly delay in the rendering of the new html-dialog. I made a small video showing the difference between v16 and v17. Incidentally its even more slow - taking a second or more.
The tool is a html-dialog version of ThomThom’s namegroup. The tool’s focus at start is on
the textbar so you can start typing directly after using the shortcut key - but not anymore in v17…
edit: I hope its my crappy code and not the nature of html dialogs. That would be too bad. Up til now, I would press the shortcut and already started typing a name while looking at the keyboard or something else. In v17, I press the shortcut and have to look at the screen before I can start typing. Seems a small difference but it’s a bit annoying and would be nice if it could be solved. An alternative would be to use the Inputbox again and change the order of the dropdown and textbox so the cursor is active when starting the tool.
I don’t use jQuery. I stripped the code from some excess stuff.
Here’s the zip. Extract in Extension folder. Load by: load 'mb_namegroup17/mb_namegroup17.rb'
I just added the autofocus and it seems to catch (almost) all my keyboard input. I will test it extensively tomorrow while working but John… I think you nailed it. Thanks a lot!!
Edit: also copied your path addition to make it work cross platform. You never know…