[v3/Linux] Systray shutdown logs spurious 'Window not found' warning
Wails version family
v3
Operating System
Linux (originally observed with the GTK4 backend)
Description
Quitting a systray application logs WRN Window #1 not found. The warning appears during cleanup when code attempts to access a window that has already been destroyed.
This was migrated from the repository's retired local beads tracker (wails-webview2gtk6-95s). It was recorded on 6 January 2026 and had not been linked to a GitHub issue. It still needs reproduction on current master / the current v3 prerelease.
To reproduce
- Run a v3 systray example or the manual systray test suite.
- Quit the application from the tray menu.
- Observe the shutdown log.
Expected behaviour
The application shuts down cleanly without a spurious window-not-found warning.
Actual behaviour
The shutdown log contains WRN Window #1 not found.
Triage notes
- Confirm whether this is GTK4-specific or common to other platforms/backends.
- If reproducible, add a shutdown regression test where practical.
- If no longer reproducible, close with the version/commit used for verification.
Hi there! Thanks for the report. I've queued this for a reproduction check on Wails v3. We'll keep this open while we investigate.