Hey developers, I’m having an odd issue… My plugin downloads SketchUp models fro the we using the “webdialog” feature in the API (yes I know it’s deprecated)
It’s been working fine for years and all of the sudden it won’t work on MacOs Catalina. When users try to access content the page reloads over and over again.
To boil this down to the most basic problem I tested by running this sample code in the Ruby console on Catalina and SketchUp 2017-2019:
dlg = UI::WebDialog.new("Show sketchup.com", true, "ShowSketchupDotCom", 739, 641, 150, 150, true); dlg.set_url "http://www.sketchup.com" dlg.show
It does exactly what you’d expect, opens a webdialog with SketchUp.com
If I run this code:
dlg = UI::WebDialog.new("Show sketchup.com", true, "ShowSketchupDotCom", 739, 641, 150, 150, true); dlg.set_url "http://plugin.sketchthis.net" dlg.show
The page reloads over and over again… But again this only happens on MacOs catalina.
I’m at a loss as to how to figure out how to fix this… Does anyone have any suggestions?