12-03-2023, 07:12 AM
(This post was last modified: 12-16-2023, 06:57 AM by Rick Johnson.)
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:
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?)
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?)