[Extension] Dialog Cascader for Ruby extension dialogs

The release notes bullet item(s) were rather vague. Some of the dialog positioning fixes I think were treated as development regressions so are not listed in the public release notes. The item stated:

  • Fixed an issue where UI::HtmlDialog can be set off screen and disappear.

What I myself noticed was that the native dialog windows (incl. web-based) seemed to move back onscreen quite well.

I said this in the question thread you started. In that thread, Josh admitted vaguely “work was done in that area”.

But then, what about UI::WebDialog windows? Dynamic Components and its Generate Report still use these class window interfaces. Also many commonly used extensions still have not migrated to the newer UI::HtmlDialog class windows.


Anyway, it was the complaints by @medeek and yourself that prompted me to cobble up this extension, especially for older SketchUp versions that would not be receiving any native fixes.

I myself also needed it, as in testing I’ve had to switch the main (primary) display back and forth several times. (This confuses SketchUp especially when the dialog window position coordinates are negative values.)


I also tested it on SU2017 which used to keep window metric settings in the Windows registry. It is not possible to store a negative DWORD value in the registry. So, I set the positions to enormous values way outside the virtual desktop bounds. SU2017 natively moved the dialog windows back onto the screen, but strangely did not seem to update the registry with the new values.

The takeaway could be that SU2017 on MS Windows and earlier may not have the disappearing window problems that necessitate this extension. (shrug)