-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Do not monitor remote/network directories by default in browser, allow users to opt-in to this #43416
Conversation
items should be automatically monitored for changes This monitoring can be expensive for some locations (eg network folders or cloud based directories), so in these cases it is desirable to allow it to be disabled to avoid hangs in the QGIS application.
to allow users to explicit control whether a directory is automatically monitored for changes.
are slow Effectively this means that the browser no longer defaults to watching network and remote drives (on Windows) for changes. This is expensive to do and can result in large hangs in the QGIS application. Users can still manually opt-in to monitoring of these locations through the context menu of the directory in the browser panel.
@nyalldawson A documentation ticket will be opened at https://github.com/qgis/QGIS-Documentation when this PR is merged. Please update the description (not the comments) with helpful description and screenshot to help the work from documentors. Thank you! |
Any takers for a review here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's great stuff, glad this is being addressed. I'm no windows users, but I recon this'll make quite a few people very happy.
@nyalldawson |
This PR changes the logic used to determine whether a directory item in the browser panel will be automatically monitored for changes. This automatic monitoring is expensive to do in some circumstances (e.g. for network drives or cloud based drives), and has been a cause of long reported hangs in the QGIS interface.
Now:
Together these changes should help improve QGIS responsiveness when used in remote/work-from-home environments.