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

Avoid freeze while running #25

Open
shyamamrith opened this issue Aug 23, 2023 · 0 comments
Open

Avoid freeze while running #25

shyamamrith opened this issue Aug 23, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@shyamamrith
Copy link
Collaborator

shyamamrith commented Aug 23, 2023

The entire QGIS session currently freezes while the simulations are running.

As an initial improvement, could design a pop-up which appears when the plugin is running to notify the user and instruct them to not click on anything. Also, another possible workaround is to call separate functions/scripts which could allow prints to work. Also try print flush.

This is likely to be a better solution: https://docs.qgis.org/3.28/en/docs/pyqgis_developer_cookbook/tasks.html
Progress bar: https://docs.qgis.org/3.28/en/docs/pyqgis_developer_cookbook/communicating.html#showing-progress

@shyamamrith shyamamrith self-assigned this Sep 1, 2023
@shyamamrith shyamamrith added the bug Something isn't working label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant