Skip to content

UI freezes / main thread blocking on Windows 11 (Tauri / WebView2) #234

Description

@Geistkalt

Variant

worldmonitor.app (Full / Geopolitical)

Affected area

Desktop app (Tauri)

Bug description

Hi,

I’m experiencing consistent UI freezes on Windows 11 that appear to be related to main thread blocking in the Tauri/WebView layer.

Environment:

OS: Windows 11 (latest updates)

Hardware: High-end system (no resource bottlenecks observed)

CPU: AMD Ryzen 9 7900X

GPU: AMD RX 7900 XTX

WebView2: Installed and up to date

App version: v2.5.x (latest release)

Observed behavior:

App launches and initial UI renders correctly

Within seconds, window becomes unresponsive ("Not Responding")

UI input (clicks, interactions) completely stops working

Background activity continues (e.g. video streams eventually load/play)

CPU/GPU usage remains low during freeze

Repro steps:

Launch application

Wait for initial data/UI load

Interact with window (e.g. click or hover)

UI becomes unresponsive

Additional observations:

Occurs even with no internet connection (rules out network/data load)

Occurs on fresh install (cache cleared)

Not affected by VPN / network changes

Seems independent of enabled layers or feeds (freeze can occur immediately)

Hypothesis:

Likely main thread blocking or deadlock in WebView/Tauri layer

Possibly related to:

synchronous data fetching/rendering

WebGL/map rendering + media elements competing on UI thread

event loop starvation

Expected behavior:

UI should remain responsive during data loading/rendering

Heavy operations should be offloaded from main thread

Let me know if you need logs, I can provide them.

Thanks!

Steps to reproduce

  1. Launch the application

  2. Wait for the initial UI and map to render

  3. Do not interact for a few seconds (let data start loading)

  4. Move the mouse over the window or click anywhere in the app

  5. Within seconds, the application becomes unresponsive ("Not Responding")

Notes:

Happens consistently on every launch

Also occurs when starting the app without internet connection

No specific interaction required — even simple hover/click can trigger it

Expected behavior

Expected behavior:

The application should remain responsive at all times

UI interactions (clicks, mouse movement) should work without delay

Data loading (feeds, map layers, videos) should not block the UI thread

The window should not enter a "Not Responding" state during normal use

Background tasks (data fetching, rendering) should be handled asynchronously without freezing the interface

Screenshots / Console errors

No response

Browser & OS

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions