Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move slow code to async QThread workers (WIP) #1964

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

m3nu
Copy link
Contributor

@m3nu m3nu commented Mar 12, 2024

Moves populating the Wifi table and Archive table to async workers following the pattern of our existing worker to calculate folder sizes.

Open issues:

  • good idea to change the UI from another thread? Better use Signal?
  • Getting a timer warning from the Archive worker

Fixes #1962

@m3nu
Copy link
Contributor Author

m3nu commented Mar 16, 2024

Another update that moves all GUI updates back to the main thread, as is good practice. Speed is still fast. No visible delay when changing profiles.

Screen.Recording.2024-03-16.at.18.00.19-web.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switching between profiles takes very long
1 participant