You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
It is interesting that your workaround works on macOS as the code items = response.items never gets executed on Linux. What should be used to update the UI from an asynchronous context is Idle which is based on GLib.idle_add. It seems to solve your problem with NSWindow on macOS as well.
It is interesting that your workaround works on macOS as the code items = response.items never gets executed on Linux. What should be used to update the UI from an asynchronous context is Idle which is based on GLib.idle_add. It seems to solve your problem with NSWindow on macOS as well.
From version 1.0.0 on (which is not yet released, it's being developed in #46), calling Idle explicitly won't be required. If the update system detects an update not being executed on the main thread, it will automatically wrap with Idle. You can still call it explicitly, but it might be more convenient to omit it for new code once you build on version 1.0.0.
Describe the bug
To Reproduce
Expected behavior
Update UI should be main thread :)
Additional context
The text was updated successfully, but these errors were encountered: