1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
JUCE/modules/juce_gui_extra
attila 7449867337 MacOS: Fix WebBrowserComponent going blank in FL Studio
The issue could be triggered by opening the plugin in FL Studio, and
then using the TAB button to switch between FL Studio UI elements, until
the plugin became invisible and then it became visible again. This would
cause the WebBrowserComponent to navigate to about:blank permanently.

This was caused by the component becoming invisible and visible again in
rapid succession. This triggered a navigation to about:blank. To
understand the root cause of this, some undocumented behaviour of
WkWebView had to be uncovered. To understand this, see the following
test code, where the test1, test2 and test3 functions are called with
ample time in between one after the other.

void test1()
{
    goToURL ("A");
}

void test2()
{
    goToURL ("B");
    goToURL ("C");

    // B, C ignored completely, only D inserted into back-forward navigation queue
    goToURL ("D");
}

void test3()
{
    goToURL ("E");
    goToURL ("F");

    // E, F ignored completely, back navigation executed from D to A
    goBack();
}
2025-10-09 17:52:29 +02:00
..
code_editor PopupMenu: Add missing target components for menus created by built-in widgets 2025-06-03 16:08:56 +01:00
detail WebBrowserComponent: Improve native integrations 2024-04-16 17:43:21 +01:00
documents Update licensing information 2024-04-16 11:39:35 +01:00
embedding Linux: XEmbedComponent: Improve focus transfer handling 2024-04-16 17:43:21 +01:00
misc Docs: Replace doxygen preprocessor conditionals with @cond and @endconds 2025-07-21 18:11:43 +02:00
native MacOS: Fix WebBrowserComponent going blank in FL Studio 2025-10-09 17:52:29 +02:00
juce_gui_extra.cpp Fix BSD build 2024-08-19 13:49:41 +02:00
juce_gui_extra.h Bump version number to 8.0.10 2025-09-15 09:30:11 +01:00
juce_gui_extra.mm Update licensing information 2024-04-16 11:39:35 +01:00