wails icon indicating copy to clipboard operation
wails copied to clipboard

[v3/Linux] Systray shutdown logs spurious 'Window not found' warning

Open taliesin-ai opened this issue 4 months ago • 1 comments

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

  1. Run a v3 systray example or the manual systray test suite.
  2. Quit the application from the tray menu.
  3. 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.

taliesin-ai avatar Jul 29 '26 01:07 taliesin-ai

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.

taliesin-ai avatar Oct 15 '26 01:10 taliesin-ai