Hot Door CORE Forum

Full Version: webView interferes with Windows preferences
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?)