Open fogine opened 9 months ago
Also seeing this issue. I'd made a stackoverflow question for it here - https://stackoverflow.com/questions/77063579/tauri-appwindow-not-listening-to-webview-emit-event
Thanks!
I have also encountered this problem now. Now the backend emits a specific window, but the frontend listens directly instead of appWindow.listen(). Only in this way does it work.
Describe the bug
I have an issue receiving events emitted to a specific window. From the main window I'm creating a new window and sending
sync-data
event to it:and in the
test
window, I'm listening tosync-data
event:However the listener in the test window is never triggered unless I listen for events globally via
Reproduction
No response
Expected behavior
I'd expect a new webview window to receive
sync-data
event and trigger registered listener.Platform and versions
Stack trace
No response
Additional context
No response