Description
Since alpha 97, I am observing a complete freeze of the UI (and only the UI, the backend is entirely fine and doesn't even notice something has happened to Webkit) while the inspector is open. Once this happens, the OS asks you to kill the application, nothing gets it to unfreeze.
This is likely Linux-specific.
To Reproduce
- Create an application with
wails3 init -n freezetest.
- Add
OpenInspectorOnStartup: true, into the app.Window.NewWithOptions(application.WebviewWindowOptions{ struct, so that the application starts with the inspector already open.
- Start the application with
wails3 dev.
- Tab away from the application for a few minutes.
Upon return, you will find the Webkit process frozen and unresponsive, with no log output.
Expected behaviour
Nothing should ever freeze. :)
Screenshots
No response
Attempted Fixes
No response
System Details
Wails (v3.0.0-alpha.97) Wails Doctor
# System
┌───────────────────────────────────────────────────────────────────────────────────────────────────────┐
| Name | Ubuntu |
| Version | 24.04 |
| ID | ubuntu |
| Branding | 24.04.4 LTS (Noble Numbat) |
| Platform | linux |
| Architecture | amd64 |
| Desktop Environment | ubuntu:GNOME |
| NVIDIA Driver | 595.80 (48FAD93C7D60A87FEA75CAB) |
| XDG_SESSION_TYPE | wayland |
| CPU | AMD Ryzen 9 7940HS w/ Radeon 780M Graphics |
| GPU 1 | AD106M [GeForce RTX 4070 Max-Q / Mobile] (NVIDIA Corporation) - Driver: nvidia |
| GPU 2 | Phoenix1 (Advanced Micro Devices, Inc. [AMD/ATI]) - Driver: amdgpu |
| Memory | 31GB |
└───────────────────────────────────────────────────────────────────────────────────────────────────────┘
# Build Environment
┌──────────────────────────────────────────────────────────────────────┐
| Wails CLI | v3.0.0-alpha.97 |
| Go Version | go1.26.3 |
| -buildmode | exe |
| -compiler | gc |
| CGO_CFLAGS | |
| CGO_CPPFLAGS | |
| CGO_CXXFLAGS | |
| CGO_ENABLED | 1 |
| CGO_LDFLAGS | |
| DefaultGODEBUG | cryptocustomrand=1,tlssecpmlkem=0,urlstrictcolons=0 |
| GOAMD64 | v1 |
| GOARCH | amd64 |
| GOOS | linux |
└──────────────────────────────────────────────────────────────────────┘
# Dependencies
┌───────────────────────────────────────────────────────────────────────┐
| gcc | 12.10ubuntu1 |
| gtk3 (legacy) | 3.24.41-4ubuntu1.3 |
| gtk4 | 4.14.5+ds-0ubuntu0.10 |
| npm | 10.9.7 |
| pkg-config | 1.8.1-2build1 |
| webkit2gtk (legacy) | 2.52.3-0ubuntu0.24.04.1 |
| webkitgtk-6.0 | 2.52.3-0ubuntu0.24.04.1 |
| docker | *podman version 4.9.3 (cross-compilation ready) |
| |
└─────────────────────── * - Optional Dependency ───────────────────────┘
# Checking for issues
SUCCESS No issues found
# Diagnosis
SUCCESS Your system is ready for Wails development!
Need documentation? Run: wails3 docs
♥ If Wails is useful to you or your company, please consider sponsoring the project: wails3 sponsor
Additional context
No response
Description
Since alpha 97, I am observing a complete freeze of the UI (and only the UI, the backend is entirely fine and doesn't even notice something has happened to Webkit) while the inspector is open. Once this happens, the OS asks you to kill the application, nothing gets it to unfreeze.
This is likely Linux-specific.
To Reproduce
wails3 init -n freezetest.OpenInspectorOnStartup: true,into theapp.Window.NewWithOptions(application.WebviewWindowOptions{struct, so that the application starts with the inspector already open.wails3 dev.Upon return, you will find the Webkit process frozen and unresponsive, with no log output.
Expected behaviour
Nothing should ever freeze. :)
Screenshots
No response
Attempted Fixes
No response
System Details
Additional context
No response