Description
When the user minimizes the application and then attempts to reopen it after approximately 10–15 seconds the application crashes.
To Reproduce
Launch the application.
Use the app normally.
Minimize or send the app to the background.
Wait approximately 10 - 15 seconds.
Reopen the application.
Expected behaviour
The application should resume normally without crashing
Screenshots
Here are two videos:
Alpha V100 - Where the old bug with the white background is still present but doesn't have the crash on resume
V100.mp4
Alpha v102 - Where the bug with the white background is not present, but the app crashes on resume
V102.mp4
Attempted Fixes
No response
System Details
# System
┌─────────────────────────────────────────────────────────────────────┐
| Name | Windows 10 Pro |
| Version | 2009 (Build: 26200) |
| ID | 25H2 |
| Branding | Windows 11 Pro |
| Platform | windows |
| Architecture | amd64 |
| Go WebView2Loader | true |
| WebView2 Version | 149.0.4022.69 |
| CPU | AMD Ryzen 7 5800H with Radeon Graphics |
| GPU | NVIDIA GeForce RTX 3060 Laptop GPU (NVIDIA) |
| Memory | 32GB |
└─────────────────────────────────────────────────────────────────────┘
# Build Environment
┌──────────────────────────────────────────────────────────────────────┐
| Wails CLI | v3.0.0-alpha.102 |
| Go Version | go1.26.1 |
| -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 | windows |
└──────────────────────────────────────────────────────────────────────┘
# Dependencies
┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| * Android NDK | Not found. Install with: sdkmanager ' ndk;26.3.11579264' |
| * Android SDK | C:\U sers\b are7\A ppData\L ocal\A ndroid\S dk |
| * Android platform-tools | Not found. Install with: sdkmanager ' platform-tools' |
| * Java (Android) | Not found. Install a JDK (e.g. brew install openjdk@21) or set JAVA_HOME. |
| MSIX Packaging Tool | Not Installed |
| MakeAppx.exe (Windows SDK) | Not Installed |
| NSIS | Not Installed |
| SignTool.exe (Windows SDK) | Not Installed |
| npm | 11.13.0 |
| docker | * Docker version 29.5.3, build d1c06ef (cross-compilation ready) |
| |
└─────────────────────────────────────── * - Optional Dependency ────────────────────────────────────────┘
# Signing
┌────────────────────────────────────────┐
| macOS Signing | Not configured |
| Windows Signing | Not configured |
| Linux Signing | Not configured (GPG) |
└────────────────────────────────────────┘
# Checking for issues
SUCCESS No issues found
# Diagnosis
SUCCESS Your system is ready for Wails development!
Additional context
I believe that the issue might have been introduced in this change: #5596
P.S. I believe this happens only on Windows, Mac doesn't have that problem
Description
When the user minimizes the application and then attempts to reopen it after approximately 10–15 seconds the application crashes.
To Reproduce
Expected behaviour
The application should resume normally without crashing
Screenshots
Here are two videos:
Alpha V100 - Where the old bug with the white background is still present but doesn't have the crash on resume
V100.mp4
Alpha v102 - Where the bug with the white background is not present, but the app crashes on resume
V102.mp4
Attempted Fixes
No response
System Details
Additional context
I believe that the issue might have been introduced in this change: #5596
P.S. I believe this happens only on Windows, Mac doesn't have that problem