WebView fix
I have a couple gists with scripts that have worked for me to have the WebView render something, without flickering; it revolves around setting some registry entries after installing both the WebView and FL Studio (in that order).
This one should be run after installing the Evergreen Standalone Installer from here, it's tested with 140.0.3482.81. It changes a couple registry entries to:
- Inform FL Studio of where the WebView we installed above is located;
- Force the WebView to run in single-context rendering (fixes some really annoying flicker that happens without this)
I also have this other script which, assuming both scripts are located in the same folder as the installers for the WebView and FL Studio (and the names match), just installs and fixes it all in one go.
Optionally, maybe unrelated but I did have some issues with the browser not being opened on clicking stuff, so I have this other script that also fixes it (though it does not change focus to the browser, so I have to manually alt-tab; may be related to https://github.com/Torbuntu/fl-studio-linux-setup/issues/1 ?
Just dumping this all here because this repo is what comes first in search results and I'd like the community to know that WebViews do seem to work, with some nudging 👀
Thanks for sharing here! Definitely will be helpful for folks if this repository is a popular search result.
Have you happened to try them against FL installed in a bottle?
I haven't tried it no, but it should work if you point the scripts to the bottle's Wine executable and prefix (I intentionally made those configurable into variables).
Very cool! I will have to give this a go in a test bottle as soon as I have some extra time.
Would you by chance be willing to make a PR to add a sub-heading on the primary readme pointing to these resources and a short blurb on how to use them in the context of a bottle? If not I will do my best after testing thoroughly and make sure these links are easily found and linked against as well myself if that's alright?
Hello! I tested this script within a bottle using the same prefix that was used in the guide. I'll share the minor adjustments I made to the script, and the log output:
WINEPREFIX will be the location of the bottle. Simply click the ellipses button in the top right of Bottles, hit Browse Files, and go up one level (since the script navigates to /drive_c/ later on)
WINEBIN is the runner. It's location is probably ~/.var/app/com.usebottles.bottles/data/bottles/runners/kron4ek-wine-10.1-staging-amd64/bin/wine but replace the "kron4ek-wine-10.1-staging-amd64" with whatever runner you actually chose.
Line 49: "$WINEBIN" wineserver -k || true I think should be changed to WINEPREFIX="$WINEPREFIX" "$(dirname "$WINEBIN")/wineserver" -k || true for the case that we're in a Bottle.
Here's the log output:
Setting up WebView2 environment for FL Studio...
Wine prefix: /home/*******/.var/app/com.usebottles.bottles/data/bottles/bottles/FL-Studio/
Finding WebView2 runtime versions...
Found WebView2 runtime: C:\\Program Files (x86)\\Microsoft\\EdgeWebView\\Application\\141.0.3537.99
Setting WebView2 policy for FL64.exe...
002c:fixme:winediag:loader_init wine-staging 10.1 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
[2025-10-29 19:25:27.793] [MANGOHUD] [info] [blacklist.cpp:75] process 'explorer.exe' is blacklisted in MangoHud
WARNING: radv is not a conformant Vulkan implementation, testing use only.
00bc:fixme:wineusb:query_id Unhandled ID query type 0x5.
Configuring single-context rendering to prevent flickering...
WebView2 environment setup complete!
Current configuration:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\WebView2\BrowserExecutableFolder
FL64.exe REG_SZ C:\\Program Files (x86)\\Microsoft\\EdgeWebView\\Application\\141.0.3537.99
HKEY_CURRENT_USER\Environment
WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS REG_SZ --single-process --disable-gpu-sandbox --disable-software-rasterizer
I am still getting a solid blue FL Cloud window when using this runner. I've played around with a few different ones within the same bottle, and rerunning the webview2 installer and the script every time I switch runners.
So far I'm getting best results with ge-proton-24. Currently, these are functional, but every time you mouse over items in the menus there is some blue flickering. I got maybe a slight improvement starting fresh in a brand new bottle with the same runner? But maybe that's placebo.
Let me know if this is of any use or if there's other adjustments that could be made.
@Kaylebor do you think you could provide your webview2 folder? I've been testing different versions but do not have access to 140.0.3482.81. I can't seem to find it anywhere.
For visibility, the folks at Bottles have already created a system for registry rules! So that will hopefully mean setting the registry items once and not having to run it every time we bump the runner versions. Awesome!
https://github.com/bottlesdevs/Bottles/issues/4188
I was testing the latest version of bottles (60) today and it seems we might not need to do anything out of the box to get webview2 running anymore?
Without changes to anything I did these steps (twice, to confirm)
- Created a new bottle with the wine runner ge-proton10-25
- Installed FL Studio
- WebView2 components are rendering (they still flicker a bit but are still functional!)
Even on my older existing bottles WebView2 now suddenly works? I wonder if something in the update to bottles helped this suddenly work? I'm at a loss.
Here is the exported config of the new bottle itself:
Arch: win64
CompatData: ''
Creation_Date: '2025-11-22 09:53:29.413710'
Custom_Path: false
DLL_Overrides: {}
DXVK: dxvk-2.7.1-5-dcfb183
Environment: Application
Environment_Variables: {}
External_Programs: {}
Inherited_Environment_Variables:
- DBUS_SESSION_BUS_ADDRESS
- DISPLAY
- HOME
- LANG
- LC_ALL
- LC_CTYPE
- LC_MESSAGES
- PATH
- PULSE_SERVER
- TERM
- TZ
- USER
- WAYLAND_DISPLAY
- XAUTHORITY
- XDG_RUNTIME_DIR
Installed_Dependencies:
- arial32
- times32
- courie32
- mono
- gecko
Language: sys
LatencyFleX: latencyflex-v0.1.1-2-3bc9636
Limit_System_Environment: true
NVAPI: dxvk-nvapi-v0.5.4
Name: RegTest2
Parameters:
custom_dpi: 96
decorated: true
discrete_gpu: false
dxvk: true
dxvk_nvapi: false
fixme_logs: false
fsr: false
fsr_quality_mode: none
fsr_sharpening_strength: 2
fullscreen_capture: false
gamemode: false
gamescope: false
gamescope_borderless: false
gamescope_fps: 0
gamescope_fps_no_focus: 0
gamescope_fullscreen: true
gamescope_game_height: 0
gamescope_game_width: 0
gamescope_scaling: false
gamescope_window_height: 0
gamescope_window_width: 0
latencyflex: false
mangohud: false
mangohud_display_on_game_start: true
mouse_warp: true
obsvkc: false
pulseaudio_latency: false
renderer: gl
sandbox: false
sync: wine
take_focus: false
use_be_runtime: true
use_eac_runtime: true
use_runtime: false
use_steam_runtime: false
versioning_automatic: false
versioning_compression: false
versioning_exclusion_patterns: false
virtual_desktop: false
virtual_desktop_res: 1280x720
vkbasalt: false
vkd3d: true
vmtouch: false
vmtouch_cache_cwd: false
wayland: false
winebridge: false
Path: RegTest2
Registry_Rules: []
Runner: ge-proton10-25
RunnerPath: ''
Sandbox:
share_net: false
share_sound: false
State: 0
Uninstallers: {}
Update_Date: '2025-11-22 09:53:29.413718'
VKD3D: vkd3d-v2.4
Versioning: false
Versioning_Exclusion_Patterns: []
Windows: win10
Winebridge: false
WorkingDir: ''
data: {}
run_in_terminal: false
session_arguments: ''
Right! Took me a while but here's the full folder, minus FL Studio installer (but contains the actual WebView installer I used) https://mega.nz/folder/rIYF1BxB#pMBYmMngI-CBTGRrN1kITA
I'll note that my scripts also fixed the flicker @Torbuntu with a combination of registry changes to the Wine prefix to force FL Studio to use the WebView we install in a very specific way (quite vibe-coded I'll admit, but I did regenerate the prefix from scratch multiple times while writing it)
@Kaylebor Thank you for sharing your install! I ended up finding a decent archive of other versions and while it didn't include that specific version, i was able to test several others. I'll give this one a try tonight in case it's got something magical going on, but based on my other testing it seems that the specific version doesn't matter too much as long as it's not older than 139. Anything older than that pretty consistently gave me a blank window on webview2 elements.
As of wine 11.0 I see the kron4ek runners have functioning webview2 support now. For me even with very limited flickering, if any.
Could folks here confirm with their setups that it is "resolved" enough to be usable for most out of the box? We can close this chapter if that is the case.
I'd wait a bit, I tried on CachyOS the official wine executable on a fresh install and the sample "what's new" project heavily uses WebViews which still don't work...
sample "what's new" project heavily uses WebViews
Could you elaborate on this?
sample "what's new" project heavily uses WebViews
Could you elaborate on this?
The whatsnew.flp has a Fruity HTML Notebook instance that loads a webpage with a lot of elements and some animations. I think it's a really good test to see how well webview2 support works. Currently it really struggles or completely fails to load that page.
I don't seem to have that flp anywhere. Is the NewStuff.flp similar enough? Looks like that one is pointing to a dead link.
Oops yeah that's the right one, I forgot the filename.
Oops yeah that's the right one, I forgot the filename.
No worries! The viewer seems to function here (the link is just broken, even in my regular browser). That doesn't have any result on the project functionality itself though. Just displays information in the browser.
When I open it on a completely fresh install, it behaves as before for me: some WebViews show white pages, some show black pages. None show a "not found" error (that happened once though, on my preexisting install, after upgrading wine). I am on Wine 11.1 via CachyOS's variant (cachyos-extra-v3/wine); just in case I also switched to the Arch-official extra/wine package, but no dice.
I believe it's not a critical feature, as most features don't need them yes, but if you happen to use FL Studio's Cloud subscription there are a few plugins which do use a WebView2 window to render the tool itself... And this may become the norm, maybe
I was able to get LABS to load after first switching the runner to kron4ek-wine-11.0-amd64 and installing webview from the same link at the beginning of this issue
For some reason changing the runner made fl studio do a reset of some registry values (regkey included), but webview works now :D
After reading @shomykohai's comment, I created a new bottle with kron4ek-wine-11.2-amd64.
I installed webview2 via Bottle's dependency installer rather than the evergreen installer exe.
Aside from some cursor issues (showing the resize cursor instead of the normal pointer if I approach FL Cloud or Gopher from the side) I would say that this is 100% functional and acceptable for the majority of users.
No flickering or flashing, no need to install external software or do any other configuration.
EndeavourOS, KDE 6.5.5
Relevant excerpts from the config yml:
Arch: win64
...
DXVK: dxvk-2.7.1-10-8005016
...
Inherited_Environment_Variables:
- DBUS_SESSION_BUS_ADDRESS
- DISPLAY
- HOME
- LANG
- LC_ALL
- LC_CTYPE
- LC_MESSAGES
- PATH
- PULSE_SERVER
- TERM
- TZ
- USER
- WAYLAND_DISPLAY
- XAUTHORITY
- XDG_RUNTIME_DIR
Installed_Dependencies:
- arial32
- times32
- courie32
- mono
- gecko
- andale32
- arialb32
- comic32
- georgi32
- impact32
- tahoma32
- trebuc32
- verdan32
- webdin32
- allfonts
- webview2
Language: sys
LatencyFleX: latencyflex-v0.1.1-2-3bc9636
Limit_System_Environment: true
NVAPI: dxvk-nvapi-v0.9.1
...
Runner: kron4ek-wine-11.2-amd64
...
VKD3D: vkd3d-proton-3.0