Hot Door CORE Forum
webView interferes with Windows preferences - Printable Version

+- Hot Door CORE Forum (http://hotdoorcore.com/forum)
+-- Forum: All forums (http://hotdoorcore.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bugs (http://hotdoorcore.com/forum/forumdisplay.php?fid=5)
+--- Thread: webView interferes with Windows preferences (/showthread.php?tid=369)



webView interferes with Windows preferences - Rick Johnson - 12-03-2023

In CORE 0.8.2, the existence of a webView widget in a panel blocks Illustrator 28.1 (both Mac and Windows) from remembering recent documents and the current workspace. (AI 28.0 is fine)

To demonstrate, add the following to the panel sample:


Code:
#include "hdicoreWebView.h"

hdi::core::WebView webView(hdi::core::Rect(0,0,20,20));
this->__docPanel.addWidget(webView);

Now edit and save a file, then change the workspace. Quit and restart. Illustrator will not include the edited file(s) in File -> Open Recent Documents and the workspace will remain as you last started AI, not as you left it.

Of course, the webView must be declared as a member of the class so it can be accessed later to change the URL, etc. (is that right?)