-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Attribute table loads features really slow when changing from "Show visible.." to "Show all" #35927
Comments
@tudorbarascu confirmed here too (same setup). Seems a regression to me, agree? |
That's for sure. Two weeks ago it wasn't like this for sure. I didn't had time to bisect it, will try to find. |
I bisected up till here but I got stuck as it cannot build anymore at this commit, will investigate later:
|
I've gone a commit up and realised git bisect is smarter than I thought. |
Thanks for pinging. That's not good. I'll have a look. |
@signedav thanks much appreciated. |
Hi @tudorbarascu I'll have a look on what makes it to take more time. But it would be helpful when I know if it's just stuck at your place because it took too long or if it really stuck for eternity (what means there's another problem). |
@signedav Sorry! I meant is loading really slow, few features per second... and if you have thousands of features, you wait a really really long time (minutes/hours) for the attribute table to load. Retested now and for a table with a little over 3000 features it takes approximately 30 seconds (but it's a local shapefile). If I load the full attribute table normally it's instant. So the difference in performance is |
Okay thanks. That's what I can reproduce. I'll have a look. |
Thank you! |
…ot instead of datachanged of model since this leaded to unneeded and long reloading after the main model is reloaded fixes qgis#35927
…rFeatures slot instead of datachanged of model since this leaded to unneeded and long reloading after the main model is reloaded fixes qgis#35927
Hi @tudorbarascu |
@signedav Onto it, will comment in the pull requests as soon as I've built and tested. Thank you! |
…rFeatures slot instead of datachanged of model since this leaded to unneeded and long reloading after the main model is reloaded fixes qgis#35927
Describe the bug
Changing the attribute table from
Show Features Visible On Map
toShow All Features
is taking forever (approximately 40 features per second) for any layers (tested with Postgres and Shapefiles). If I open the attribute table directly to eitherShow All Features
orShow Features Visible On Map
it works instant. Only when switching from Visible to All the bug occurs.How to Reproduce
Show Features Visible On Map
then toShow All Features
QGIS and OS versions
Tested on 3.10.5 on Ubuntu Focal and Debian Bullseye but also with Master built from source on Debian Bullseye.
and
Additional context
The text was updated successfully, but these errors were encountered: